Hi Edward and Daren,
"Listen to Actor" is invoked from the context menu on the canvas,
and the exception is also thrown when double-clicking on the Python
Actor to edit the script. These are probably run from the Swing
event thread.
Daren, thanks for verifying this problem occurs with Java 7 but not 6.
I updated Kepler a few months ago so that it would compile with Java 7.
However, when I ran it, I didn't exhaustively test all the
functionality. I'll create bug report so this error is not forgotten.
--dan
On 2/14/12 11:59 PM, Daren Thomas wrote:
i resolved this issue temporarily by uninstalling java 7, thus
ensuring java 6 is being used. it all works fine now. hope that helps!
daren
On 15.02.2012, at 00:51, "Edward A. Lee"<[email protected]> wrote:
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
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
_______________________________________________
Kepler-users mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
<eal.vcf>
_______________________________________________
Kepler-users mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users