Project

General

Profile

Bug #4505

NPE from Semantic Search

Added by Derik Barseghian about 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
semantics
Target version:
Start date:
10/27/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4505

Description

On os X or linux w/ the kepler suite, I get an NPE when I try to run a search in the Semantic Search dialog:

[run] java.lang.NullPointerException
[run] at org.kepler.objectmanager.ActorMetadata.getActorAsNamedObj(ActorMetadata.java:693)
[run] at org.kepler.gui.GraphicalActorMetadata.<init>(GraphicalActorMetadata.java:72)
[run] at org.kepler.sms.gui.SemanticSearchDialog._getObjectsToSearch(SemanticSearchDialog.java:583)
[run] at org.kepler.sms.gui.SemanticSearchDialog._doSearch(SemanticSearchDialog.java:498)
[run] at org.kepler.sms.gui.SemanticSearchDialog.access$800(SemanticSearchDialog.java:88)
[run] at org.kepler.sms.gui.SemanticSearchDialog$_SearchTask.run(SemanticSearchDialog.java:476)
[run] at java.lang.Thread.run(Thread.java:637)

History

#1 Updated by Derik Barseghian almost 10 years ago

The error has changed to:

java.lang.ClassCastException: org.kepler.objectmanager.cache.ReportLayoutCacheObject
at org.kepler.sms.gui.SemanticSearchDialog._getObjectsToSearch(SemanticSearchDialog.java:577)
at org.kepler.sms.gui.SemanticSearchDialog._doSearch(SemanticSearchDialog.java:497)
at org.kepler.sms.gui.SemanticSearchDialog.access$8(SemanticSearchDialog.java:493)
at org.kepler.sms.gui.SemanticSearchDialog$_SearchTask.run(SemanticSearchDialog.java:475)

#2 Updated by Derik Barseghian almost 10 years ago

The error for this is now:
java.lang.NullPointerException
at org.kepler.objectmanager.ActorMetadata.getActorAsNamedObj(ActorMetadata.java:778)
at org.kepler.gui.GraphicalActorMetadata.<init>(GraphicalActorMetadata.java:72)
at org.kepler.sms.gui.SemanticSearchDialog._getObjectsToSearch(SemanticSearchDialog.java:580)
at org.kepler.sms.gui.SemanticSearchDialog._doSearch(SemanticSearchDialog.java:497)
at org.kepler.sms.gui.SemanticSearchDialog.access$8(SemanticSearchDialog.java:493)
at org.kepler.sms.gui.SemanticSearchDialog$_SearchTask.run(SemanticSearchDialog.java:475)
at java.lang.Thread.run(Thread.java:613)

#3 Updated by Derik Barseghian almost 10 years ago

fixed in r22488, semantic search can return results now.

#4 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4505

Also available in: Atom PDF