Opened 9 years ago

Closed 9 years ago

#1971 closed defect (fixed)

NullPointerException when selecting a list preset

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.6.3
Component: web Version: 3.6
Keywords: Cc:


This NullPointerException happened when selecting a preset in the 'Project->Items' list. The preset has worked before. Other presets seems to be working.

java.lang.NullPointerException ItemContext.copyObjectsAndTemporaryFilters( SessionControl.loadContext( net.sf.basedb.clients.web.Base.loadContext( org.apache.jsp.my_005fbase.projects.items.index_jsp._jspService( org.apache.jasper.runtime.HttpJspBase.service( javax.servlet.http.HttpServlet.service( org.apache.jasper.servlet.JspServletWrapper.service( org.apache.jasper.servlet.JspServlet.serviceJspFile( 

Change History (2)

comment:1 by Nicklas Nordborg, 9 years ago

Version: 3.6

The error happens in the ItemContext.copyObjectsAndTemporaryFilters() method which was added as a fix to #1949 in BASE 3.6. The problem only appears for presets that doesn't include any filters (eg. if the preset is only a preset for selecting columns and/or sort order).

comment:2 by Nicklas Nordborg, 9 years ago

Resolution: fixed
Status: newclosed

(In [7023]) Fixes #1971: NullPointerException when selecting a list preset

Note: See TracTickets for help on using tickets.