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: Regression Test Failure
Affects Versions: 10.5.0.0
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.
-
You can reply to this email to add a comment to the issue online.