You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2006/01/05 06:16:01 UTC

[jira] Created: (DERBY-798) NullPointerException booting if loaded by the bootstrap class loader and JVM returns null for bootstrap loader.

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
    Versions: 10.1.1.2, 10.2.0.0    
 Environment: CVM with J2ME/CDC/Foundation
    Reporter: Daniel John Debrunner
 Assigned to: Daniel John Debrunner 
     Fix For: 10.2.0.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


[jira] Updated: (DERBY-798) NullPointerException booting if loaded by the bootstrap class loader and JVM returns null for bootstrap loader.

Posted by "Mike Matrigali (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-798?page=all ]

Mike Matrigali updated DERBY-798:
---------------------------------

    Component: Services

> 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

>
> 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


[jira] Updated: (DERBY-798) NullPointerException booting if loaded by the bootstrap class loader and JVM returns null for bootstrap loader.

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-798?page=all ]

Andrew McIntyre updated DERBY-798:
----------------------------------

    Fix Version: 10.1.3.0

> 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


[jira] Resolved: (DERBY-798) NullPointerException booting if loaded by the bootstrap class loader and JVM returns null for bootstrap loader.

Posted by "Daniel John Debrunner (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-798?page=all ]
     
Daniel John Debrunner resolved DERBY-798:
-----------------------------------------

    Fix Version: 10.1.2.2
     Resolution: Fixed

Revisions 366226 (trunk) and 366230 (10.1)

> 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
>     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

>
> 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


[jira] Reopened: (DERBY-798) NullPointerException booting if loaded by the bootstrap class loader and JVM returns null for bootstrap loader.

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-798?page=all ]
     
Andrew McIntyre reopened DERBY-798:
-----------------------------------


> 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

>
> 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


[jira] Closed: (DERBY-798) NullPointerException booting if loaded by the bootstrap class loader and JVM returns null for bootstrap loader.

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
     [ 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