Opened 6 months ago

Closed 6 months ago

#1423 closed defect (fixed)

NullPointerException when starting Methylation beta-analysis

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: blocker Milestone: Reggie v4.41.1
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

Selecting items, and job options works, but the final registration fails:

java.lang.NullPointerException: Cannot invoke "net.sf.basedb.core.ItemSubtype.getName()" because "subtype" is null
        at net.sf.basedb.reggie.dao.Subtype.get(Subtype.java:621)
        at net.sf.basedb.reggie.dao.ReggieItem.findParentBioMaterial(ReggieItem.java:305)
        at net.sf.basedb.reggie.dao.ReggieItem.findSingleParent(ReggieItem.java:337)
        at net.sf.basedb.reggie.grid.MethylationBetaJobCreator.createBetaJobs(MethylationBetaJobCreator.java:122)
        at net.sf.basedb.reggie.servlet.MethylationServlet.doPost(MethylationServlet.java:270)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
...

It seems like this happens when the code is trying to find the parent Specimen item and there is an item in the parent chain that doesn't have any subtype.

Change History (2)

comment:1 Changed 6 months ago by Nicklas Nordborg

Milestone: Reggie v4.40.3Reggie v4.41.1

Milestone renamed

comment:2 Changed 6 months ago by Nicklas Nordborg

Resolution: fixed
Status: newclosed

In 6939:

Fixes #1423: NullPointerException? when starting Methylation beta-analysis

Note: See TracTickets for help on using tickets.