Searching for 'test' we get this exception even in production or staging
javax.servlet.ServletException: net.sf.hibernate.UnresolvableObjectException: No row with the given identifier exists: 92199, of class: com.technoetic.xplanner.file.File
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.technoetic.xplanner.filters.RequestCharacterEncodingFilter.doFilter(RequestCharacterEncodingFilter.java:37)
com.technoetic.xplanner.security.filter.AbstractSecurityFilter.doFilter(AbstractSecurityFilter.java:51)
com.technoetic.xplanner.filters.ServletRequestFilter.doFilter(ServletRequestFilter.java:24)
com.technoetic.xplanner.db.hibernate.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:62)
the note is attached to task
http://apdbuild3/xplanner_0.7b2/do/view/task?oid=91627 and it gets an exception trying to display the notes. In production we get the wrong message (cannot perform the action!!!)
Time Log:
Start Time End Time Reported Date Dur. Pair
2005-03-10 0.5 Angela Stanley
Edit | Delete | Move/Continue | Edit Time |
Export | History | Print [ServletException in:/WEB-INF/jsp/layout/viewLayout.jsp] net.sf.hibernate.UnresolvableObjectException: No row with the given identifier exists: 92199, of class: com.technoetic.xplanner.file.File'
Both exception (search and note display ) should be hardened to not throw exception but handle this gracefully.
In addition we have the wrong message when we get the exception: (cannot perform the action).