Bug #4505
closedNPE from Semantic Search
0%
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)
Updated by Derik Barseghian about 15 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)
Updated by Derik Barseghian almost 15 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)
Updated by Derik Barseghian almost 15 years ago
fixed in r22488, semantic search can return results now.