Bug #4503
closedSuggest Similar Components gives an error
0%
Description
If I right click on an actor on canvas and select Suggest => Similar Components, I get an NPE. This happens in the kepler and wrp suites.
java.lang.NullPointerException
at org.kepler.objectmanager.ActorMetadata.getActorAsNamedObj(ActorMetadata.java:693)
at org.kepler.gui.GraphicalActorMetadata.<init>(GraphicalActorMetadata.java:72)
at org.kepler.sms.gui.SuggestCompatibleOperation._getComponents(SuggestCompatibleOperation.java:333)
at org.kepler.sms.gui.SuggestCompatibleOperation._buildSimilarComponents(SuggestCompatibleOperation.java:301)
at org.kepler.sms.gui.SuggestCompatibleOperation._searchForComponents(SuggestCompatibleOperation.java:219)
at org.kepler.sms.gui.SuggestCompatibleOperation._suggestComponents(SuggestCompatibleOperation.java:174)
at org.kepler.sms.gui.SuggestCompatibleOperation.<init>(SuggestCompatibleOperation.java:103)
at org.kepler.sms.gui.SuggestSimilarComponentsAction.actionPerformed(SuggestSimilarComponentsAction.java:75)