Opened 18 years ago

Closed 18 years ago

#382 closed defect (fixed)

A very minimal extended-properties.xml creates null pointer exceptions.

Reported by: Jari Häkkinen Owned by: Nicklas Nordborg
Priority: minor Milestone: BASE 2.0.2
Component: core Version: 2.0.1
Keywords: Cc:

Description

The bare minimum source:/trunk/src/examples/config/minimalistic_extended-properties.xml#2713 file break the code in, e.g., source:/branches/2.0.1/src/plugins/core/net/sf/basedb/plugins/ReporterFlatFileImporter.java line 502. The problem is that the code here assumes that there always are extended-properties.

Other places with the same potential problem:

  • ./src/clients/web/net/sf/basedb/clients/web/DynamicUtil.java
  • ./src/core/net/sf/basedb/core/ReporterBatcher.java
  • ./src/plugins/core/net/sf/basedb/plugins/ReporterFlatFileImporter.java (two places in this file)

Change History (5)

comment:1 by Nicklas Nordborg, 18 years ago

Component: webcore
Milestone: BASE 2.1BASE 2.0.2
Owner: changed from Johan Enell to Nicklas Nordborg
Priority: majorminor

comment:2 by Nicklas Nordborg, 18 years ago

Status: newassigned

comment:3 by Nicklas Nordborg, 18 years ago

Resolution: fixed
Status: assignedclosed

(In [2720]) Fixes #382: A very minimal extended-properties.xml creates null pointer exceptions.

comment:4 by Nicklas Nordborg, 18 years ago

Resolution: fixed
Status: closedreopened

There are also JSP pages which are affected by this.

comment:5 by Nicklas Nordborg, 18 years ago

Resolution: fixed
Status: reopenedclosed

(In [2736]) Fixes #382: A very minimal extended-properties.xml creates null pointer exceptions.

Note: See TracTickets for help on using tickets.