Opened 12 years ago

Closed 12 years ago

#482 closed defect (fixed)

RNA item without a Lysate parent cause NullPointerException in ScanBQuarterMonthReportServlet

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v2.12
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

Normally all RNA items have a parent Lysate, but #422 introduced Stratagene.r and External.r which are special RNA items used in the library preparation. They have no Lysate parent, but are picked up by the statistics generator and cause the following stacktrace:

java.lang.NullPointerException
  at net.sf.basedb.reggie.servlet.ScanBQuarterMonthReportServlet.createScanBQuarterMonthReport(ScanBQuarterMonthReportServlet.java:425)
  at net.sf.basedb.reggie.servlet.ScanBQuarterMonthReportServlet.doGet(ScanBQuarterMonthReportServlet.java:238)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
...

Change History (1)

comment:1 by Nicklas Nordborg, 12 years ago

Resolution: fixed
Status: newclosed

(In [1914]) Fixes #482: RNA item without a Lysate parent cause NullPointerException in ScanBQuarterMonthReportServlet

And a similiar issue for DNA to prevent it from appearing in the future.

Note: See TracTickets for help on using tickets.