[kepler-users] Why doesn't "Listen to Actor" work on Kepler 2.2/2.3 for Windows?

Edward A. Lee eal at eecs.berkeley.edu
Tue Feb 14 15:51:23 PST 2012


This sort of thing can happen for GUI code that invoked outside
the Swing event thread. How is this being invoked?  If it's just
from the menu, then I presume it is in the Swing event thread...

Edward


On 2/14/12 11:29 AM, Daniel Crawl wrote:
>
> Hi Daren,
>
> I get the same behavior with Windows 7. The error is the same for
> both "Listen to Actor" and editing a Python script:
>
> java.lang.NullPointerException
> at ptolemy.actor.gui.TextEditor.getBackground(TextEditor.java:144)
> at java.awt.Window.setBackground(Unknown Source)
> at java.awt.Frame.setBackground(Unknown Source)
> at ptolemy.gui.Top.access$1001(Top.java:141)
> at ptolemy.gui.Top$SetBackgroundRunnable.run(Top.java:1889)
> at ptolemy.gui.Top.deferIfNecessary(Top.java:247)
> at ptolemy.gui.Top.setBackground(Top.java:501)
> at ptolemy.actor.gui.TextEditor.setBackground(TextEditor.java:238)
> ...
>
> Christopher, do you know what causes this?
>
> Thanks,
>
> --dan
>
>
> On 2/8/12 4:28 AM, Daren Thomas wrote:
>> I can use "Listen to Actor" for Kepler 2.3 on Mac OS X, but not under
>> Windows. When I select the option from the context menu, nothing
>> happens.
>>
>> Also, when I try to edit a script for the Python actor, I get an error
>> message "Failed to open a dialog to edit the target (null)" - this
>> doesn't bother me ATM, but I guess I should mention it, as it could be
>> an additional symptom of a wrongly configured system.
>>
>> I installed Kepler 2.3 on Windows with the installer provided on the
>> website. It seems "all" questions in the users list refer to compiling
>> your own version/environment. Is that the way to go?
>>
>> Regards,
>> Daren Thomas
>> _______________________________________________
>> Kepler-users mailing list
>> Kepler-users at kepler-project.org
>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eal.vcf
Type: text/x-vcard
Size: 330 bytes
Desc: not available
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20120214/708b9c3a/attachment.vcf>


More information about the Kepler-users mailing list