]
Denis Golovin resolved JBIDE-1010.
----------------------------------
Resolution: Won't Fix
Servers must be restarted after creating new Entity.
New entity produces error
-------------------------
Key: JBIDE-1010
URL:
http://jira.jboss.com/jira/browse/JBIDE-1010
Project: JBoss Tools
Issue Type: Bug
Components: Seam
Affects Versions: 2.0.0.Beta4
Environment: RHDS 1.0.0 beta 2
JDK 1.5.0_12
Reporter: Slava Litskevich
Assigned To: Denis Golovin
Fix For: 2.0.0.CR1
Create new Seam Web Project:
1. File -> New -> Seam Web Project: new project dialog opens
2. Specifiy project name -> Next
3. Mark "Java Persistence" -> Next -> Next -> Next
4. Mark "Server Supplied JSF Implementation" -> Next -> Finish
Run new project:
5. Rightclick project name in Package Explorer -> Run As... -> Run on Server:
run dialog opens
6. Finish: wait until application opens in browser
Add new entity:
7. Rightclick project name in Package Explorer -> New -> Seam Entity
8. Specify following values: Seam component name = ant, master page name = ant-edit,
page name = ant-list -> Finish: ant-list.xhtml, ant-edit.xhtml and Ant.java appear in
project content tree.
Call new entity page:
9. Navigate to the page
http://localhost:8080/[PROJECT_NAME]/ant-edit.seam: page opens
correct.
10. Enter any text value in the input field and click "Save": "JBoss
Seam Debug Page" opens.
Exception during request processing: javax.servlet.ServletException: /ant-edit.xhtml
@25,63 value="#{antHome.instance.name}": Target Unreachable, identifier
'antHome' resolved to null
javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Unknown Source)
11. Navigate to the page
http://localhost:8080/[PROJECT_NAME]/ant-list.seam: page opens
correct.
12. Click button "Create ant": nothing happens - empty list page is still
displayed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: