[
https://issues.apache.org/jira/browse/DERBY-4306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kathey Marsden updated DERBY-4306:
----------------------------------
Attachment: ReproDerby4306.java
Mamta asked me to post a stand-alone reproduction for this issue. Attached is
ReproDerby4306 which does I think get the JMX NPE but it is masked by a
problem with the new DERBY-4304 error handling. There is no error to the
console but we never see the shutdown complete message and in derby.log I see:
An exception was thrown during network server startup. null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at
org.apache.derby.iapi.jdbc.DRDAServerStarter.run(DRDAServerStarter.java:236)
at java.lang.Thread.run(Thread.java:735)
Caused by: java.lang.NullPointerException
at
org.apache.derby.impl.drda.NetworkServerControlImpl.isMsgProperty(NetworkServerControlImpl.java:3457)
at
org.apache.derby.impl.drda.NetworkServerControlImpl.localizeMessage(NetworkServerControlImpl.java:3394)
at
org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(NetworkServerControlImpl.java:3192)
at
org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(NetworkServerControlImpl.java:1885)
at
org.apache.derby.impl.drda.NetworkServerControlImpl.blockingStart(NetworkServerControlImpl.java:895)
... 6 more
Should I file a separate bug for the NPE introduced by DERBY-4304?
> NullPointerException in JMXManagementService.unregisterMBean when running
> jdbcapi._Suite
> ----------------------------------------------------------------------------------------
>
> Key: DERBY-4306
> URL: https://issues.apache.org/jira/browse/DERBY-4306
> Project: Derby
> Issue Type: Bug
> Components: JMX
> Affects Versions: 10.5.2.0, 10.6.0.0
> Reporter: Tiago R. Espinha
> Attachments: JMX_NPE_AuthenticationTest.tar.gz, JMXNPE.tar.gz,
> ReproDerby4306.java
>
>
> I consistently get a NullPointerException when I run the jdbcapi suite:
> java.lang.NullPointerException
> at
> org.apache.derby.impl.services.jmx.JMXManagementService.unregisterMBean(JMXManagementService.java:286)
> at
> org.apache.derby.impl.services.jmx.JMXManagementService.unregisterMBean(JMXManagementService.java:277)
> at
> org.apache.derby.impl.drda.NetworkServerControlImpl.blockingStart(NetworkServerControlImpl.java:864)
> at sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.derby.iapi.jdbc.DRDAServerStarter.run(DRDAServerStarter.java:236)
> at java.lang.Thread.run(Thread.java:619)
> I'm attaching the log folder from the jdbcapi run.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.