db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew McIntyre (JIRA)" <derby-...@db.apache.org>
Subject [jira] Closed: (DERBY-798) NullPointerException booting if loaded by the bootstrap class loader and JVM returns null for bootstrap loader.
Date Mon, 24 Apr 2006 20:40:06 GMT
     [ http://issues.apache.org/jira/browse/DERBY-798?page=all ]
     
Andrew McIntyre closed DERBY-798:
---------------------------------

    Resolution: Fixed

> NullPointerException booting if loaded by the bootstrap class loader and JVM returns
null for bootstrap loader.
> ---------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-798
>          URL: http://issues.apache.org/jira/browse/DERBY-798
>      Project: Derby
>         Type: Bug

>   Components: Services
>     Versions: 10.1.1.2, 10.2.0.0
>  Environment: CVM with J2ME/CDC/Foundation
>     Reporter: Daniel John Debrunner
>     Assignee: Daniel John Debrunner
>      Fix For: 10.2.0.0, 10.1.2.2, 10.1.3.0

>
> Class.getClassLoader() is allowed to return null for the bootstrap class loader, all
calls in Derby except this one in getDefaultModuleProperties cope with a null value.
> Found by Timothy Luksha (RIT Student)
> java.lang.NullPointerException:
>         at org.apache.derby.impl.services.monitor.BaseMonitor.getDefaultModuleProperties()Ljava/util/Properties;(Unknown
Source)
>         at org.apache.derby.impl.services.monitor.FileMonitor.run()Ljava/lang/Object;(Unknown
Source)
>         at java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;(Unknown
Source)
>         at java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;(Unknown
Source)
>         at org.apache.derby.impl.services.monitor.FileMonitor.getDefaultModuleProperties()Ljava/util/Properties;(Unknown
Source)
>         at org.apache.derby.impl.services.monitor.BaseMonitor.getDefaultImplementations()Ljava/util/Vector;(Unknown
Source)
>         at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Ljava/util/Properties;Ljava/io/PrintStream;)V(Unknown
Source)
>         at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Ljava/util/Properties;Ljava/io/PrintStream;)V(Unknown
Source)
>         at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Ljava/util/Properties;Ljava/io/PrintStream;)V(Unknown
Source)
>         at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Ljava/lang/String;Ljava/io/PrintStream;)V(Unknown
Source)
>         at org.apache.derby.jdbc.EmbeddedSimpleDataSource.findDriver()Lorg/apache/derby/jdbc/InternalDriver;(Unknown
Source)
>         at org.apache.derby.jdbc.EmbeddedSimpleDataSource.getConnection(Ljava/lang/String;Ljava/lang/String;Z)Ljava/sql/Connection;(Unknown
Source)
>         at org.apache.derby.jdbc.EmbeddedSimpleDataSource.getConnection()Ljava/sql/Connection;(Unknown
Source)
>         at DatabaseFactory.getConnection()Ljava/sql/Connection;(Unknown Source)
>         at runner.go()V(Unknown Source)
>         at runner.main([Ljava/lang/String;)V(Un
> known Source)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message