[jboss-user] [JBoss Seam] - Re: Integration Testing with TestNG and embeddedEjb

dheerajsega do-not-reply at jboss.com
Mon Nov 19 12:49:27 EST 2007


I have been facing with the similar kind of error in testing as shown below.


  | javax.el.PropertyNotFoundException: ELResolver cannot handle a null base Object with identifier 'user'
  | 	at com.sun.el.lang.ELSupport.throwUnhandled(ELSupport.java:52)
  | 	at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:75)
  | 	at com.sun.el.parser.AstValue.getValue(AstValue.java:114)
  | 	at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:195)
  | 	at org.jboss.seam.util.UnifiedELValueBinding.getValue(UnifiedELValueBinding.java:34)
  | 	at org.jboss.seam.mock.SeamTest$Request.getValue(SeamTest.java:366)
  | 	at AuthenticatorActionTest$2.renderResponse(AuthenticatorActionTest.java:48)
  | 	at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:521)
  | 	at AuthenticatorActionTest.testLogin(AuthenticatorActionTest.java:28)
  | 	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:529)
  | 	at org.testng.internal.Invoker.invokeMethod(Invoker.java:398)
  | 	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:625)
  | 	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:88)
  | 	at org.testng.TestRunner.privateRun(TestRunner.java:614)
  | 	at org.testng.TestRunner.run(TestRunner.java:505)
  | 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221)
  | 	at org.testng.SuiteRunner.run(SuiteRunner.java:147)
  | 	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:576)
  | 	at org.testng.TestNG.runSuitesLocally(TestNG.java:539)
  | 	at org.testng.TestNG.run(TestNG.java:316)
  | 	at org.testng.TestNG.privateMain(TestNG.java:666)
  | 	at org.testng.TestNG.main(TestNG.java:608)

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

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



More information about the jboss-user mailing list