Problem with editing story

Help
armisho
2011-07-31
2013-05-28
  • armisho
    armisho
    2011-07-31

    Hi,

    I downloaded source from current trunk, build and deployed it successfully. After successfully creating a story when I try to edit the story, i'm getting the following error. Anyone else is experiencing the same problem? Thanks.

    Cause
    java.lang.NoSuchMethodException: Unknown property 'story' Stack Trace
    java.lang.NoSuchMethodException: Unknown property 'story'
    at org.apache.commons.beanutils.PropertyUtils.getSimpleProperty(PropertyUtils.java:1175)
    at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:772)
    at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:801)
    at com.technoetic.xplanner.domain.RelationshipConvertor.populateAdapter(RelationshipConvertor.java:56)
    at com.technoetic.xplanner.actions.EditObjectAction.populateManyToOneIds(EditObjectAction.java:144)
    at com.technoetic.xplanner.actions.EditObjectAction.populateForm(EditObjectAction.java:106)
    at com.technoetic.xplanner.actions.EditObjectAction.populateForm(EditObjectAction.java:100)
    at com.technoetic.xplanner.actions.EditObjectAction.doExecute(EditObjectAction.java:49)
    at com.technoetic.xplanner.actions.EditTaskAction.doExecute(EditTaskAction.java:46)
    at com.technoetic.xplanner.actions.AbstractAction$1.run(AbstractAction.java:82)
    at com.technoetic.xplanner.tx.CheckedExceptionHandlingTransactionTemplate$1.doInTransaction(CheckedExceptionHandlingTransactionTemplate.java:32)
    at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
    at com.technoetic.xplanner.tx.CheckedExceptionHandlingTransactionTemplate.execute(CheckedExceptionHandlingTransactionTemplate.java:29)
    at com.technoetic.xplanner.actions.AbstractAction.execute(AbstractAction.java:80)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at net.sf.xplanner.struts.XPlannerActionServlet.service(XPlannerActionServlet.java:28)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.technoetic.xplanner.filters.RequestCharacterEncodingFilter.doFilter(RequestCharacterEncodingFilter.java:38)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.technoetic.xplanner.security.filter.AbstractSecurityFilter.doFilter(AbstractSecurityFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.technoetic.xplanner.db.hibernate.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:45)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.technoetic.xplanner.filters.ServletRequestFilter.doFilter(ServletRequestFilter.java:36)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.technoetic.xplanner.filters.ActivityLogFilter.doFilter(ActivityLogFilter.java:37)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
    at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:864)
    at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
    at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1665)
    at java.lang.Thread.run(Thread.java:662)
    System Environment
    Build
    •Version: 1.1a2
    •Build Date: 18/07/2010
    •Build Revision: 293
    •Build Package: War
    Database
    •Dialect: com.technoetic.xplanner.db.hibernate.XPlannerMySQLDialect
    •Driver: com.mysql.jdbc.Driver
    •Driver Version: mysql-connector-java-5.1.13 ( Revision: ${bzr.revision-id} )
    •Database Vendor: MySQL
    •Database Version: 5.1.53-community
    •Database Name: xplanner_plus
    •Database Url: jdbc:mysql://localhost/xplanner_plus
    •Database User Name: xplanner
    •Database User Password: ******
    •Database Patch Level: to be fixed to use liquid
    App Server
    •Application Server: Apache Tomcat/6.0.32
    •Servlet Version: 2.5
    Memory
    •Total Memory: 123MB
    •Free Memory: 19MB
    •Used Memory: 104MB
    System
    •System Date: 31-Jul-2011
    •System Time: 5:31:12 PM
    •Current directory: C:\development\programs\apache-tomcat-6.0.32\bin
    •Java Version: 1.6.0_26
    •Java Vendor: Sun Microsystems Inc.
    •JVM Version: 1.0
    •JVM Vendor: Sun Microsystems Inc.
    •JVM Implementation Version: 20.1-b02
    •Java Runtime: Java(TM) SE Runtime Environment
    •Java VM: Java HotSpot(TM) 64-Bit Server VM
    •User Name: Ahmedur Rahman
    •User Timezone: America/New_York
    •Operating System: Windows 7 6.1
    •OS Architecture: amd64
    Request Information
    General
    •Referer URL: http://localhost:8080/xplanner-plus/do/view/task?oid=254
    •Locale: en_CA
    •URL: •Scheme: http
    •Server: localhost
    •Port: 8080
    •URI: /xplanner-plus/WEB-INF/jsp/common/unexpectedError.jsp
    •Context Path: /xplanner-plus
    •Servlet Path: /WEB-INF/jsp/common/unexpectedError.jsp
    •Path Info: •Query String: fkey=242&oid=254&returnto=%2Fdo%2Fview%2Ftask%3Foid%3D254&projectId=220
    Parameters
    •fkey: 242
    •oid: 254
    •projectId: 220
    •returnto: /do/view/task?oid=254
    Attributes
    •HibernateSession: SessionImpl(PersistenceContext,collectionKeys=];ActionQueue updates= deletions= collectionCreations= collectionRemovals= collectionUpdates=])
    •OpenSessionInViewFilter.FILTERED: true
    •appPath: http://localhost:8080/xplanner-plus/
    •currentPageUrl: http://localhost:8080/xplanner-plus/do/edit/task?fkey=242&oid=254&returnto=%2Fdo%2Fview%2Ftask%3Foid%3D254&projectId=220
    •javax.servlet.error.exception: java.lang.NoSuchMethodException: Unknown property 'story'
    •javax.servlet.error.exception_type: class java.lang.NoSuchMethodException
    •javax.servlet.error.message: java.lang.NoSuchMethodException: Unknown property 'story'
    •javax.servlet.error.request_uri: /xplanner-plus/do/edit/task
    •javax.servlet.error.servlet_name: XPlannerServlet
    •javax.servlet.error.status_code: 500
    •javax.servlet.forward.context_path: /xplanner-plus
    •javax.servlet.forward.path_info: /WEB-INF/jsp/common/unexpectedError.jsp
    •javax.servlet.forward.query_string: fkey=242&oid=254&returnto=%2Fdo%2Fview%2Ftask%3Foid%3D254&projectId=220
    •javax.servlet.forward.request_uri: /xplanner-plus/do/edit/task
    •javax.servlet.forward.servlet_path: /do
    •org.apache.struts.action.MESSAGE: net.sf.xplanner.struts.XPlannerMessageResources@550dcd3
    •org.apache.struts.action.MODULE: org.apache.struts.config.impl.ModuleConfigImpl@1c3cb1e1
    •org.apache.struts.action.mapping.instance: ActionConfig[path=/edit/task,input=/WEB-INF/jsp/edit/editTask.jsp,name=edit/task,scope=session,validate=true,cancellable=false
    •org.springframework.web.context.request.RequestContextListener.REQUEST_ATTRIBUTES: org.apache.catalina.connector.RequestFacade@4eb3ea0f

     
  • Hi!

    Yes, this problem is fixed in latest commit to trunk, there is still problem with update time on task, it gives error, for now.