Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
10.10.1.1
-
None
-
None
-
Normal
-
Repro attached
Description
When I try to load the foreignViews tool from two threads simultaneously, I see a NullPointerException in Java5SystemProcedures.SYSCS_REGISTER_TOOL.
java.lang.NullPointerException
at org.apache.derby.catalog.Java5SystemProcedures.SYSCS_REGISTER_TOOL(Java5SystemProcedures.java:98)
at org.apache.derby.exe.ac504bc13bx0143x44f5x9203x000006cb3ed80.g0(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(ReflectMethod.java:46)
at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(CallStatementResultSet.java:75)
at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(GenericPreparedStatement.java:439)
at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:320)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1337)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(EmbedPreparedStatement.java:1709)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(EmbedPreparedStatement.java:1394)
at ForeignViewMT$Worker.run(ForeignViewMT.java:31)
Attachments
Attachments
Issue Links
- is duplicated by
-
DERBY-6496 Optional tool registration may fail because the CompilerContext is not always available at execution time.
- Closed
- relates to
-
DERBY-6496 Optional tool registration may fail because the CompilerContext is not always available at execution time.
- Closed