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

Tiago R. Espinha commented on DERBY-4306:
-----------------------------------------

Hello Mamta,

I do indeed still get an NPE when running AuthenticationTest after doing an svn 
update and rebuilding. The stack trace seems somehow different though:
java.lang.NullPointerException
        at 
org.apache.derby.impl.drda.NetworkServerControlImpl.isMsgProperty(NetworkServerControlImpl.java:3460)
        at 
org.apache.derby.impl.drda.NetworkServerControlImpl.localizeMessage(NetworkServerControlImpl.java:3397)
        at 
org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessageWork(NetworkServerControlImpl.java:3195)
        at 
org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(NetworkServerControlImpl.java:1888)
        at 
org.apache.derby.impl.drda.NetworkServerControlImpl.blockingStart(NetworkServerControlImpl.java:895)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        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 using the textui with:
java -Dderby.tests.basePort=11123 -Xms128m -Xmx1024m -XX:MaxPermSize=1024m 
junit.textui.TestRunner 
org.apache.derbyTesting.functionTests.tests.jdbcapi.AuthenticationTest

> 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.1.2, 10.6.0.0
>            Reporter: Tiago R. Espinha
>         Attachments: JMX_NPE_AuthenticationTest.tar.gz, JMXNPE.tar.gz
>
>
> 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