[weld-issues] [JBoss JIRA] Commented: (WELD-740) NCDFE in Introspection process should not cause deployment to fail

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Tue Oct 26 12:07:55 EDT 2010


    [ https://jira.jboss.org/browse/WELD-740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559383#action_12559383 ] 

Lincoln Baxter III commented on WELD-740:
-----------------------------------------

This is indeed resolved on JBoss AS, I just re-verified with a clean server install and fresh builds. Sorry for the noise.


> NCDFE in Introspection process should not cause deployment to fail
> ------------------------------------------------------------------
>
>                 Key: WELD-740
>                 URL: https://jira.jboss.org/browse/WELD-740
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.1.0.Beta1
>            Reporter: Stuart Douglas
>
> Currently a NoClassDefFoundError in the introspection process causes the deployment to fail, I think that it should just log a warning and continue, so that we can support optional dependencies. 
> Currently the exception is thrown is:
> Caused by: java.lang.NoClassDefFoundError: Lorg/jboss/seam/persistence/PersistenceContexts;
>         at java.lang.Class.getDeclaredFields0(Native Method)
>         at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
>         at java.lang.Class.getDeclaredFields(Class.java:1743)
>         at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:115)
>         at org.jboss.weld.util.reflection.SecureReflections$4.work(SecureReflections.java:111)
>         at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
>         at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:67)
>         at org.jboss.weld.util.reflection.SecureReflections.getDeclaredFields(SecureReflections.java:110)
>         at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:177)
>         at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:140)
>         at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:50)
>         at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:38)
>         at com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:592) 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list