Bug #1690
closed
Lock up of Kepler when trying to open Utilities/Deocatrive menu
Added by Dan Higgins about 20 years ago.
Updated about 20 years ago.
Description
If one tries to open the Utilites/Decorative item in the Actors menu, Kepler
currently locks up. This needs to be fixed since it makes it impossible to add
any annotations to workflows!
problem disappears when the line
<property name="Image" class="ptolemy.vergil.kernel.attributes.ImageAttribute"/>
is removed from the file "decorative.xml"
this was a classpath issue. the $PTII/doc directory has a bunch of images, one
of which is hard coded into the ptolemy.vergil.kernel.attributes.ImageAttribute
file using a relative path which included $CLASSPATH. Since the doc directory
was not in the CLASSPATH, the image loader was throwing a NPE in the thread that
was trying to locate the image. I fixed it by adding the $PTII/doc directory to
the classpath for the run-dev target. I fixed it in the run target by jaring
the $PTII/doc directory and including it in the classpath.
Original Bugzilla ID was 1690
Also available in: Atom
PDF