[jboss-user] [JBoss Seam] - Re: Using Jasper Reports with Seam/JBoss

squibobblepants do-not-reply at jboss.com
Wed Jan 24 07:52:09 EST 2007


Hi,

Been working on this, and can create the filled in html report, and load it to a byte[] in the Resource, but I keep hitting this error:


  | javax.faces.el.EvaluationException: Exception while invoking expression #{reporting.file.render}
  | 	at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
  | 	at org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:59)
  | 	at org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:71)
  | 	at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:98)
  | 	at org.jboss.seam.core.Pages.callAction(Pages.java:343)
  | 	at org.jboss.seam.core.Pages.callActions(Pages.java:322)
  | ...
  | Caused by: javax.faces.el.EvaluationException: Exception getting value of property file of base of type : org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$99e6343c
  | 	at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:96)
  | ...
  | Caused by: javax.faces.el.EvaluationException: Bean: org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$99e6343c, property: file
  | 	at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:442)
  | ...
  | Caused by: java.lang.reflect.InvocationTargetException
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | ...
  | Caused by: java.lang.RuntimeException: org.hibernate.TransactionException: Could not register synchronization
  | 	at org.jboss.ejb3.stateful.StatefulBeanContext.remove(StatefulBeanContext.java:273)
  | 	at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:171)
  | 	at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299)
  | 

The reporting bean is session scoped, and stateful. The Resource is (I think) working fine, I can create the new one, and print the contents to my  log, but it fails when I try access it through pages.xml wiring.

I'm fairly new to seam so apologies if this is a stupid question.

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

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



More information about the jboss-user mailing list