[jboss-jira] [JBoss JIRA] Commented: (JBAS-4914) NPE in JBossWebRealm
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Wed Oct 31 04:33:44 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAS-4914?page=comments#action_12385217 ]
Thomas Diesler commented on JBAS-4914:
--------------------------------------
Tests may be excluded from the compile target by the exclude file
https://svn.jboss.org/repos/jbossws/stack/native/branches/jbossws-native-2.0.2/src/test/resources/test-excludes-jboss500.txt
This allows us to detect regression and have a unified testsuite across all supported containers
You will need to comment this
# [JBAS-4890] EJBAccessException: Caller unauthorized
org/jboss/test/ws/jaxws/samples/context/**
before you run tests-main
> 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