[jboss-user] [JBoss Seam] - jboss-el doesn't include javax.el.LocalStrings?

matt.drees do-not-reply at jboss.com
Mon Jun 18 22:09:32 EDT 2007


Sometimes I get a stracktrace looking like this:

  | javax.el.ELException: java.util.MissingResourceException: Can't find bundle for base name javax.el.LocalStrings, locale en_US
  | 	at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
  | 	at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:338)
  | 	at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
  | 	at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
  | 	at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | 	at org.jboss.seam.mock.BaseSeamTest$Request.invokeMethod(BaseSeamTest.java:452)
  | 	at org.jboss.seam.mock.BaseSeamTest$Request.invokeAction(BaseSeamTest.java:463)
  | 	at org.uscm.crs.registration.FamilyRegistrationTest$4.invokeApplication(FamilyRegistrationTest.java:98)
  | 	at org.jboss.seam.mock.BaseSeamTest$Request.invokeApplicationPhase(BaseSeamTest.java:600)
  | 	at org.jboss.seam.mock.BaseSeamTest$Request.emulateJsfLifecycle(BaseSeamTest.java:552)
  | 	at org.jboss.seam.mock.BaseSeamTest$Request.run(BaseSeamTest.java:483)
  | 	at org.uscm.crs.registration.FamilyRegistrationTest.createFamilyRegistration(FamilyRegistrationTest.java:101)
  | 	at org.uscm.crs.registration.FamilyRegistrationTest.singleRegistration(FamilyRegistrationTest.java:56)
  | Caused by: java.util.MissingResourceException: Can't find bundle for base name javax.el.LocalStrings, locale en_US
  | 	at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
  | 	at java.util.ResourceBundle.getBundleImpl(Unknown Source)
  | 	at java.util.ResourceBundle.getBundle(Unknown Source)
  | 	at javax.el.ELResolver.message(ELResolver.java:40)
  | 	at javax.el.BeanELResolver.getValue(BeanELResolver.java:72)
  | 	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | 	at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
  | 	at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
  | 	at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
  | 	at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:102)
  | 	at org.jboss.seam.Component.getValueToInject(Component.java:2016)
  | 	at org.jboss.seam.Component.injectAttributes(Component.java:1497)
  | 	at org.jboss.seam.Component.inject(Component.java:1321)
  | 	at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:44)
  | 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | 	at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:42)
  | 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | 	at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:30)
  | 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | 	at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
  | 	at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | 	at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
  | 	at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
  | 	at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
  | 	at org.uscm.crs.registration.SpouseManager_$$_javassist_70.rejectRecords(SpouseManager_$$_javassist_70.java)
  | 	at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:325)
  | 	... 33 more
  | ... Removed 25 stack frames
  | 

It masks the real exception, which is slightly frustrating; I have to set a breakpoint to find out what really went wrong.  

I downloaded Tomcat 6 and put javax/el/LocalStrings.properties in my classpath, and that worked.  Perhaps this file should be put in Seam, or better yet in Jboss-el.

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

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



More information about the jboss-user mailing list