0 Replies Latest reply on Oct 27, 2010 4:01 PM by Franck Garcia

    NPE when log level is TRACE

    Franck Garcia Newbie

      I'm using WELD-SE 1.1.0.beta1, if I open log to TRACE level on cat org.jboss.weld I have this NPE:


      Exception in thread "main" java.lang.NullPointerException
           at org.jboss.weld.util.reflection.Formats.formatIterable(Formats.java:192)
           at org.jboss.weld.util.reflection.Formats.formatTypes(Formats.java:134)
           at org.jboss.weld.bean.DecoratorImpl.toString(DecoratorImpl.java:288)
           at java.text.MessageFormat.subformat(MessageFormat.java:1246)
           at java.text.MessageFormat.format(MessageFormat.java:836)
           at java.text.Format.format(Format.java:140)
           at java.text.MessageFormat.format(MessageFormat.java:812)
           at ch.qos.cal10n.MessageConveyor.getMessage(MessageConveyor.java:89)
           at org.jboss.weld.logging.WeldMessageConveyor.getMessage(WeldMessageConveyor.java:78)
           at org.slf4j.cal10n.LocLogger.trace(LocLogger.java:72)
           at org.jboss.weld.bean.AbstractBean.initDefaultQualifiers(AbstractBean.java:218)
           at org.jboss.weld.bean.AbstractBean.initQualifiers(AbstractBean.java:210)
           at org.jboss.weld.bean.ManagedBean.<init>(ManagedBean.java:327)
           at org.jboss.weld.bean.DecoratorImpl.<init>(DecoratorImpl.java:112)
           at org.jboss.weld.bean.DecoratorImpl.of(DecoratorImpl.java:97)
           at org.jboss.weld.bootstrap.AbstractBeanDeployer.createDecorator(AbstractBeanDeployer.java:249)
           at org.jboss.weld.bootstrap.BeanDeployer.createBeans(BeanDeployer.java:165)
           at org.jboss.weld.bootstrap.BeanDeployment.deployBeans(BeanDeployment.java:189)
           at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:412)
           at org.jboss.weld.environment.se.Weld.initialize(Weld.java:91)
           at org.jboss.weld.environment.se.StartMain.go(StartMain.java:45)
           at org.jboss.weld.environment.se.StartMain.main(StartMain.java:57)