4 Replies Latest reply on Jul 18, 2010 2:46 AM by Stuart Douglas

    ConversationImpl.toString thrwos Exception

    pandora pandora Newbie

      Hi,


      I am just messing around with Wicket and Weld right now, so my setup is anything else than proper. However I got this exception just from a toString() method, I don't think that's too great, since it obfuscates rather than helps.


      ConversationImpl.toString


      org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active contexts for scope type @ConversationScoped
           at org.jboss.weld.conversation.ConversationImpl.checkConversationActive(ConversationImpl.java:79)
           at org.jboss.weld.conversation.ConversationImpl.isTransient(ConversationImpl.java:234)
           at org.jboss.weld.conversation.ConversationImpl.toString(ConversationImpl.java:199)
           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.proxy.ClientProxyMethodHandler.invoke(ClientProxyMethodHandler.java:114)
           at org.jboss.weld.util.CleanableMethodHandler.invoke(CleanableMethodHandler.java:43)
           at org.jboss.weld.conversation.ConversationImpl$$javassist0.getUnderlyingId(ConversationImpl$$javassist0.java)
           at org.jboss.weld.wicket.WeldRequestCycle.onRequestTargetSet(WeldRequestCycle.java:100)
           at org.apache.wicket.RequestCycle$1.add(RequestCycle.java:253)