[
https://jira.jboss.org/jira/browse/JBAS-7032?page=com.atlassian.jira.plug...
]
Stan Silvert commented on JBAS-7032:
------------------------------------
Shelly, I reproduced the NPE you were talking about:
12:36:01,025 ERROR [Digester] End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:217)
at org.apache.commons.digester.Rule.end(Rule.java:253)
at org.apache.commons.digester.Digester.endElement(Digester.java:1222)
Caused by: java.lang.NullPointerException
at
org.ajax4jsf.resource.InternetResourceBase.restoreData(InternetResourceBase.java:248)
at
org.richfaces.renderkit.html.Paint2DResource.getRenderer(Paint2DResource.java:68)
at
org.ajax4jsf.resource.ResourceBuilderImpl.addResource(ResourceBuilderImpl.java:406)
This is easily reproduced by just cold-deploying the EAR attached to this JIRA. However,
this EAR has several web jars that are in WhatUpDawg.ear/lib that probably shouldn't
be there. I moved these to WhatUpDawg.ear/WhatUpDawg.war/WEB-INF/lib:
jsf-facelets.jar
jsf-tlds.jar (You shouldn't need this because the server exposes a global copy)
jstl.jar (You shouldn't need this because the server exposes a global copy)
richfaces-api-3.3.1.GA.jar
richfaces-impl-3.3.1.GA.jar
richfaces-ui-3.3.1.GA.jar
So with these "web" jars in the proper place, Shelly's problem goes away.
Was there some reason that you wanted to move Facelets and RichFaces outside of the war?
Getting invalid deployment on what appears to be valid, a webbeans
ear file.
----------------------------------------------------------------------------
Key: JBAS-7032
URL:
https://jira.jboss.org/jira/browse/JBAS-7032
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Deployers
Environment: JBoss AS 5.1
JDK 1.6 u 13
OpenSuSe 11.1 / SLES 10.2
Reporter: John Ament
Assignee: Shelly McGowan
Priority: Blocker
Fix For: JBossAS-5.2.0.Beta1
Attachments: WhatUpDawg.ear
The best description I can give is from the forum.
Basically, I have an EAR that appears to be completely valid, it's 2 war's and 1
ejb module. It's built using web beans. I get the described stack trace when either
deploying via the UI or just dropping the EAR file in deploy. However, I get different
results. When I drop the ear in and restart, it loads perfectly (my app) but embedded
jopr fails.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira