Project

General

Profile

Actions

Bug #3086

closed

Error with kepler20080122.zip version (PTII?)

Added by Dan Higgins about 16 years ago. Updated about 16 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
01/22/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3086

Description

The nightly zipped version (kepler20080122) ends up having a recurring error shown in the terminal when the cursor is moved over the workflow display area.
The error appears in diva.canvas.BasicZList (see below) when executed using kepler.bat (Windows) or kepler.sh (Mac). Kepler seems to work OK, but error keeps appearing. Does not occur in keplwe20080118 so maybe a recent change in Ptolemy code?

Exception in thread "AWT-EventQueue-0" java.util.NoSuchElementException: Can't g
et 0'th element from BasicZList of size 0
at diva.canvas.BasicZList$GSet$1.hasNext(BasicZList.java:253)
at diva.canvas.CanvasUtilities.pick(CanvasUtilities.java:432)
at diva.canvas.FigureLayer.pick(FigureLayer.java:423)
at diva.canvas.FigureLayer.getFigure(FigureLayer.java:634)
at diva.canvas.FigureLayer.processLayerMotionEvent(FigureLayer.java:778)

at diva.canvas.FigureLayer.dispatchEvent(FigureLayer.java:209)
at diva.canvas.CanvasPane.processLayerEvent(CanvasPane.java:280)
at diva.canvas.CanvasPane.dispatchEvent(CanvasPane.java:89)
at diva.canvas.JCanvas.internalProcessMouseEvent(JCanvas.java:465)
at diva.canvas.JCanvas.processMouseEvent(JCanvas.java:419)
Actions #1

Updated by Christopher Brooks about 16 years ago

My bad. I was fixing FindBugs warnings.
Man-kit (Jackie) Leung fixed this in the
Ptolemy II tree.
I just checked in new diva.jar.

Actions #2

Updated by Dan Higgins about 16 years ago

There was a change in diva.canvas.BasicZList.java (in PTII) on Jan 22 that is the apparent cause.
'throws NoSuchElementException' added on line 251

Actions #3

Updated by Dan Higgins about 16 years ago

Problem now fixed with updated PTII

Actions #4

Updated by Redmine Admin almost 11 years ago

Original Bugzilla ID was 3086

Actions

Also available in: Atom PDF