[JBoss JIRA] (SEAMJMS-67) Testsuite MessageManagerImplTest NPE's failures
by Tomas Remes (JIRA)
Tomas Remes created SEAMJMS-67:
----------------------------------
Summary: Testsuite MessageManagerImplTest NPE's failures
Key: SEAMJMS-67
URL: https://issues.jboss.org/browse/SEAMJMS-67
Project: Seam JMS
Issue Type: Bug
Components: Test Suite
Affects Versions: Future
Environment: AS7.1.1.Final, Seam JMS SNAPSHOT 2012-04-30
Reporter: Tomas Remes
MessageManagerImplTest behaves really strange. It passes only when you run this test standalone. When you run whole testsuite using
{noformat}mvn clean verify -Darquillian=jbossas-remote-7 -Darquillian.version=1.0.0.Final -Djbossas7.version=7.1.1.Final{noformat}
then it produces following NPE's:
testSendObjectToDestination
{noformat}
java.lang.NullPointerException
at org.jboss.seam.jms.test.bridge.msg.MessageManagerImplTest.testSendObjectToDestination(MessageManagerImplTest.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
{noformat}
testSendTextToDestination
{noformat}
java.lang.NullPointerException
at org.jboss.seam.jms.test.bridge.msg.MessageManagerImplTest.testSendTextToDestination(MessageManagerImplTest.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
{noformat}
testCreateMessageConsumerSelector
{noformat}
junit.framework.AssertionFailedError: null
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:214)
at junit.framework.Assert.assertNotNull(Assert.java:207)
at org.jboss.seam.jms.test.bridge.msg.MessageManagerImplTest.testCreateMessageConsumerSelector(MessageManagerImplTest.java:137)
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] (SEAMSECURITY-147) Testsuite samlTest failing
by Tomas Remes (JIRA)
Tomas Remes created SEAMSECURITY-147:
----------------------------------------
Summary: Testsuite samlTest failing
Key: SEAMSECURITY-147
URL: https://issues.jboss.org/browse/SEAMSECURITY-147
Project: Seam Security
Issue Type: Bug
Environment: JBoss AS7.1.1.Final, Seam Security SNAPSHOT 2012-04-30
Reporter: Tomas Remes
samlTest from org.jboss.seam.security.externaltest.integration.client.IntegrationTest failing due to following exception (thirdparty error??):
{noformat}
junit.framework.AssertionFailedError: Error response received by test client (status code 500): <html><head><title>JBoss Web/7.0.15.Final - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.RuntimeException: javax.xml.crypto.dsig.XMLSignatureException: javax.xml.crypto.dsig.TransformException: Couldn't find Transform for: http://www.w3.org/2000/09/xmldsig#enveloped-signature
org.jboss.seam.security.external.saml.SamlSignatureUtilForPostBinding.sign(SamlSignatureUtilForPostBinding.java:111)
org.jboss.seam.security.external.saml.SamlMessageSender.sendMessage(SamlMessageSender.java:189)
org.jboss.seam.security.external.saml.SamlMessageSender.sendResponse(SamlMessageSender.java:137)
org.jboss.seam.security.external.saml.SamlMessageSender$Proxy$_$$_WeldClientProxy.sendResponse(SamlMessageSender$Proxy$_$$_WeldClientProxy.java)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService.sendAuthenticationResponse(SamlIdpSingleSignOnService.java:74)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService.handleSucceededAuthentication(SamlIdpSingleSignOnService.java:61)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.handleSucceededAuthentication(SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.java)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:84)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:112)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:88)
org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:53)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.handleSucceededAuthentication(SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.java)
org.jboss.seam.security.external.saml.idp.SamlIdpBean.authenticationSucceeded(SamlIdpBean.java:146)
org.jboss.seam.security.external.saml.idp.SamlIdpBean$Proxy$_$$_WeldSubclass.authenticationSucceeded(SamlIdpBean$Proxy$_$$_WeldSubclass.java)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:84)
org.jboss.weld.interceptor.proxy.InterceptorInvocationContext.proceed(InterceptorInvocationContext.java:127)
org.jboss.seam.security.external.dialogues.DialoguedInterceptor.intercept(DialoguedInterceptor.java:34)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.weld.interceptor.proxy.SimpleMethodInvocation.invoke(SimpleMethodInvocation.java:30)
org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:68)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:112)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:88)
org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:53)
org.jboss.seam.security.external.saml.idp.SamlIdpBean$Proxy$_$$_WeldSubclass.authenticationSucceeded(SamlIdpBean$Proxy$_$$_WeldSubclass.java)
org.jboss.seam.security.external.saml.idp.SamlIdpBean$Proxy$_$$_WeldClientProxy.authenticationSucceeded(SamlIdpBean$Proxy$_$$_WeldClientProxy.java)
org.jboss.seam.security.externaltest.integration.saml.idp.SamlIdpApplicationMock.handleLogin(SamlIdpApplicationMock.java:47)
org.jboss.seam.security.externaltest.integration.saml.idp.SamlIdpApplicationMock$Proxy$_$$_WeldClientProxy.handleLogin(SamlIdpApplicationMock$Proxy$_$$_WeldClientProxy.java)
org.jboss.seam.security.externaltest.integration.saml.idp.IdpTestServlet.doGet(IdpTestServlet.java:29)
javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
</pre></p><p><b>root cause</b> <pre>javax.xml.crypto.dsig.XMLSignatureException: javax.xml.crypto.dsig.TransformException: Couldn't find Transform for: http://www.w3.org/2000/09/xmldsig#enveloped-signature
org.jcp.xml.dsig.internal.dom.DOMReference.transform(Unknown Source)
org.jcp.xml.dsig.internal.dom.DOMReference.digest(Unknown Source)
org.jcp.xml.dsig.internal.dom.DOMXMLSignature.digestReference(Unknown Source)
org.jcp.xml.dsig.internal.dom.DOMXMLSignature.sign(Unknown Source)
org.jboss.seam.security.external.saml.SamlSignatureUtilForPostBinding.sign(SamlSignatureUtilForPostBinding.java:109)
org.jboss.seam.security.external.saml.SamlMessageSender.sendMessage(SamlMessageSender.java:189)
org.jboss.seam.security.external.saml.SamlMessageSender.sendResponse(SamlMessageSender.java:137)
org.jboss.seam.security.external.saml.SamlMessageSender$Proxy$_$$_WeldClientProxy.sendResponse(SamlMessageSender$Proxy$_$$_WeldClientProxy.java)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService.sendAuthenticationResponse(SamlIdpSingleSignOnService.java:74)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService.handleSucceededAuthentication(SamlIdpSingleSignOnService.java:61)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.handleSucceededAuthentication(SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.java)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:84)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:112)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:88)
org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:53)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.handleSucceededAuthentication(SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.java)
org.jboss.seam.security.external.saml.idp.SamlIdpBean.authenticationSucceeded(SamlIdpBean.java:146)
org.jboss.seam.security.external.saml.idp.SamlIdpBean$Proxy$_$$_WeldSubclass.authenticationSucceeded(SamlIdpBean$Proxy$_$$_WeldSubclass.java)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:84)
org.jboss.weld.interceptor.proxy.InterceptorInvocationContext.proceed(InterceptorInvocationContext.java:127)
org.jboss.seam.security.external.dialogues.DialoguedInterceptor.intercept(DialoguedInterceptor.java:34)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.weld.interceptor.proxy.SimpleMethodInvocation.invoke(SimpleMethodInvocation.java:30)
org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:68)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:112)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:88)
org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:53)
org.jboss.seam.security.external.saml.idp.SamlIdpBean$Proxy$_$$_WeldSubclass.authenticationSucceeded(SamlIdpBean$Proxy$_$$_WeldSubclass.java)
org.jboss.seam.security.external.saml.idp.SamlIdpBean$Proxy$_$$_WeldClientProxy.authenticationSucceeded(SamlIdpBean$Proxy$_$$_WeldClientProxy.java)
org.jboss.seam.security.externaltest.integration.saml.idp.SamlIdpApplicationMock.handleLogin(SamlIdpApplicationMock.java:47)
org.jboss.seam.security.externaltest.integration.saml.idp.SamlIdpApplicationMock$Proxy$_$$_WeldClientProxy.handleLogin(SamlIdpApplicationMock$Proxy$_$$_WeldClientProxy.java)
org.jboss.seam.security.externaltest.integration.saml.idp.IdpTestServlet.doGet(IdpTestServlet.java:29)
javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
</pre></p><p><b>root cause</b> <pre>javax.xml.crypto.dsig.TransformException: Couldn't find Transform for: http://www.w3.org/2000/09/xmldsig#enveloped-signature
org.jcp.xml.dsig.internal.dom.ApacheTransform.transformIt(ApacheTransform.java:107)
org.jcp.xml.dsig.internal.dom.ApacheTransform.transform(ApacheTransform.java:87)
org.jcp.xml.dsig.internal.dom.DOMTransform.transform(Unknown Source)
org.jcp.xml.dsig.internal.dom.DOMReference.transform(Unknown Source)
org.jcp.xml.dsig.internal.dom.DOMReference.digest(Unknown Source)
org.jcp.xml.dsig.internal.dom.DOMXMLSignature.digestReference(Unknown Source)
org.jcp.xml.dsig.internal.dom.DOMXMLSignature.sign(Unknown Source)
org.jboss.seam.security.external.saml.SamlSignatureUtilForPostBinding.sign(SamlSignatureUtilForPostBinding.java:109)
org.jboss.seam.security.external.saml.SamlMessageSender.sendMessage(SamlMessageSender.java:189)
org.jboss.seam.security.external.saml.SamlMessageSender.sendResponse(SamlMessageSender.java:137)
org.jboss.seam.security.external.saml.SamlMessageSender$Proxy$_$$_WeldClientProxy.sendResponse(SamlMessageSender$Proxy$_$$_WeldClientProxy.java)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService.sendAuthenticationResponse(SamlIdpSingleSignOnService.java:74)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService.handleSucceededAuthentication(SamlIdpSingleSignOnService.java:61)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.handleSucceededAuthentication(SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.java)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:84)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:112)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:88)
org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:53)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.handleSucceededAuthentication(SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.java)
org.jboss.seam.security.external.saml.idp.SamlIdpBean.authenticationSucceeded(SamlIdpBean.java:146)
org.jboss.seam.security.external.saml.idp.SamlIdpBean$Proxy$_$$_WeldSubclass.authenticationSucceeded(SamlIdpBean$Proxy$_$$_WeldSubclass.java)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:84)
org.jboss.weld.interceptor.proxy.InterceptorInvocationContext.proceed(InterceptorInvocationContext.java:127)
org.jboss.seam.security.external.dialogues.DialoguedInterceptor.intercept(DialoguedInterceptor.java:34)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.weld.interceptor.proxy.SimpleMethodInvocation.invoke(SimpleMethodInvocation.java:30)
org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:68)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:112)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:88)
org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:53)
org.jboss.seam.security.external.saml.idp.SamlIdpBean$Proxy$_$$_WeldSubclass.authenticationSucceeded(SamlIdpBean$Proxy$_$$_WeldSubclass.java)
org.jboss.seam.security.external.saml.idp.SamlIdpBean$Proxy$_$$_WeldClientProxy.authenticationSucceeded(SamlIdpBean$Proxy$_$$_WeldClientProxy.java)
org.jboss.seam.security.externaltest.integration.saml.idp.SamlIdpApplicationMock.handleLogin(SamlIdpApplicationMock.java:47)
org.jboss.seam.security.externaltest.integration.saml.idp.SamlIdpApplicationMock$Proxy$_$$_WeldClientProxy.handleLogin(SamlIdpApplicationMock$Proxy$_$$_WeldClientProxy.java)
org.jboss.seam.security.externaltest.integration.saml.idp.IdpTestServlet.doGet(IdpTestServlet.java:29)
javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
</pre></p><p><b>root cause</b> <pre>com.sun.org.apache.xml.internal.security.transforms.InvalidTransformException: Unknown transformation. No handler installed for URI http://www.w3.org/2000/09/xmldsig#enveloped-signature
com.sun.org.apache.xml.internal.security.transforms.Transform.<init>(Transform.java:97)
com.sun.org.apache.xml.internal.security.transforms.Transform.getInstance(Transform.java:235)
org.jcp.xml.dsig.internal.dom.ApacheTransform.transformIt(ApacheTransform.java:99)
org.jcp.xml.dsig.internal.dom.ApacheTransform.transform(ApacheTransform.java:87)
org.jcp.xml.dsig.internal.dom.DOMTransform.transform(Unknown Source)
org.jcp.xml.dsig.internal.dom.DOMReference.transform(Unknown Source)
org.jcp.xml.dsig.internal.dom.DOMReference.digest(Unknown Source)
org.jcp.xml.dsig.internal.dom.DOMXMLSignature.digestReference(Unknown Source)
org.jcp.xml.dsig.internal.dom.DOMXMLSignature.sign(Unknown Source)
org.jboss.seam.security.external.saml.SamlSignatureUtilForPostBinding.sign(SamlSignatureUtilForPostBinding.java:109)
org.jboss.seam.security.external.saml.SamlMessageSender.sendMessage(SamlMessageSender.java:189)
org.jboss.seam.security.external.saml.SamlMessageSender.sendResponse(SamlMessageSender.java:137)
org.jboss.seam.security.external.saml.SamlMessageSender$Proxy$_$$_WeldClientProxy.sendResponse(SamlMessageSender$Proxy$_$$_WeldClientProxy.java)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService.sendAuthenticationResponse(SamlIdpSingleSignOnService.java:74)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService.handleSucceededAuthentication(SamlIdpSingleSignOnService.java:61)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.handleSucceededAuthentication(SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.java)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:84)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:112)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:88)
org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:53)
org.jboss.seam.security.external.saml.idp.SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.handleSucceededAuthentication(SamlIdpSingleSignOnService$Proxy$_$$_WeldSubclass.java)
org.jboss.seam.security.external.saml.idp.SamlIdpBean.authenticationSucceeded(SamlIdpBean.java:146)
org.jboss.seam.security.external.saml.idp.SamlIdpBean$Proxy$_$$_WeldSubclass.authenticationSucceeded(SamlIdpBean$Proxy$_$$_WeldSubclass.java)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:84)
org.jboss.weld.interceptor.proxy.InterceptorInvocationContext.proceed(InterceptorInvocationContext.java:127)
org.jboss.seam.security.external.dialogues.DialoguedInterceptor.intercept(DialoguedInterceptor.java:34)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.jboss.weld.interceptor.proxy.SimpleMethodInvocation.invoke(SimpleMethodInvocation.java:30)
org.jboss.weld.interceptor.proxy.SimpleInterceptionChain.invokeNextInterceptor(SimpleInterceptionChain.java:68)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:112)
org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:88)
org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:53)
org.jboss.seam.security.external.saml.idp.SamlIdpBean$Proxy$_$$_WeldSubclass.authenticationSucceeded(SamlIdpBean$Proxy$_$$_WeldSubclass.java)
org.jboss.seam.security.external.saml.idp.SamlIdpBean$Proxy$_$$_WeldClientProxy.authenticationSucceeded(SamlIdpBean$Proxy$_$$_WeldClientProxy.java)
org.jboss.seam.security.externaltest.integration.saml.idp.SamlIdpApplicationMock.handleLogin(SamlIdpApplicationMock.java:47)
org.jboss.seam.security.externaltest.integration.saml.idp.SamlIdpApplicationMock$Proxy$_$$_WeldClientProxy.handleLogin(SamlIdpApplicationMock$Proxy$_$$_WeldClientProxy.java)
org.jboss.seam.security.externaltest.integration.saml.idp.IdpTestServlet.doGet(IdpTestServlet.java:29)
javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the JBoss Web/7.0.15.Final logs.</u></p><HR size="1" noshade="noshade"><h3>JBoss Web/7.0.15.Final</h3></body></html>
at junit.framework.Assert.fail(Assert.java:47)
at org.jboss.seam.security.externaltest.integration.client.IntegrationTest.checkApplicationMessage(IntegrationTest.java:316)
at org.jboss.seam.security.externaltest.integration.client.IntegrationTest.samlSignOn(IntegrationTest.java:219)
at org.jboss.seam.security.externaltest.integration.client.IntegrationTest.samlTest(IntegrationTest.java:101)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:270)
at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
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.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:53)
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.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)
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.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:89)
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.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
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.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
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.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:111)
at org.jboss.arquillian.junit.Arquillian$6.evaluate(Arquillian.java:263)
at org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:226)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:240)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:185)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
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.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] (SEAM-135) <s:validateForm tag and <h:selectOneMenu with defined listener problem
by Artur Mioduszewski (JIRA)
Artur Mioduszewski created SEAM-135:
---------------------------------------
Summary: <s:validateForm tag and <h:selectOneMenu with defined listener problem
Key: SEAM-135
URL: https://issues.jboss.org/browse/SEAM-135
Project: Seam 3 Distribution
Issue Type: Bug
Affects Versions: 3.1.0.Final
Environment: JDK1.6,
JBoss 6.0.Final,
richfaces 4.1.0.Final/4.2.0.Final
seam 3.1
IE 9, Chrome
Reporter: Artur Mioduszewski
When for <s:validateForm tag, <h:selectOneMenu component with defined listener is passed java.lang.IndexOutOfBoundsException exception occurs.
Everything works fine if <h:selectOneMenu component has no defined listener.
{code:title="Error log from JBoss console"}
00:55:02,274 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/digital-signal-service6-dev].[default]] Servlet.service() for servlet default threw exception:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547) [:1.6.0_24]
at java.util.ArrayList.get(ArrayList.java:322) [:1.6.0_24]
at javax.faces.component.AttachedObjectListHolder.restoreState(AttachedObjectListHolder.java:161) [:2.0.3-]
at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1428) [:2.0.3-]
at javax.faces.component.UIOutput.restoreState(UIOutput.java:251) [:2.0.3-]
at javax.faces.component.UIInput.restoreState(UIInput.java:1374) [:2.0.3-]
at javax.faces.component.StateHolderSaver.restore(StateHolderSaver.java:117) [:2.0.3-]
at javax.faces.component.UIComponentBase.restoreAttachedState(UIComponentBase.java:1639) [:2.0.3-]
at javax.faces.component.ComponentStateHelper.restoreState(ComponentStateHelper.java:290) [:2.0.3-]
at javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1445) [:2.0.3-]
at javax.faces.component.UIOutput.restoreState(UIOutput.java:251) [:2.0.3-]
at javax.faces.component.UIInput.restoreState(UIInput.java:1374) [:2.0.3-]
at com.sun.faces.application.view.StateManagementStrategyImpl$1.visit(StateManagementStrategyImpl.java:242) [:2.0.3-]
at com.sun.faces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:147) [:2.0.3-]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1476) [:2.0.3-]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1487) [:2.0.3-]
at org.richfaces.component.AbstractTogglePanel.visitTree(AbstractTogglePanel.java:743) [:4.2.1.Final]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1487) [:2.0.3-]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1487) [:2.0.3-]
at javax.faces.component.UIForm.visitTree(UIForm.java:322) [:2.0.3-]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1487) [:2.0.3-]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1487) [:2.0.3-]
at com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStrategyImpl.java:234) [:2.0.3-]
at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:177) [:2.0.3-]
at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:119) [:2.0.3-]
at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:438) [:2.0.3-]
at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:144) [:2.0.3-]
at com.ocpsoft.pretty.faces.application.PrettyViewHandler.restoreView(PrettyViewHandler.java:103) [:]
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:284) [:2.0.3-]
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:284) [:2.0.3-]
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:284) [:2.0.3-]
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:182) [:2.0.3-]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-]
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107) [:2.0.3-]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114) [:2.0.3-]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.3-]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:118) [:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407) [:6.0.0.Final]
at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:110) [:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at pl.ITIGroup.digital.signal.web.common.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:32) [:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at pl.ITIGroup.digital.signal.web.common.filter.DevelopmentFilter.doFilter(DevelopmentFilter.java:60) [:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
<code>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] (JBSEAM-4894) Seam2.3 Contactlist example doesn't work if deployed together with the booking example on JBoss5
by Marek Schmidt (JIRA)
Marek Schmidt created JBSEAM-4894:
-------------------------------------
Summary: Seam2.3 Contactlist example doesn't work if deployed together with the booking example on JBoss5
Key: JBSEAM-4894
URL: https://issues.jboss.org/browse/JBSEAM-4894
Project: Seam 2
Issue Type: Bug
Components: Core
Environment: seam 2.3.0-SNAPSHOT r14273
Reporter: Marek Schmidt
Fix For: 2.3.0.BETA1
Deploying both booking and contactlist examples on JBoss AS 5.1 or EAP 5.1.2 leads to the contactlist example not working. Deploying only the contactlist example works correctly.
it appears the namespace initialization is not working properly, as only the seam-ui is initialized during the contactlist deployment:
{noformat}
[org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/ui, package: org.jboss.seam.ui, prefix: org.jboss.seam.ui
{noformat}
instead of the expected full list
{noformat}
2012-01-30 17:08:58,138 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: org.jboss.seam.async
2012-01-30 17:08:58,139 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework
2012-01-30 17:08:58,139 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
2012-01-30 17:08:58,139 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security.management, prefix: org.jboss.seam.security
2012-01-30 17:08:58,139 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: org.jboss.seam.bpm
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: org.jboss.seam.mail
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security, prefix: org.jboss.seam.security
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: org.jboss.seam.web
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/captcha, package: org.jboss.seam.captcha, prefix: org.jboss.seam.captcha
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, prefix: org.jboss.seam.navigation
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/international, package: org.jboss.seam.international, prefix: org.jboss.seam.international
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/cache, package: org.jboss.seam.cache, prefix: org.jboss.seam.cache
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/jmx, package: org.jboss.seam.jmx, prefix: org.jboss.seam.jmx
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/ui, package: org.jboss.seam.ui, prefix: org.jboss.seam.ui
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/transaction, package: org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/security, package: org.jboss.seam.security.permission, prefix: org.jboss.seam.security
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/persistence, package: org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
2012-01-30 17:08:58,140 DEBUG [org.jboss.seam.init.Initialization] (main) Namespace: http://jboss.com/products/seam/document, package: org.jboss.seam.document, prefix: org.jboss.seam.document
{noformat}
Debugging shows NamespaceDeploymentHandler doesn't see the @Namespace annotations during the contactlist deployment in the postProcess method, which seems odd:
{noformat}
public void postProcess(ClassLoader classLoader)
{
for (FileDescriptor fileDescriptor : getResources())
{
String packageName = filenameToPackageName(fileDescriptor.getName());
Package pkg = getPackage(packageName, classLoader);
if (pkg == null)
{
log.warn("Cannot load package info for " + packageName);
}
else
{
// THIS is false for all except the org.jboss.seam.ui package during the contactlist deployment
if (pkg.getAnnotation(Namespace.class) != null)
{
packages.add(pkg);
}
}
}
}
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (SEAMSECURITY-91) cannot delete user/role/group in idmconsole example on glassfish3.1.1
by Tomáš Remeš (JIRA)
cannot delete user/role/group in idmconsole example on glassfish3.1.1
---------------------------------------------------------------------
Key: SEAMSECURITY-91
URL: https://issues.jboss.org/browse/SEAMSECURITY-91
Project: Seam Security
Issue Type: Bug
Environment: glassfish3.1.1, seam-security-3.1.0.Beta2
Reporter: Tomáš Remeš
deletion fails:
Exception [EclipseLink-6089] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.QueryException
Exception Description: The expression has not been initialized correctly. Only a single ExpressionBuilder should be used for a query.
For parallel expressions, the query class must be provided to the ExpressionBuilder constructor, and the query's ExpressionBuilder must
always be on the left side of the expression.
Expression: [
Base org.jboss.seam.security.examples.idmconsole.model.IdentityObjectRelationship]
Query: ReadAllQuery(referenceClass=IdentityObjectRelationship )
at org.eclipse.persistence.exceptions.QueryException.noExpressionBuilderFound(QueryException.java:877)
at org.eclipse.persistence.expressions.ExpressionBuilder.getDescriptor(ExpressionBuilder.java:195)
at org.eclipse.persistence.internal.expressions.DataExpression.getMapping(DataExpression.java:214)
at org.eclipse.persistence.internal.expressions.QueryKeyExpression.getMapping(QueryKeyExpression.java:388)
at org.eclipse.persistence.internal.expressions.RelationExpression.isObjectComparison(RelationExpression.java:452)
at org.eclipse.persistence.internal.expressions.RelationExpression.normalize(RelationExpression.java:517)
at org.eclipse.persistence.internal.expressions.SQLSelectStatement.normalize(SQLSelectStatement.java:1300)
at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.buildNormalSelectStatement(ExpressionQueryMechanism.java:516)
at org.eclipse.persistence.internal.queries.ExpressionQueryMechanism.prepareSelectAllRows(ExpressionQueryMechanism.java:1602)
at org.eclipse.persistence.queries.ReadAllQuery.prepareSelectAllRows(ReadAllQuery.java:705)
at org.eclipse.persistence.queries.ReadAllQuery.prepare(ReadAllQuery.java:642)
at org.eclipse.persistence.queries.DatabaseQuery.checkPrepare(DatabaseQuery.java:598)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.checkPrepare(ObjectLevelReadQuery.java:839)
at org.eclipse.persistence.queries.DatabaseQuery.checkPrepare(DatabaseQuery.java:560)
at org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:797)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:1056)
at org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:390)
at org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1144)
at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2863)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1501)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1483)
at org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1457)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:485)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:742)
at org.jboss.seam.security.management.picketlink.JpaIdentityStore.removeRelationships(JpaIdentityStore.java:1404)
at org.jboss.seam.security.management.picketlink.JpaIdentityStore.removeIdentityObject(JpaIdentityStore.java:1243)
at org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository.removeIdentityObject(WrapperIdentityStoreRepository.java:158)
at org.picketlink.idm.impl.api.session.managers.PersistenceManagerImpl.removeUser(PersistenceManagerImpl.java:231)
at org.jboss.seam.security.management.action.UserAction.deleteUser(UserAction.java:116)
at org.jboss.seam.security.management.action.org$jboss$weld$bean-WEB-INF$lib$seam-security-3$1$0$Beta2-ManagedBean-org$jboss$seam$security$management$action$UserAction$@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)${org$jboss$seam$security$management$action$UserAction$conversation$@javax$inject$Inject()$$org$jboss$seam$security$management$action$UserAction$identitySession$@javax$inject$Inject()$$org$jboss$seam$security$management$action$UserAction$deleteUser$@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()$(java$lang$String)$org$jboss$seam$security$management$action$UserAction$save$@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()$()$}_$$_WeldClientProxy.deleteUser(org$jboss$weld$bean-WEB-INF$lib$seam-security-3$1$0$Beta2-ManagedBean-org$jboss$seam$security$management$action$UserAction$@javax$enterprise$context$ConversationScoped()@javax$inject$Named(value=)${org$jboss$seam$security$management$action$UserAction$conversation$@javax$inject$Inject()$$org$jboss$seam$security$management$action$UserAction$identitySession$@javax$inject$Inject()$$org$jboss$seam$security$management$action$UserAction$deleteUser$@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()$(java$lang$String)$org$jboss$seam$security$management$action$UserAction$save$@org$jboss$seam$transaction$Transactional(value=REQUIRED)@org$jboss$seam$transaction$TransactionalInterceptorBinding()$()$}_$$_WeldClientProxy.java)
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 javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:737)
at javax.el.BeanELResolver.invoke(BeanELResolver.java:467)
at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:254)
at com.sun.el.parser.AstValue.invoke(AstValue.java:228)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:315)
at javax.faces.component.UIData.broadcast(UIData.java:1093)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.jboss.seam.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.jboss.seam.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:72)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] (SEAMREST-57) Arquillian tests fail to start with java.lang.NoClassDefFoundError: org/jboss/osgi/spi/BundleInfo on AS7.1.1
by Marek Schmidt (JIRA)
Marek Schmidt created SEAMREST-57:
-------------------------------------
Summary: Arquillian tests fail to start with java.lang.NoClassDefFoundError: org/jboss/osgi/spi/BundleInfo on AS7.1.1
Key: SEAMREST-57
URL: https://issues.jboss.org/browse/SEAMREST-57
Project: Seam REST
Issue Type: Bug
Components: Build
Affects Versions: 3.1.0.Final
Environment: arquillian 1.0.0.Final, AS7.1.1.Final
Reporter: Marek Schmidt
Assignee: Marek Schmidt
Fix For: Future
{noformat}
java.lang.NoClassDefFoundError: org/jboss/osgi/spi/BundleInfo
at org.jboss.as.arquillian.container.OSGiApplicationArchiveProcessor.isValidOSGiBundle(OSGiApplicationArchiveProcessor.java:56)
at org.jboss.as.arquillian.container.OSGiApplicationArchiveProcessor.process(OSGiApplicationArchiveProcessor.java:43)
at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.applyApplicationProcessors(DeploymentGenerator.java:220)
at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.buildTestableDeployments(DeploymentGenerator.java:173)
at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.createTestableDeployments(DeploymentGenerator.java:148)
at org.jboss.arquillian.container.test.impl.client.deployment.DeploymentGenerator.generateDeployment(DeploymentGenerator.java:85)
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.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:100)
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.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
at sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:90)
at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)
at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
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.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
Caused by: java.lang.ClassNotFoundException: org.jboss.osgi.spi.BundleInfo
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 57 more
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (SEAMFACES-187) Seam faces failes to deployt without Pretty faces on AS7
by George Gastaldi (JIRA)
Seam faces failes to deployt without Pretty faces on AS7
--------------------------------------------------------
Key: SEAMFACES-187
URL: https://issues.jboss.org/browse/SEAMFACES-187
Project: Seam Faces
Issue Type: Bug
Environment: JBoss AS7. Indigo, M2Eclipse
Reporter: George Gastaldi
When deploying a war file with only the dependency below, an error is thrown:
{code:xml}
<dependency>
<groupId>org.jboss.seam.faces</groupId>
<artifactId>seam-faces</artifactId>
<version>3.0.2.Final</version><!--$NO-MVN-MAN-VER$ -->
</dependency>
{code}
{code:java}
18:59:50,935 WARN [org.jboss.modules] (MSC service thread 1-4) Failed to define class org.jboss.seam.faces.rewrite.RewriteConfiguration in Module "deployment.exemplo-web.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/seam/faces/rewrite/RewriteConfiguration (Module "deployment.exemplo-web.war:main" from Service Module Loader)
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:401)
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261)
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76)
at org.jboss.modules.Module.loadModuleClass(Module.java:588)
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:183)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
at org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68) [jboss-as-weld-7.0.0.Final.jar:7.0.0.Final]
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:83) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:133) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:191) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:368) [weld-core-1.1.2.AS7.jar:2011-07-06 12:26]
at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:81) [jboss-as-weld-7.0.0.Final.jar:7.0.0.Final]
at org.jboss.as.weld.services.WeldService.start(WeldService.java:89) [jboss-as-weld-7.0.0.Final.jar:7.0.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
Caused by: java.lang.NoClassDefFoundError: com/ocpsoft/pretty/faces/spi/ConfigurationProvider
at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_24]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [:1.6.0_24]
at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_24]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_24]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397)
... 19 more
Caused by: java.lang.ClassNotFoundException: com.ocpsoft.pretty.faces.spi.ConfigurationProvider from [Module "deployment.exemplo-web.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
... 24 more
{code}
I believe this is due to having a class extending a Pretty faces class that is not on my lib, but that shouldn´t be required
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months