[kaffe] FileOutputStream Error because of QT-AWT??

embstudy at eyou.com embstudy at eyou.com
Fri Jul 30 03:04:45 PDT 2004


Hello everyone,

   We have been trying kaffe on our PXA255 platform for a few days, and we
could run a plain text "Helloworld" successfully before we start qtopia.
  But if we start qtopia, (we use the cmd "/etc/rc.d/init.d/qtopia start"), we
couldn't get the ball rolling!! From the msg we found there is something wrong
with "FileOutputStream" class.
___________________________________________________________________________
 kaffe -vmdebug "RESERROR,VMCLASSLOADER" -cp $PWD Helloworld aaa bbb
___________________________________________________________________________

+++And we got+++
(Sorry for the too long message)

---------------------------------------------------------------------------
Calling internal class loader for startup class java/lang/Object
  0xc1018 entering process class java/lang/Object 1->8
  0xc1018 leaving process class java/lang/Object -> success
Calling internal class loader for startup class java/io/Serializable
  0xc1018 entering process class java/io/Serializable 1->8
  0xc1018 leaving process class java/io/Serializable -> success
Calling internal class loader for startup class java/lang/Cloneable
  0xc1018 entering process class java/lang/Cloneable 1->8
  0xc1018 leaving process class java/lang/Cloneable -> success
Calling internal class loader for startup class java/lang/Class
  0xc1018 entering process class java/lang/Class 1->8
  0xc1018 leaving process class java/lang/Class -> success
Calling internal class loader for startup class java/lang/String
  0xc1018 entering process class java/lang/String 1->8
Calling internal class loader for java/lang/Comparable
    0xc1018 entering process class java/lang/Comparable 1->8
    0xc1018 leaving process class java/lang/Comparable -> success
Calling internal class loader for java/lang/CharSequence
    0xc1018 entering process class java/lang/CharSequence 1->8
    0xc1018 leaving process class java/lang/CharSequence -> success
  0xc1018 leaving process class java/lang/String -> success
Calling internal class loader for startup class java/lang/System
  0xc1018 entering process class java/lang/System 1->8
  0xc1018 leaving process class java/lang/System -> success
Calling internal class loader for startup class java/lang/Void
  0xc1018 entering process class java/lang/Void 1->8
  0xc1018 leaving process class java/lang/Void -> success
Calling internal class loader for startup class java/lang/Boolean
  0xc1018 entering process class java/lang/Boolean 1->8
  0xc1018 leaving process class java/lang/Boolean -> success
Calling internal class loader for startup class java/lang/Byte
  0xc1018 entering process class java/lang/Byte 1->8
Calling internal class loader for java/lang/Number
    0xc1018 entering process class java/lang/Number 1->8
    0xc1018 leaving process class java/lang/Number -> success
  0xc1018 leaving process class java/lang/Byte -> success
Calling internal class loader for startup class java/lang/Character
  0xc1018 entering process class java/lang/Character 1->8
  0xc1018 leaving process class java/lang/Character -> success
Calling internal class loader for startup class java/lang/Short
  0xc1018 entering process class java/lang/Short 1->8
  0xc1018 leaving process class java/lang/Short -> success
Calling internal class loader for startup class java/lang/Integer
  0xc1018 entering process class java/lang/Integer 1->8
  0xc1018 leaving process class java/lang/Integer -> success
Calling internal class loader for startup class java/lang/Long
  0xc1018 entering process class java/lang/Long 1->8
  0xc1018 leaving process class java/lang/Long -> success
Calling internal class loader for startup class java/lang/Float
  0xc1018 entering process class java/lang/Float 1->8
  0xc1018 leaving process class java/lang/Float -> success
Calling internal class loader for startup class java/lang/Double
  0xc1018 entering process class java/lang/Double 1->8
  0xc1018 leaving process class java/lang/Double -> success
Calling internal class loader for startup class kaffe/util/Ptr
  0xc1018 entering process class kaffe/util/Ptr 1->8
  0xc1018 leaving process class kaffe/util/Ptr -> success
Calling internal class loader for startup class java/lang/ClassLoader
  0xc1018 entering process class java/lang/ClassLoader 1->8
  0xc1018 leaving process class java/lang/ClassLoader -> success
Calling internal class loader for startup class kaffe/lang/AppClassLoader
  0xc1018 entering process class kaffe/lang/AppClassLoader 1->8
Calling internal class loader for java/net/URLClassLoader
    0xc1018 entering process class java/net/URLClassLoader 1->8
Calling internal class loader for java/security/SecureClassLoader
      0xc1018 entering process class java/security/SecureClassLoader 1->8
      0xc1018 leaving process class java/security/SecureClassLoader ->
success
    0xc1018 leaving process class java/net/URLClassLoader -> success
  0xc1018 leaving process class kaffe/lang/AppClassLoader -> success
Calling internal class loader for startup class java/lang/Throwable
  0xc1018 entering process class java/lang/Throwable 1->8
  0xc1018 leaving process class java/lang/Throwable -> success
Calling internal class loader for startup class java/lang/VMThrowable
  0xc1018 entering process class java/lang/VMThrowable 1->8
  0xc1018 leaving process class java/lang/VMThrowable -> success
Calling internal class loader for startup class java/lang/StackTraceElement
  0xc1018 entering process class java/lang/StackTraceElement 1->8
  0xc1018 leaving process class java/lang/StackTraceElement -> success
Calling internal class loader for startup class java/lang/Exception
  0xc1018 entering process class java/lang/Exception 1->8
  0xc1018 leaving process class java/lang/Exception -> success
Calling internal class loader for startup class
java/lang/ArrayIndexOutOfBoundsException
  0xc1018 entering process class java/lang/ArrayIndexOutOfBoundsException
1->8
Calling internal class loader for java/lang/IndexOutOfBoundsException
    0xc1018 entering process class java/lang/IndexOutOfBoundsException 1->8
Calling internal class loader for java/lang/RuntimeException
      0xc1018 entering process class java/lang/RuntimeException 1->8
      0xc1018 leaving process class java/lang/RuntimeException -> success
    0xc1018 leaving process class java/lang/IndexOutOfBoundsException ->
success
  0xc1018 leaving process class java/lang/ArrayIndexOutOfBoundsException ->
success
Calling internal class loader for startup class
java/lang/NullPointerException
  0xc1018 entering process class java/lang/NullPointerException 1->8
  0xc1018 leaving process class java/lang/NullPointerException -> success
Calling internal class loader for startup class
java/lang/ArithmeticException
  0xc1018 entering process class java/lang/ArithmeticException 1->8
  0xc1018 leaving process class java/lang/ArithmeticException -> success
Calling internal class loader for startup class
java/lang/ClassNotFoundException
  0xc1018 entering process class java/lang/ClassNotFoundException 1->8
  0xc1018 leaving process class java/lang/ClassNotFoundException -> success
Calling internal class loader for startup class
java/lang/NoClassDefFoundError
  0xc1018 entering process class java/lang/NoClassDefFoundError 1->8
Calling internal class loader for java/lang/LinkageError
    0xc1018 entering process class java/lang/LinkageError 1->8
Calling internal class loader for java/lang/Error
      0xc1018 entering process class java/lang/Error 1->8
      0xc1018 leaving process class java/lang/Error -> success
    0xc1018 leaving process class java/lang/LinkageError -> success
  0xc1018 leaving process class java/lang/NoClassDefFoundError -> success
Calling internal class loader for startup class java/lang/StackOverflowError
  0xc1018 entering process class java/lang/StackOverflowError 1->8
Calling internal class loader for java/lang/VirtualMachineError
    0xc1018 entering process class java/lang/VirtualMachineError 1->8
    0xc1018 leaving process class java/lang/VirtualMachineError -> success
  0xc1018 leaving process class java/lang/StackOverflowError -> success
Calling internal class loader for startup class java/io/IOException
  0xc1018 entering process class java/io/IOException 1->8
  0xc1018 leaving process class java/io/IOException -> success
  0xc1018 entering process class java/lang/String 8->13
    0xc1018 entering process class java/lang/Object 8->13
    0xc1018 leaving process class java/lang/Object -> success
Calling internal class loader for java/lang/String$ICComp
    0xc1018 entering process class java/lang/String$ICComp 1->8
Calling internal class loader for java/util/Comparator
      0xc1018 entering process class java/util/Comparator 1->8
      0xc1018 leaving process class java/util/Comparator -> success
    0xc1018 leaving process class java/lang/String$ICComp -> success
    0xc1018 entering process class java/lang/String$ICComp 8->13
    0xc1018 leaving process class java/lang/String$ICComp -> success
    0xc1018 entering process class java/lang/String 12->13
    0xc1018 leaving process class java/lang/String -> success
  0xc1018 leaving process class java/lang/String -> success
Calling internal class loader for java/lang/Thread
  0xc1018 entering process class java/lang/Thread 1->8
Calling internal class loader for java/lang/Runnable
    0xc1018 entering process class java/lang/Runnable 1->8
    0xc1018 leaving process class java/lang/Runnable -> success
  0xc1018 leaving process class java/lang/Thread -> success
  0xc1018 entering process class java/lang/Thread 8->13
Calling internal class loader for java/lang/RuntimePermission
    0xc1018 entering process class java/lang/RuntimePermission 1->8
Calling internal class loader for java/security/BasicPermission
      0xc1018 entering process class java/security/BasicPermission 1->8
Calling internal class loader for java/security/Permission
        0xc1018 entering process class java/security/Permission 1->8
Calling internal class loader for java/security/Guard
          0xc1018 entering process class java/security/Guard 1->8
          0xc1018 leaving process class java/security/Guard -> success
        0xc1018 leaving process class java/security/Permission -> success
      0xc1018 leaving process class java/security/BasicPermission -> success
    0xc1018 leaving process class java/lang/RuntimePermission -> success
    0xc1018 entering process class java/lang/RuntimePermission 8->13
      0xc1018 entering process class java/security/BasicPermission 8->13
        0xc1018 entering process class java/security/Permission 8->13
        0xc1018 leaving process class java/security/Permission -> success
      0xc1018 leaving process class java/security/BasicPermission -> success
    0xc1018 leaving process class java/lang/RuntimePermission -> success
Calling internal class loader for java/lang/IllegalArgumentException
    0xc1018 entering process class java/lang/IllegalArgumentException 1->8
    0xc1018 leaving process class java/lang/IllegalArgumentException ->
success
    0xc1018 entering process class java/lang/Thread 12->13
    0xc1018 leaving process class java/lang/Thread -> success
  0xc1018 leaving process class java/lang/Thread -> success
Calling internal class loader for java/lang/ThreadGroup
  0xc1018 entering process class java/lang/ThreadGroup 1->8
  0xc1018 leaving process class java/lang/ThreadGroup -> success
  0xc1018 entering process class java/lang/ThreadGroup 8->13
  0xc1018 leaving process class java/lang/ThreadGroup -> success
  0xc1018 entering process class kaffe/lang/AppClassLoader 8->13
    0xc1018 entering process class java/net/URLClassLoader 8->13
      0xc1018 entering process class java/security/SecureClassLoader 8->13
        0xc1018 entering process class java/lang/ClassLoader 8->13
Calling internal class loader for java/util/HashMap
          0xc1018 entering process class java/util/HashMap 1->8
Calling internal class loader for java/util/AbstractMap
            0xc1018 entering process class java/util/AbstractMap 1->8
Calling internal class loader for java/util/Map
              0xc1018 entering process class java/util/Map 1->8
              0xc1018 leaving process class java/util/Map -> success
            0xc1018 leaving process class java/util/AbstractMap -> success
          0xc1018 leaving process class java/util/HashMap -> success
          0xc1018 entering process class java/util/HashMap 8->13
            0xc1018 entering process class java/util/AbstractMap 8->13
            0xc1018 leaving process class java/util/AbstractMap -> success
          0xc1018 leaving process class java/util/HashMap -> success
Calling internal class loader for java/lang/StringBuffer
          0xc1018 entering process class java/lang/StringBuffer 1->8
          0xc1018 leaving process class java/lang/StringBuffer -> success
Calling internal class loader for java/util/HashMap$HashEntry
          0xc1018 entering process class java/util/HashMap$HashEntry 1->8
Calling internal class loader for java/util/AbstractMap$BasicMapEntry
            0xc1018 entering process class java/util/AbstractMap$BasicMapEntry
1->8
Calling internal class loader for java/util/Map$Entry
              0xc1018 entering process class java/util/Map$Entry 1->8
              0xc1018 leaving process class java/util/Map$Entry -> success
            0xc1018 leaving process class java/util/AbstractMap$BasicMapEntry
-> success
          0xc1018 leaving process class java/util/HashMap$HashEntry ->
success
          0xc1018 entering process class java/lang/ClassLoader 12->13
          0xc1018 leaving process class java/lang/ClassLoader -> success
          0xc1018 entering process class java/lang/ClassLoader 12->13
          0xc1018 leaving process class java/lang/ClassLoader -> success
        0xc1018 leaving process class java/lang/ClassLoader -> success
      0xc1018 leaving process class java/security/SecureClassLoader ->
success
      0xc1018 entering process class java/net/URLClassLoader 12->13
      0xc1018 leaving process class java/net/URLClassLoader -> success
      0xc1018 entering process class java/net/URLClassLoader 12->13
      0xc1018 leaving process class java/net/URLClassLoader -> success
    0xc1018 leaving process class java/net/URLClassLoader -> success
    0xc1018 entering process class kaffe/lang/AppClassLoader 12->13
    0xc1018 leaving process class kaffe/lang/AppClassLoader -> success
Calling internal class loader for java/net/URL
    0xc1018 entering process class java/net/URL 1->8
    0xc1018 leaving process class java/net/URL -> success
Calling internal class loader for java/util/StringTokenizer
    0xc1018 entering process class java/util/StringTokenizer 1->8
Calling internal class loader for java/util/Enumeration
      0xc1018 entering process class java/util/Enumeration 1->8
      0xc1018 leaving process class java/util/Enumeration -> success
    0xc1018 leaving process class java/util/StringTokenizer -> success
Calling internal class loader for java/io/File
    0xc1018 entering process class java/io/File 1->8
    0xc1018 leaving process class java/io/File -> success
Calling internal class loader for java/net/URLStreamHandlerFactory
    0xc1018 entering process class java/net/URLStreamHandlerFactory 1->8
    0xc1018 leaving process class java/net/URLStreamHandlerFactory ->
success
Calling internal class loader for java/security/AccessControlContext
    0xc1018 entering process class java/security/AccessControlContext 1->8
    0xc1018 leaving process class java/security/AccessControlContext ->
success
Calling internal class loader for java/lang/SecurityManager
    0xc1018 entering process class java/lang/SecurityManager 1->8
    0xc1018 leaving process class java/lang/SecurityManager -> success
    0xc1018 entering process class kaffe/lang/AppClassLoader 12->13
    0xc1018 leaving process class kaffe/lang/AppClassLoader -> success
Calling internal class loader for java/util/Hashtable
    0xc1018 entering process class java/util/Hashtable 1->8
Calling internal class loader for java/util/Dictionary
      0xc1018 entering process class java/util/Dictionary 1->8
      0xc1018 leaving process class java/util/Dictionary -> success
    0xc1018 leaving process class java/util/Hashtable -> success
Calling internal class loader for java/util/HashSet
    0xc1018 entering process class java/util/HashSet 1->8
Calling internal class loader for java/util/AbstractSet
      0xc1018 entering process class java/util/AbstractSet 1->8
Calling internal class loader for java/util/AbstractCollection
        0xc1018 entering process class java/util/AbstractCollection 1->8
Calling internal class loader for java/util/Collection
          0xc1018 entering process class java/util/Collection 1->8
          0xc1018 leaving process class java/util/Collection -> success
        0xc1018 leaving process class java/util/AbstractCollection ->
success
Calling internal class loader for java/util/Set
        0xc1018 entering process class java/util/Set 1->8
        0xc1018 leaving process class java/util/Set -> success
      0xc1018 leaving process class java/util/AbstractSet -> success
    0xc1018 leaving process class java/util/HashSet -> success
    0xc1018 entering process class java/util/Hashtable 8->13
      0xc1018 entering process class java/util/Dictionary 8->13
      0xc1018 leaving process class java/util/Dictionary -> success
    0xc1018 leaving process class java/util/Hashtable -> success
Calling internal class loader for java/util/Hashtable$HashEntry
    0xc1018 entering process class java/util/Hashtable$HashEntry 1->8
    0xc1018 leaving process class java/util/Hashtable$HashEntry -> success
    0xc1018 entering process class java/util/HashSet 8->13
      0xc1018 entering process class java/util/AbstractSet 8->13
        0xc1018 entering process class java/util/AbstractCollection 8->13
        0xc1018 leaving process class java/util/AbstractCollection ->
success
      0xc1018 leaving process class java/util/AbstractSet -> success
    0xc1018 leaving process class java/util/HashSet -> success
    0xc1018 entering process class java/lang/System 8->13
Calling internal class loader for java/util/Properties
      0xc1018 entering process class java/util/Properties 1->8
      0xc1018 leaving process class java/util/Properties -> success
Calling internal class loader for java/io/BufferedInputStream
      0xc1018 entering process class java/io/BufferedInputStream 1->8
Calling internal class loader for java/io/FilterInputStream
        0xc1018 entering process class java/io/FilterInputStream 1->8
Calling internal class loader for java/io/InputStream
          0xc1018 entering process class java/io/InputStream 1->8
          0xc1018 leaving process class java/io/InputStream -> success
        0xc1018 leaving process class java/io/FilterInputStream -> success
      0xc1018 leaving process class java/io/BufferedInputStream -> success
Calling internal class loader for kaffe/io/StdInputStream
      0xc1018 entering process class kaffe/io/StdInputStream 1->8
      0xc1018 leaving process class kaffe/io/StdInputStream -> success
Calling internal class loader for java/io/PrintStream
      0xc1018 entering process class java/io/PrintStream 1->8
Calling internal class loader for java/io/FilterOutputStream
        0xc1018 entering process class java/io/FilterOutputStream 1->8
Calling internal class loader for java/io/OutputStream
          0xc1018 entering process class java/io/OutputStream 1->8
          0xc1018 leaving process class java/io/OutputStream -> success
        0xc1018 leaving process class java/io/FilterOutputStream -> success
      0xc1018 leaving process class java/io/PrintStream -> success
Calling internal class loader for java/io/BufferedOutputStream
      0xc1018 entering process class java/io/BufferedOutputStream 1->8
      0xc1018 leaving process class java/io/BufferedOutputStream -> success
Calling internal class loader for kaffe/io/StdOutputStream
      0xc1018 entering process class kaffe/io/StdOutputStream 1->8
      0xc1018 leaving process class kaffe/io/StdOutputStream -> success
Calling internal class loader for kaffe/io/StdErrorStream
      0xc1018 entering process class kaffe/io/StdErrorStream 1->8
      0xc1018 leaving process class kaffe/io/StdErrorStream -> success
Calling internal class loader for java/io/FileInputStream
      0xc1018 entering process class java/io/FileInputStream 1->8
      0xc1018 leaving process class java/io/FileInputStream -> success
Calling internal class loader for java/io/FileDescriptor
      0xc1018 entering process class java/io/FileDescriptor 1->8
      0xc1018 leaving process class java/io/FileDescriptor -> success
Calling internal class loader for java/io/FileOutputStream
      0xc1018 entering process class java/io/FileOutputStream 1->8
      0xc1018 leaving process class java/io/FileOutputStream -> success
      0xc1018 entering process class java/util/Properties 8->13
      0xc1018 leaving process class java/util/Properties -> success
      0xc1018 entering process class java/util/Hashtable$HashEntry 8->13
        0xc1018 entering process class java/util/AbstractMap$BasicMapEntry
8->13
        0xc1018 leaving process class java/util/AbstractMap$BasicMapEntry ->
success
      0xc1018 leaving process class java/util/Hashtable$HashEntry -> success
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
        at java.lang.System.initProperties(System.java:native)
        at java.lang.System.<clinit>(System.java:43)
        at java.lang.ClassLoader.<init>(ClassLoader.java:115)
        at java.lang.ClassLoader.<init>(ClassLoader.java:111)
        at java.security.SecureClassLoader.<init>(SecureClassLoader.java:59)
        at java.net.URLClassLoader.<init>(URLClassLoader.java:544)
        at kaffe.lang.AppClassLoader.<init>(AppClassLoader.java:237)
        at kaffe.lang.AppClassLoader.<clinit>(AppClassLoader.java:36)

______________________________________________________________________________


If you could give me hand, I would be very very appreciated!!

cheers,
saw





--http://www.eyou.com
--Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä  ÓïÒôÓʼþ  Òƶ¯ÊéÇ©  ÈÕÀú·þÎñ  ÍøÂç´æ´¢...ÒÚÓÊδ¾¡

--http://vip.eyou.com
--¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä  ×¢²áÄúÖÐÒâµÄÓû§Ãû






More information about the kaffe mailing list