[jboss-user] [JBoss Seam] - CR1 -> CR2 Problem: PropertyNotFoundException: Property 'jb

roeber do-not-reply at jboss.com
Fri Dec 1 05:44:24 EST 2006


After switching to Seam's CR2 jars my Seam test runs into the following exception. This exception seems to be thrown by 

  | validateValue("#{login.password}", "test");
  | 
where login is an (action) component:

  | @Stateful
  | @Scope(ScopeType.SESSION)
  | @Name("login")
  | public class LoginAction implements Login {
  | ...
  | 

Switching back and everything works fine. Any ideas?

--
Axel

-----------------
javax.ejb.EJBException: javax.el.PropertyNotFoundException: Property 'jboss' is not found on type: org.jboss.seam.Namespace
	at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
	at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
	at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
	at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
	at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
	at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
	at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:189)
	at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
	at $Proxy93.setPassword(Unknown Source)
	at net.tmobile.remaid.action.Login$$FastClassByCGLIB$$8da4e8f4.invoke()
	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
	at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
	at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:69)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
	at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
	at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
	at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:38)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
	at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
	at org.jboss.seam.interceptors.SynchronizationInterceptor.serialize(SynchronizationInterceptor.java:30)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
	at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
	at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
	at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
	at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:78)
	at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:47)
	at net.tmobile.remaid.action.Login$$EnhancerByCGLIB$$45cc5c1f.setPassword()
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at javax.el.BeanELResolver.setValue(BeanELResolver.java:313)
	at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:275)
	at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
	at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
	at org.jboss.seam.util.UnifiedELValueBinding.setValue(UnifiedELValueBinding.java:44)
	at org.jboss.seam.mock.SeamTest$Request.setValue(SeamTest.java:363)
	at test.LoginFacesRequest$1.updateModelValues(LoginFacesRequest.java:30)
	at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:465)
	at test.LoginTest2.testLogin(LoginTest2.java:55)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:623)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:424)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:800)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:132)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:120)
	at org.testng.TestRunner.runWorkers(TestRunner.java:665)
	at org.testng.TestRunner.privateRun(TestRunner.java:636)
	at org.testng.TestRunner.run(TestRunner.java:513)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:279)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:264)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:244)
	at org.testng.SuiteRunner.run(SuiteRunner.java:168)
	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:989)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:953)
	at org.testng.TestNG.run(TestNG.java:701)
	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:122)
Caused by: javax.el.PropertyNotFoundException: Property 'jboss' is not found on type: org.jboss.seam.Namespace
	at javax.el.BeanELResolver.getValue(BeanELResolver.java:230)
	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:135)
	at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
	at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
	at org.jboss.seam.util.UnifiedELValueBinding.getValue(UnifiedELValueBinding.java:34)
	at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:51)
	at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1668)
	at org.jboss.seam.Component.getInstance(Component.java:1617)
	at org.jboss.seam.Component.getInstance(Component.java:1594)
	at org.jboss.seam.Component.getInstanceToInject(Component.java:1844)
	at org.jboss.seam.Component.injectFields(Component.java:1344)
	at org.jboss.seam.Component.inject(Component.java:1114)
	at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:48)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
	at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
	at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:79)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
	at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
	at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
	at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
	at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:51)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
	at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
	at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
	at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
	at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:49)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
	at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
	at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:71)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
	at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
	at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
	... 84 more


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

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



More information about the jboss-user mailing list