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: |
Description
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 ...at ItemContext.copyObjectsAndTemporaryFilters(ItemContext.java:1420) ...at SessionControl.loadContext(SessionControl.java:1416) ...at net.sf.basedb.clients.web.Base.loadContext(Base.java:813) ...at org.apache.jsp.my_005fbase.projects.items.index_jsp._jspService(index_jsp.java:208) ...at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ...at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ...at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438) ...at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ...
Change History (2)
comment:1 by , 9 years ago
Version: | → 3.6 |
---|
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [7023]) Fixes #1971: NullPointerException when selecting a list preset
Note:
See TracTickets
for help on using tickets.
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).