Joop - 2012-10-19

Installed it on an OS/2-eComStation system with Java;
# JRE version: 6.0-b22
# Java VM: OpenJDK Client VM (19.0-b09 mixed mode os2-x86 )

I got this in my bugtracker;

log4j:ERROR Failed to flush writer,
java.io.IOException: Write error
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:297)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:294)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
at org.apache.log4j.helpers.QuietWriter.flush(QuietWriter.java:57)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:315)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
at org.apache.log4j.Category.callAppenders(Category.java:203)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.log(Category.java:853)
at org.apache.commons.logging.impl.Log4JLogger.info(Log4JLogger.java:133)
at org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:378)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:321)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:66)
at com.mindcognition.mindraider.commons.spring.MindRaiderSpringContext.<clinit>(MindRaiderSpringContext.java:31)
at com.emental.mindraider.ui.outline.OutlineJPanel.<init>(OutlineJPanel.java:216)
at com.emental.mindraider.ui.outline.OutlineJPanel.getInstance(OutlineJPanel.java:152)
at com.emental.mindraider.ui.frames.MindRaiderMainWindow.<init>(MindRaiderMainWindow.java:196)
at com.emental.mindraider.ui.frames.MindRaiderMainWindow.getInstance(MindRaiderMainWindow.java:120)
at com.mindcognition.mindraider.MindRaiderApplication.main(MindRaiderApplication.java:237)
at MindRaiderRunner.main(MindRaiderRunner.java:53)

I tried everything and I use at the moment this;
java -Xmx256m -Duser.home=I:\PROGRAMS\mindraider-8.0 -Dlog4j.configuration.debug=I:\PROGRAMS\mindraider-8.0\conf\log4j.properties -Dlog4j.configuration=I:\PROGRAMS\mindraider-8.0\conf\distribution.log4j.properties -jar run.jar 2>mindraider_bugs.txt

The "./conf/" setting will give other problems and java will break off, then I get something like this;

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1d4bdb61, pid=98, tid=6422551
#
# JRE version: 6.0-b22
# Java VM: OpenJDK Client VM (19.0-b09 mixed mode os2-x86 )
# Problematic frame:
# V 
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

----------  T H R E A D  ----------

Current thread (0x201cc000):  JavaThread "SeedGenerator Thread" daemon

siginfo: ExceptionCode=0xc0000005, writing address 0xfffffffc

Registers:
EAX=0x00000000, EBX=0x04fbfa94, ECX=0x201cc000, EDX=0x00000000
ESP=0x04fbfa24, EBP=0x04fbfb9c, ESI=0x201cc000, EDI=0x232f6040
EIP=0x1d4bdb61, EFLAGS=0x00012246

Register to memory mapping:

EAX=0x00000000
0x00000000 is pointing to unknown location

EBX=0x04fbfa94
0x04fbfa94 is pointing into the stack for thread: 0x20195400
"SeedGenerator Thread" daemon prio=2 tid=0x20195400 nid=0x620015 waiting on condition
   java.lang.Thread.State: TIMED_WAITING (sleeping)

ECX=0x201cc000
"SeedGenerator Thread" daemon prio=2 tid=0x201cc000 nid=0x620017 runnable
   java.lang.Thread.State: RUNNABLE

EDX=0x00000000
0x00000000 is pointing to unknown location

ESP=0x04fbfa24
0x04fbfa24 is pointing into the stack for thread: 0x20195400
"SeedGenerator Thread" daemon prio=2 tid=0x20195400 nid=0x620015 waiting on condition
   java.lang.Thread.State: TIMED_WAITING (sleeping)

EBP=0x04fbfb9c
0x04fbfb9c is pointing into the stack for thread: 0x20195400
"SeedGenerator Thread" daemon prio=2 tid=0x20195400 nid=0x620015 waiting on condition
   java.lang.Thread.State: TIMED_WAITING (sleeping)

ESI=0x201cc000
"SeedGenerator Thread" daemon prio=2 tid=0x201cc000 nid=0x620017 runnable
   java.lang.Thread.State: RUNNABLE

EDI=0x232f6040

Bug in the program or a bug in Java?