1 Reply Latest reply on Nov 15, 2007 9:57 AM by Pete Muir

    problems running new seamgen-created project

    Stuart Robertson Novice

      Is anyone else able to run a newly-created seamgen project? Seam from cvs head. Build seam, run seamgen. Deploy the project to Jboss 4.2.2. For me it explodes while starting up Identity, spitting out such large stacktraces that I'm having trouble diagnosing. I added some extra info to Component:1769, and here's what I'm seeing:


      15:53:48,229 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException: could not set property value: org.jboss.seam.security.identity.setRememberMe using method public void org.jboss.seam.security.Identity.setRememberMe(boolean) on object org.jboss.seam.security.RuleBasedIdentity@20a258. root message is
      Could not instantiate Seam component: org.jboss.seam.security.identity. not passing exception.
      15:53:48,229 ERROR [STDERR] at org.jboss.seam.Component.setPropertyValue(Component.java:1770)
      15:53:48,229 ERROR [STDERR] at org.jboss.seam.Component.initialize(Component.java:1382)
      15:53:48,229 ERROR [STDERR] at org.jboss.seam.Component.instantiateJavaBean(Component.java:1307)
      15:53:48,229 ERROR [STDERR] at org.jboss.seam.Component.instantiate(Component.java:1260)
      15:53:48,230 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1959)
      15:53:48,230 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1866)
      15:53:48,230 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1845)
      15:53:48,230 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1822)
      15:53:48,230 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1817)
      15:53:48,230 ERROR [STDERR] at org.jboss.seam.security.Identity.instance(Identity.java:141)
      15:53:48,230 ERROR [STDERR] at org.jboss.seam.security.FacesSecurityEvents.postRememberMe(FacesSecurityEvents.java:80)
      15:53:48,230 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source)
      15:53:48,230 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:53:48,230 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      15:53:48,230 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
      15:53:48,230 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:126)
      15:53:48,230 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:2075)
      15:53:48,230 ERROR [STDERR] at org.jboss.seam.core.Events.raiseEvent(Events.java:84)
      15:53:48,231 ERROR [STDERR] at org.jboss.seam.security.Identity.setRememberMe(Identity.java:588)
      15:53:48,231 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source)

      Is this just me? If not I'll be happy to file in Jira.