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 "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2014/03/06 09:06:42 UTC
[jira] [Closed] (DERBY-6442) NPE when loading optional tools from
multiple threads
[ https://issues.apache.org/jira/browse/DERBY-6442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Knut Anders Hatlen closed DERBY-6442.
-------------------------------------
Resolution: Duplicate
This bug does not reproduce after DERBY-6496. Closing as duplicate.
> NPE when loading optional tools from multiple threads
> -----------------------------------------------------
>
> Key: DERBY-6442
> URL: https://issues.apache.org/jira/browse/DERBY-6442
> Project: Derby
> Issue Type: Bug
> Components: Tools
> Affects Versions: 10.10.1.1
> Reporter: Knut Anders Hatlen
> Attachments: ForeignViewMT.java
>
>
> 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)
--
This message was sent by Atlassian JIRA
(v6.2#6252)