[kepler-dev] Kepler RC6 delete bug on Windows XP

Christopher Brooks cxh at eecs.berkeley.edu
Wed Jun 23 11:32:11 PDT 2010


Hi Chris,
Interesting issue . . .

1. What version of Java are you using?  In Kepler, do Tools | Check System Settings
   and look for "java.version".  I'm running 1.5.0_24 on the Mac.

2. Is this with a clean Kepler from the RC6 installer?

3. Can you replicate it by building the 2.0 branch?
   To build the 2.0 branch, see the Kepler-2.0 instructions at
   https://kepler-project.org/developers/teams/build/systems/build-system/extension-build-system

Looking at the stack trace, we have
org.kepler.gui.KeplerGraphFrame which extends ActorGraphFrame,
which extends BasicGraphFrame.

I looked for duplicates of that those classes but did not find
any.

There could also be something odd with the classpath and classloaders where
the BasicGraphFrame jar file is coming from somewhere outside of the
Kepler-2.0 RC6 tree.  But that seems like a long shot.

To track this down, you could try running Kepler with java -verbose to see
where the classes are being loaded.  I'm not totally sure how to do this,
it would probably require editing build-area/src/org/kepler/build/Run.java
and rebuilding.



Anyway, the offending line KeplerGraphFrame.java is:

   StringBuffer moml = _deleteMoML(graphModel, selection, model);

It has been there awhile:

   r22595 | barseghian | 2010-01-25 16:17:35 -0800 (Mon, 25 Jan 2010) | 2 lines

   KeplerGraphFrame now using BasicGraphFrame's _deleteMoML to fix issue (actually a kepler bug):
   https://chess.eecs.berkeley.edu/bugzilla/show_bug.cgi?id=311

I'm not sure what would be causing this.

_Christopher


On 6/23/10 11:03 AM, Derik Barseghian wrote:
> Yeah, deletes are working for me on XP using RC6 and the 2.0 branch.
> Derik
>
> On Jun 23, 2010, at 10:46 AM, Chris Weed wrote:
>
>> There must be some weird interaction with some code I am using.
>> You can probably ignore this bug report
>>
>> On Wed, Jun 23, 2010 at 12:50 PM, Jianwu Wang <jianwu at sdsc.edu> wrote:
>>> Hi Chris,
>>>
>>> It's weird. It works for me in Kepler RC6 on Windows 7.
>>>
>>> Best wishes
>>>
>>> Sincerely yours
>>>
>>> Jianwu Wang
>>> jianwu at sdsc.edu
>>> http://users.sdsc.edu/~jianwu/
>>>
>>> Assistant Project Scientist
>>> Scientific Workflow Automation Technologies (SWAT) Laboratory
>>> San Diego Supercomputer Center
>>> University of California, San Diego
>>> San Diego, CA, U.S.A.
>>>
>>>
>>> On 6/23/2010 8:29 AM, Chris Weed wrote:
>>>>
>>>> On Wed, Jun 23, 2010 at 11:19 AM, Chris Weed<chrisweed at gmail.com>
>>>> wrote:
>>>>
>>>>>
>>>>> Hi,
>>>>> I just installed Kepler RC6 on my Windows XP machine, and it won't let
>>>>> me delete actors, relations, or channels from the workflow.
>>>>> When I select them and hit the delete key or Ctrl-X, nothing happens.
>>>>> Not sure why.
>>>>> Chris
>>>>>
>>>>>
>>>>
>>>> Here is the error from the terminal:
>>>>
>>>> [null] Exception in thread "AWT-EventQueue-0"
>>>> java.lang.IllegalAccessError:
>>>> tried to access method
>>>> ptolemy.vergil.basic.BasicGraphFrame._deleteMoML(Lptolem
>>>>
>>>> y/vergil/basic/AbstractBasicGraphModel;[Ljava/lang/Object;Ldiva/canvas/interacto
>>>>
>>>> r/SelectionModel;)Ljava/lang/StringBuffer; from class
>>>> org.kepler.gui.KeplerGraph
>>>> Frame
>>>> [null] at
>>>> org.kepler.gui.KeplerGraphFrame.delete(KeplerGraphFrame.java:
>>>> 944)
>>>> [null] at
>>>> org.kepler.gui.KeplerGraphFrame$1.actionPerformed(KeplerGraph
>>>> Frame.java:223)
>>>> [null] at
>>>> javax.swing.JComponent$ActionStandin.actionPerformed(Unknown
>>>> Source)
>>>> [null] at javax.swing.SwingUtilities.notifyAction(Unknown Source)
>>>> [null] at javax.swing.JComponent.processKeyBinding(Unknown
>>>> Source)
>>>> [null] at javax.swing.JComponent.processKeyBindings(Unknown
>>>> Source)
>>>> [null] at javax.swing.JComponent.processKeyEvent(Unknown Source)
>>>> [null] at java.awt.Component.processEvent(Unknown Source)
>>>> [null] at java.awt.Container.processEvent(Unknown Source)
>>>> [null] at java.awt.Component.dispatchEventImpl(Unknown Source)
>>>> [null] at java.awt.Container.dispatchEventImpl(Unknown Source)
>>>> [null] at java.awt.Component.dispatchEvent(Unknown Source)
>>>> [null] at java.awt.KeyboardFocusManager.redispatchEvent(Unknown
>>>> Source)
>>>>
>>>> [null] at
>>>> java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown
>>>> Source)
>>>> [null] at
>>>> java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unkn
>>>> own Source)
>>>> [null] at
>>>> java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unkn
>>>> own Source)
>>>> [null] at
>>>> java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown So
>>>> urce)
>>>> [null] at java.awt.Component.dispatchEventImpl(Unknown Source)
>>>> [null] at java.awt.Container.dispatchEventImpl(Unknown Source)
>>>> [null] at java.awt.Window.dispatchEventImpl(Unknown Source)
>>>> [null] at java.awt.Component.dispatchEvent(Unknown Source)
>>>> [null] at java.awt.EventQueue.dispatchEvent(Unknown Source)
>>>> [null] at
>>>> java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown S
>>>> ource)
>>>> [null] at
>>>> java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Sour
>>>> ce)
>>>> [null] at
>>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown S
>>>> ource)
>>>> [null] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> [null] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>>>> [null] at java.awt.EventDispatchThread.run(Unknown Source)
>>>> _______________________________________________
>>>> Kepler-dev mailing list
>>>> Kepler-dev at kepler-project.org
>>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>>>>
>>>
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at kepler-project.org
>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670


More information about the Kepler-dev mailing list