[ 
https://issues.apache.org/jira/browse/DERBY-4306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734641#action_12734641
 ] 

Mamta A. Satoor commented on DERBY-4306:
----------------------------------------

I ran derbyall again, once without my changes and once again with my changes 
and both the times, I didn't see the errors that I mentioned on 22/Jul/09. So I 
will assume that those were intermittent failures and go ahead and checkin the 
fix which fixes NPE by first checking for nullability.

> 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: DERBY4306_checkForNullability_patch1_diff.txt, 
> 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.

Reply via email to