[jboss-jira] [JBoss JIRA] Commented: (JBAS-4914) NPE in JBossWebRealm

Scott M Stark (JIRA) jira-events at lists.jboss.org
Wed Oct 31 02:57:06 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4914?page=comments#action_12385205 ] 
            
Scott M Stark commented on JBAS-4914:
-------------------------------------

Ok, I get further, but something is still not built correctly as the reports output shows the test class is not found. This is after I have run ant and ant tests-compile.

Testsuite: org.jboss.test.ws.jaxws.samples.context.WebServiceContextJSETestCase
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

   Caused an ERROR
org.jboss.test.ws.jaxws.samples.context.WebServiceContextJSETestCase
java.lang.ClassNotFoundException: org.jboss.test.ws.jaxws.samples.context.WebSer
viceContextJSETestCase
   at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:164)


> NPE in JBossWebRealm
> --------------------
>
>                 Key: JBAS-4914
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4914
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>            Reporter: Thomas Diesler
>         Assigned To: Scott M Stark
>             Fix For:  JBossAS-5.0.0.Beta3
>
>
> [tdiesler at tddell jbossws-native-2.0.2]$ ant -Dtest=org.jboss.test.ws.jaxws.samples.context.WebServiceContextJSETestCase 
> one-test:
>     [junit] Running org.jboss.test.ws.jaxws.samples.context.WebServiceContextJSETestCase
>     [junit] Tests run: 3, Failures: 0, Errors: 1, Time elapsed: 4.809 sec
>     [junit] Test org.jboss.test.ws.jaxws.samples.context.WebServiceContextJSETestCase FAILED
> java.lang.NullPointerException
>         at org.jboss.web.tomcat.security.JBossWebRealm.hasRole(JBossWebRealm.java:536)
>         at org.apache.catalina.connector.Request.isUserInRole(Request.java:2184)
>         at org.apache.catalina.connector.RequestFacade.isUserInRole(RequestFacade.java:763)
>         at org.jboss.wsf.spi.invocation.WebServiceContextJSE.isUserInRole(WebServiceContextJSE.java:61)
>         at org.jboss.test.ws.jaxws.samples.context.EndpointJSE.testIsUserInRole(EndpointJSE.java:60)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list