[jboss-jira] [JBoss JIRA] Commented: (JBAS-4914) NPE in JBossWebRealm
Anil Saldhana (JIRA)
jira-events at lists.jboss.org
Wed Oct 31 01:13:44 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAS-4914?page=comments#action_12385200 ]
Anil Saldhana commented on JBAS-4914:
-------------------------------------
Scott, I have seen this. You need to add "one-test" at the end.
This has worked last time I did:
a) ant deploy-jboss500
b) Start JBoss
c) ant -Dtest=fqn one-test
> 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