Opppsss, sorry... I was pretty busy - I guess I should have had my time on the example code - sorry. I still pretend that the bug is there though. I'll write a good example.
...just to illustrate the problem, see this ( it's where it crushes our service framework ) : <cut> /** * Reads the current storage size. */ private void init() throws IOException { System.out.println("--404: FileSystemImpl - init 1"); System.out.println("--404: FileSystemImpl - SIZE : " + SIZE); // 404 - Kaffe workarround System.out.println("--404: FileSystemImpl - props : " + ( props == null ) ); System.out.println("--404: FileSystemImpl - +1 " ); byte[] bytes = (byte[]) props.get(SIZE); System.out.println("--404: FileSystemImpl - init 2"); if(bytes != null) currentlyUsedStorage = toLong(bytes); // currentlyUsedStorage = 729200; // 404 ^ System.out.println("--404: FileSystemImpl - init 3"); } <cut> props is Xproperties which extends Properties... And here is the output from the framework start process: <cut> --404: FileSystemImpl - 3 --404: FileSystemImpl - 4 --404: FileSystemImpl - init 1 Loading kaffe/io/ByteToCharConverter.class(/home/kaffe/jre/lib/rt.jar) [compressed] Loading kaffe/io/ByteToCharDefault.class(/home/kaffe/jre/lib/rt.jar) [compressed] Loading kaffe/io/ByteToCharIconv.class(/home/kaffe/jre/lib/rt.jar) [compressed] --404: FileSystemImpl - SIZE : Key usedStorage --404: FileSystemImpl - props : false comment: see this - props is not null here (check the source above )- I checked that before submitting the bug report... --404: FileSystemImpl - +1 FRAMEWORK DEBUG: FrameworkException: Code=1 FRAMEWORK DEBUG: java.lang.NullPointerException at com.prosyst.mbs.impl.services.fs.local.FileSystemImpl.init(FileSystemImpl.java:128) at com.prosyst.mbs.impl.services.fs.local.FileSystemImpl.<init>(FileSystemImpl.java:90) at java.lang.reflect.Method.invoke0(source file unknown:native) at java.lang.reflect.Method.invoke(source file unknown:line unknown, pc 0x82897f5) at java.lang.reflect.Constructor.newInstance(source file unknown:line unknown, pc 0x8276aa8) at com.prosyst.mbs.impl.framework.Storage.<init>(Storage.java:99) at com.prosyst.mbs.impl.framework.Framework.<clinit>(Framework.java:146) at com.prosyst.mbs.impl.framework.Start.main(Start.java:73) Error Initializing Storage Module: FrameworkException: Code=1 java.lang.NullPointerException Loading kaffe/lang/Application.class(/home/kaffe/jre/lib/rt.jar) [compressed] Dalibor Topic wrote: > Hi alexander, > > --- Alexander Popov <[EMAIL PROTECTED]> wrote: > >>Hashtable.get() constantly throws NPE. I use current -- Alexander Popov Team Leader RTOS&JVM ProSyst Bulgaria [EMAIL PROTECTED] [EMAIL PROTECTED] mobile: +35987663193 icq: 29207350 _______________________________________________ kaffe mailing list [EMAIL PROTECTED] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe