Project

General

Profile

Actions

Bug #4805

closed

searching for data gives an NPE

Added by Oliver Soong about 14 years ago. Updated about 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
data access
Target version:
Start date:
02/17/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4805

Description

I searched for Kruger on both KNB and DEV using both authenticated and unauthenticated searches. I authenticated as necessary, and I got an NPE:

java.lang.NullPointerException
at ptolemy.vergil.basic.KeplerDocumentationAttribute.createInstanceFromExisting(KeplerDocumentationAttribute.java:195)
at org.ecoinformatics.seek.datasource.eml.eml2.Eml200DataSource.generateDocumentationForInstance(Eml200DataSource.java:1070)
at org.ecoinformatics.seek.datasource.eml.eml2.EML2MetadataSpecification.transformResultset(EML2MetadataSpecification.java:252)
at org.ecoinformatics.seek.datasource.eml.eml2.EML2MetadataSpecification.addResultsetRecordsToContainer(EML2MetadataSpecification.java:406)
ERROR (org.ecoinformatics.seek.datasource.eml.eml2.Eml200DataSource:generateDocumentationForInstance:1078) error encountered whilst generating default documentation for actor instance: null

Actions #1

Updated by Jing Tao about 14 years ago

It turned out that the NPE exception didn't affect the search result. But it still was annoying. We added a checking null statement on KeplerDocumentationAttribute.createInstanceFromExisting. The error has gone.

Actions #2

Updated by Redmine Admin almost 11 years ago

Original Bugzilla ID was 4805

Actions

Also available in: Atom PDF