Opened 13 years ago

Closed 13 years ago

#1199 closed defect (fixed)

NullPointerException when using "Table exporter" to export annotations

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 2.9.1
Component: web Version:
Keywords: Cc:

Description

Here is the stacktrace:

java.lang.NullPointerException
at net.sf.basedb.clients.web.plugins.ExportedProperty.parse(ExportedProperty.java:78)
at net.sf.basedb.clients.web.plugins.SimpleExport.performExport(SimpleExport.java:255)
at net.sf.basedb.core.plugin.AbstractExporterPlugin.run(AbstractExporterPlugin.java:144)
at net.sf.basedb.core.PluginExecutionRequest.invoke(PluginExecutionRequest.java:106)
at net.sf.basedb.core.PluginExecutionRequest.run(PluginExecutionRequest.java:130)
at java.lang.Thread.run(Thread.java:619)

This happens when all of the following conditions are true:

  1. The export includes at least one annotation column
  2. The annotation type doesn't have a default unit (most don't since this is a new feature of BASE 2.9)
  3. The "Use same unit for all annotations in a column" option is selected in export configurations (selected by default)

Change History (2)

comment:1 Changed 13 years ago by Nicklas Nordborg

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 Changed 13 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

(In [4683]) Fixes #1199: NullPointerException? when using "Table exporter" to export annotations

Note: See TracTickets for help on using tickets.