Opened 13 years ago

Closed 13 years ago

#1552 closed defect (fixed)

NullPointerException on reporter/feature/raw data single-item view page

Reported by: Nicklas Nordborg Owned by: everyone
Priority: critical Milestone: BASE 2.16.1
Component: web Version: 2.16
Keywords: Cc:

Description

Go to View -> Reporters and click on any reporter. The following error happens:

java.lang.NullPointerException
...at java.lang.Class.isAssignableFrom(Native Method)
...at net.sf.basedb.clients.web.Base.getAndSetCurrentContext(Base.java:506)
...at net.sf.basedb.clients.web.Base.getAndSetCurrentContext(Base.java:321)
...at net.sf.basedb.clients.web.Base.getAndSetCurrentContext(Base.java:290)
...at org.apache.jsp.views.reporters.index_jsp._jspService(index_jsp.java:134)

The reason for this is that reporters only have a data-layer class without any corresponding item-layer class. There are some other items in the same situation and the same error will happen when trying to view them:

  • Features (on array designs)
  • Raw data (on raw bioassys)

The problem was introduced by the fix for #1541 and there is no workaround.

Change History (1)

comment:1 by Nicklas Nordborg, 13 years ago

Resolution: fixed
Status: newclosed

(In [5497]) Fixes #1552: NullPointerException on reporter/feature/raw data single-item view page

Note: See TracTickets for help on using tickets.