Project

General

Profile

Actions

Bug #2426

closed

Search for 'image' in actor tree 'hangs' window in nightly build

Added by Dan Higgins almost 18 years ago. Updated over 16 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
04/25/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2426

Description

A search for 'image' in the actor tab 'hangs' the window when one is using the nightly zipped version; message is
Uncaught error fetching image:
java.lang.NullPointerException
at sun.awt.image.URLImageSource.getConnection(Unknown Source)
at sun.awt.image.URLImageSource.getDecoder(Unknown Source)
at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
at sun.awt.image.ImageFetcher.run(Unknown Source)

But when using ant and launching using 'ant run-dev' a search for 'image' works!
Perhaps this is due to the way the path is setup?

Need to determine if this problem occurs for installer version

Actions #1

Updated by Dan Higgins over 17 years ago

search works OK in 'installer' version for Kepler-1.0.0beta2.

Actions #2

Updated by Dan Higgins over 17 years ago

Search in the nightly zip (on Oct 3, 2006) no longer 'hangs' the system, but
does give the Warning

Warning: Failed to create or set icon ptolemy.vergil.icon.ImageIcon {.Search
Res
ults.Components.Workflow.Workflow Documentation.Monitor Image._icon} for
compone
nt
org.kepler.gui.OntologyTreeCellRenderer[,0,0,0x0,invalid,alignmentX=0.0,align
mentY=0.0,border=,flags=25165832,maximumSize=,minimumSize=,preferredSize=,defaul
tIcon=javax.swing.plaf.IconUIResource@3daebc,disabledIcon=,horizontalAlignment=L
EFT,horizontalTextPosition=TRAILING,iconTextGap=4,labelFor=,text=Monitor
Image,v
erticalAlignment=CENTER,verticalTextPosition=CENTER]
java.lang.NullPointerException: Failed to get an image from
diva.canvas.toolbox.
ImageFigure@fd54a6
at diva.gui.toolbox.FigureIcon.<init>(FigureIcon.java:128)
at diva.gui.toolbox.FigureIcon.<init>(FigureIcon.java:105)
at ptolemy.vergil.icon.EditorIcon.createIcon(EditorIcon.java:406)
at
ptolemy.vergil.tree.PtolemyTreeCellRenderer.getTreeCellRendererCompon

Actions #3

Updated by Dan Higgins almost 17 years ago

Note: Error also occurs in CVS head on April 12, 2007 with 'ant run-dev', but search apparently works anyway.

Actions #4

Updated by Dan Higgins almost 17 years ago

If both the 'Image' and 'Monitor Image' are removed from the actor list, the error message goes away!

Actions #5

Updated by Dan Higgins almost 17 years ago

The two actors that seem to cause the problem are the only 2 that use the "ptolemy.vergil.icon.ImageIcon" class. Maybe some conflict with Kepler's image handling methods.

Actions #6

Updated by Dan Higgins over 16 years ago

This bug no longer appears. It looks like other changes fixed the problem

Actions #7

Updated by Redmine Admin almost 11 years ago

Original Bugzilla ID was 2426

Actions

Also available in: Atom PDF