Opened 8 months ago

Closed 8 months ago

#1580 closed Request (fixed)

NullPointerException when importing an update release

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: critical Milestone: Relax v1.8
Component: net.sf.basedb.relax Keywords:
Cc:

Description

java.lang.RuntimeException: Import of '/json/Q000001.json' failed: null
  at net.sf.basedb.relax.plugins.ReleaseImporterPlugin.doImport(ReleaseImporterPlugin.java:804)
  at net.sf.basedb.relax.plugins.ReleaseImporterPlugin.run(ReleaseImporterPlugin.java:374)
  at net.sf.basedb.core.PluginExecutionRequest.invoke(PluginExecutionRequest.java:117)
  at net.sf.basedb.core.InternalJobQueue$JobRunner.run(InternalJobQueue.java:574)
  at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.NullPointerException
  at net.sf.basedb.relax.plugins.ReleaseImporterPlugin.importCohortItems(ReleaseImporterPlugin.java:1259)
  at net.sf.basedb.relax.plugins.ReleaseImporterPlugin.doImport(ReleaseImporterPlugin.java:791)
  ... 4 more

It seems to be related to the code that was added in #1547 to allow for any-to-any links. There is a check for null on the line after so we probably only need to re-order them.

Change History (1)

comment:1 by Nicklas Nordborg, 8 months ago

Owner: set to Nicklas Nordborg
Resolution: fixed
Status: newclosed

In 7641:

Fixes #1580: NullPointerException when importing an update release

Note: See TracTickets for help on using tickets.