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

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Tue Oct 26 03:27:54 EDT 2010


     [ https://jira.jboss.org/browse/WELD-740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas closed WELD-740.
-------------------------------

    Resolution: Cannot Reproduce Bug


Sorry, this was my bad. Lincoln was having trouble with this on Glassfish and I did not check that is had already been fixed. 

> 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