Error when deploying as ear, ok when deploying as war, why?
Hello all,
I have a strange problem with a JSF project that uses myfaces and shale. I'm using Netbeans 5.5, and all works fine when the web application is deployed independently as a war, but when deploy the full ear i have the following error:
java.lang.NullPointerException
at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:75)
. I'm using a 'mock' application with no complex ejbs and jsps, so I discard a component problem. Someone have experimented this problem?
Thanks in advance.
[543 byte] By [
Dani_drioa] at [2007-11-27 4:43:06]

# 1
I don't have an answer... but you may want to provide a bit more info.
More depth to the stack may help.
Which versions of myfaces and shale might be useful, too.
The nbj2ee mailing list might have more expertise on this, too. You may want to raise this question there.
vbk
# 2
Thanks vbk,
I resolved 'partially' the problem not including the myfaces jars in the ear. So the application server uses the sun jsf implementation and all works fine. lamentably I don't know the answer, i suppose a class loading preference problem ... I any case, i would be interested if someone uses the myfaces implementation in the sun app server 9 (myfaces includes some interesting features). I proved the myfaces 1.1.3, 1.1.4 and 1.1.5 versions and all have the same problem.
In relation with this same post, i found anohter problem: shale tiger annotations make jee5 annotations fail. I looked in the shale forums and seems this combination is incompatible. Someone use tiger annotations?
Thanks.