db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DERBY-3979) NullPointerException (NPE) in test jdbc20 - jdbcapi/getCurConnJdbc20.sql
Date Thu, 24 Feb 2011 11:28:38 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Myrna van Lunteren closed DERBY-3979.
-------------------------------------

    Resolution: Cannot Reproduce

I think this really only happened once. This test sometimes fails with networkserver/client
with messages indicating no connection could be made to the server - probably when the machine
is slow - but that's not the same as this failure.

> NullPointerException (NPE) in test jdbc20 - jdbcapi/getCurConnJdbc20.sql
> ------------------------------------------------------------------------
>
>                 Key: DERBY-3979
>                 URL: https://issues.apache.org/jira/browse/DERBY-3979
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.5.1.1
>         Environment: jvm: ibm 1.6 os: suse 9
>            Reporter: Myrna van Lunteren
>
> One test run failed the regression test run with a NullPointerException in jdbcapi/getCurConnJdbc20
(part of the jdbc20 suite).
> The stack trace from the .tmp file is like this (the diff just has the Exception, rest
gets sed-ed away):
> ----------------------------------------------------------
> ....
> ij> drop procedure newToJdbc20Method;
> 0 rows inserted/updated/deleted
> ij> Exception in thread "main" java.lang.NullPointerException: name can't be null
>         at java.io.FilePermission.init(FilePermission.java:183)
>         at java.io.FilePermission.<init>(FilePermission.java:267)
>         at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
>         at java.io.File.list(File.java:982)
>         at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.run(UnknownSource)
>         at java.security.AccessController.doPrivileged(AccessController.java:251)
>         at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.removeStubs(Unknown
Source)
>         at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.stop(Unknown Source)
>         at org.apache.derby.impl.services.monitor.TopService.stop(Unknown Source)
>         at org.apache.derby.impl.services.monitor.TopService.shutdown(Unknown Source)
>         at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
>         at org.apache.derby.impl.services.monitor.BaseMonitor.shutdown(Unknown Source)
>         at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
>         at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
>         at java.sql.DriverManager.getConnection(DriverManager.java:316)
>         at java.sql.DriverManager.getConnection(DriverManager.java:273)
>         at org.apache.derby.impl.tools.ij.utilMain.cleanupGo(Unknown Source)
>         at org.apache.derby.impl.tools.ij.utilMain.go(Unknown Source)
>         at org.apache.derby.impl.tools.ij.Main.go(Unknown Source)
>         at org.apache.derby.impl.tools.ij.Main.mainCore(Unknown Source)
>         at org.apache.derby.impl.tools.ij.Main.main(Unknown Source)
>         at org.apache.derby.tools.ij.main(Unknown Source)
> -----------------------------------------------------
> derby.log has nothing interesting (just boot, then shutdown instance)
> Build #: 722718.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message