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:


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(
        at net.sf.basedb.reggie.dao.ReggieItem.findParentBioMaterial(
        at net.sf.basedb.reggie.dao.ReggieItem.findSingleParent(
        at net.sf.basedb.reggie.grid.MethylationBetaJobCreator.createBetaJobs(
        at net.sf.basedb.reggie.servlet.MethylationServlet.doPost(
        at javax.servlet.http.HttpServlet.service(

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.