Project

General

Profile

Bug #4805

searching for data gives an NPE

Added by Oliver Soong almost 10 years ago. Updated almost 10 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

History

#1 Updated by Jing Tao almost 10 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.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4805

Also available in: Atom PDF