[JBoss Seam] - java.lang.UnsupportedOperationException
by rlhr
I'm using jboss-seam-CVS.20061013, myfaces 1.1.4, tomahawk 1.1.3
I get the following error:
| java.lang.UnsupportedOperationException
| at org.jboss.seam.core.ResourceBundle$1.getKeys(ResourceBundle.java:103)
| at org.jboss.seam.core.Messages$1.entrySet(Messages.java:83)
| at java.util.AbstractMap.toString(AbstractMap.java:584)
| at java.lang.String.valueOf(String.java:2577)
| at java.lang.StringBuffer.append(StringBuffer.java:220)
| at org.apache.myfaces.el.PropertyResolverImpl.setValue(PropertyResolverImpl.java:155)
| at com.sun.facelets.el.LegacyELContext$LegacyELResolver.setValue(LegacyELContext.java:201)
| at com.sun.el.parser.AstValue.setValue(AstValue.java:134)
| at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
| at com.sun.facelets.el.TagValueExpression.setValue(TagValueExpression.java:93)
| at com.sun.facelets.el.LegacyValueBinding.setValue(LegacyValueBinding.java:68)
| at javax.faces.component.UIInput.updateModel(UIInput.java:226)
| at javax.faces.component.UIInput.processUpdates(UIInput.java:165)
| at javax.faces.component.UIForm.processUpdates(UIForm.java:85)
| at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:428)
| at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:153)
| at org.apache.myfaces.lifecycle.LifecycleImpl.updateModelValues(LifecycleImpl.java:277)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:81)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:33)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
|
This is happening when trying to upload a file using the tomahawk upload tag. It was working fine with a earlier version of seam.
Any idea?
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978391#3978391
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978391
19 years, 8 months
[Persistence, JBoss/CMP, Hibernate, Database] - Using Views
by ckrammer
Hello,
I have a mySQL database that uses views. Is there a way to map these views to EntityBeans?
I can specify the view in the @Table annotation, but I get error when trying to get data from this:
13:57:33,755 ERROR [STDERR] java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=TIGERBEE/60, BranchQual=, localId=60] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.persistence.PersistenceException: org.hibernate.HibernateException: identifier of an instance of pardus.core.CustomerEntity was altered from 10001 to null)
Any idea how to proceed?
Thanks and regards,
Christoph
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978383#3978383
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978383
19 years, 8 months