[jboss-user] [JBoss Seam] - Re: Test Case Seam application

urswag do-not-reply at jboss.com
Thu Aug 9 07:58:47 EDT 2007


What shall I delete? 
I get an inconsistency when I start the test.


  | java.lang.RuntimeException: Could not create Component: org.jboss.seam.security.identity
  | 	at org.jboss.seam.init.Initialization.addComponent(Initialization.java:908)
  | 	at org.jboss.seam.init.Initialization.installComponents(Initialization.java:839)
  | 	at org.jboss.seam.init.Initialization.init(Initialization.java:506)
  | 	at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:864)
  | 	at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:585)
  | 	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
  | 	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:394)
  | 	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
  | 	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:79)
  | 	at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:165)
  | 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103)
  | 	at org.testng.TestRunner.runWorkers(TestRunner.java:678)
  | 	at org.testng.TestRunner.privateRun(TestRunner.java:624)
  | 	at org.testng.TestRunner.run(TestRunner.java:495)
  | 	at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
  | 	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
  | 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
  | 	at org.testng.SuiteRunner.run(SuiteRunner.java:190)
  | 	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
  | 	at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
  | 	at org.testng.TestNG.run(TestNG.java:699)
  | 	at org.testng.TestNG.privateMain(TestNG.java:824)
  | 	at org.testng.TestNG.main(TestNG.java:802)
  | Caused by: java.lang.IllegalArgumentException: no such setter method: org.jboss.seam.security.Identity.securityRules
  | 	at org.jboss.seam.util.Reflections.getSetterMethod(Reflections.java:220)
  | 	at org.jboss.seam.Component.initInitializers(Component.java:431)
  | 	at org.jboss.seam.Component.<init>(Component.java:257)
  | 	at org.jboss.seam.Component.<init>(Component.java:207)
  | 	at org.jboss.seam.init.Initialization.addComponent(Initialization.java:894)
  | 	... 26 more
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072453#4072453

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072453



More information about the jboss-user mailing list