9 Replies Latest reply on Oct 18, 2006 7:29 AM by Richard Leherpeur

    java.lang.UnsupportedOperationException

    Richard Leherpeur Novice

      I'm using jboss-seam-CVS.20061013, myfaces 1.1.4, tomahawk 1.1.3

      I get the following error:

      java.lang.UnsupportedOperationException
       at org.jboss.seam.core.ResourceBundle$1.getKeys(ResourceBundle.java:103)
       at org.jboss.seam.core.Messages$1.entrySet(Messages.java:83)
       at java.util.AbstractMap.toString(AbstractMap.java:584)
       at java.lang.String.valueOf(String.java:2577)
       at java.lang.StringBuffer.append(StringBuffer.java:220)
       at org.apache.myfaces.el.PropertyResolverImpl.setValue(PropertyResolverImpl.java:155)
       at com.sun.facelets.el.LegacyELContext$LegacyELResolver.setValue(LegacyELContext.java:201)
       at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
       at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
       at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:93)
       at com.sun.facelets.el.LegacyValueBinding.setValue(LegacyValueBinding.java:68)
       at javax.faces.component.UIInput.updateModel(UIInput.java:226)
       at javax.faces.component.UIInput.processUpdates(UIInput.java:165)
       at javax.faces.component.UIForm.processUpdates(UIForm.java:85)
       at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:428)
       at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:153)
       at org.apache.myfaces.lifecycle.LifecycleImpl.updateModelValues(LifecycleImpl.java:277)
       at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:81)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:33)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:595)
      


      This is happening when trying to upload a file using the tomahawk upload tag. It was working fine with a earlier version of seam.

      Any idea?

      Richard

        • 3. Re: java.lang.UnsupportedOperationException
          Richard Leherpeur Novice

          Thanks. Let me know when you fix it and I'll test the according build.

          • 5. Re: java.lang.UnsupportedOperationException
            Richard Leherpeur Novice

            Is it supposed to be fixed in jboss-seam-CVS.20061015?
            I still have the same issue in that one. I'll try with the next build.

            • 6. Re: java.lang.UnsupportedOperationException
              Richard Leherpeur Novice

              In build jboss-seam-CVS.20061016 I get this:

              java.util.NoSuchElementException
               at org.jboss.seam.util.EnumerationEnumeration.nextElement(EnumerationEnumeration.java:34)
               at org.jboss.seam.core.Messages$1.entrySet(Messages.java:87)
               at java.util.AbstractMap.toString(AbstractMap.java:584)
               at java.lang.String.valueOf(String.java:2577)
               at java.lang.StringBuffer.append(StringBuffer.java:220)
               at org.apache.myfaces.el.PropertyResolverImpl.setValue(PropertyResolverImpl.java:155)
               at com.sun.facelets.el.LegacyELContext$LegacyELResolver.setValue(LegacyELContext.java:201)
               at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
               at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
               at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:93)
               at com.sun.facelets.el.LegacyValueBinding.setValue(LegacyValueBinding.java:68)
               at javax.faces.component.UIInput.updateModel(UIInput.java:226)
               at javax.faces.component.UIInput.processUpdates(UIInput.java:165)
               at javax.faces.component.UIForm.processUpdates(UIForm.java:85)
               at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:428)
               at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:153)
               at org.apache.myfaces.lifecycle.LifecycleImpl.updateModelValues(LifecycleImpl.java:277)
               at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:81)
               at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
               at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
               at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:33)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
               at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
               at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
               at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
               at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
               at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
               at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
               at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
               at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
               at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
               at java.lang.Thread.run(Thread.java:595)
              


              • 8. Re: java.lang.UnsupportedOperationException
                Richard Leherpeur Novice

                I'll check the next build then :)

                • 9. Re: java.lang.UnsupportedOperationException
                  Richard Leherpeur Novice

                  Works fine in jboss-seam-CVS.20061018
                  Thanks.