Opened 8 years ago
Closed 8 years ago
#948 closed defect (fixed)
Can't create mRNA plate with External RNA or Stratagene
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | Reggie v4.9.2 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description
If there is at least one location with either the "External" RNA item or "Stratagene" a NullPointerException
is thrown when registering the plate.
java.lang.NullPointerException at net.sf.basedb.reggie.servlet.MRnaServlet.doPost(MRnaServlet.java:563) at javax.servlet.http.HttpServlet.service(HttpServlet.java:648) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ....
After investigating this it seems like this was broken by [3302] which changed the way quantities was calculated in order to support NeoPrep that sometimes required a "large mix" due to small volumes.
As a side-effect the quantity was never set on "External RNA" or "Stratagene".
Note:
See TracTickets
for help on using tickets.
(In [4374]) Fixes #948: Can't create mRNA plate with External RNA or Stratagene
If no "usedQuantity" has been set before registration on an RNA the current quantities are used (taken from the selected protocol).
A second problem with remaining quantity calculations and pre-normalized RNA also needed to be fixed. The "Stratagene" and "External RNA" items don't have any registered remaining quantity which caused another NullPointerException.