Bug #1690
closedLock up of Kepler when trying to open Utilities/Deocatrive menu
0%
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!
Updated by Dan Higgins about 20 years ago
problem disappears when the line
<property name="Image" class="ptolemy.vergil.kernel.attributes.ImageAttribute"/>
is removed from the file "decorative.xml"
Updated by Chad Berkley about 20 years ago
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.