[CCC DEV] AVR Occplug Crash - Ubuntu

Martin Ellis ellism88 at gmail.com
Tue Nov 16 17:27:49 GMT 2010


Hey again,

Trying to use the Serial communication, to send messages to the arduino.

As there is no input box I guess you are meant to be able to just type into
the occplug window.
When I do though I get the following error spammed to the terminal.

thanks,

Martin

4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0: Exception in thread
"AWT-EventQueue-0"
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:
java.lang.NullPointerException
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
org.transterpreter.occPlug.OccPlug$1.keyTyped(OccPlug.java:258)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.Component.processKeyEvent(Component.java:6130)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
javax.swing.JComponent.processKeyEvent(JComponent.java:2801)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.Component.processEvent(Component.java:5952)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.Container.processEvent(Container.java:2105)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.Component.dispatchEventImpl(Component.java:4536)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.Container.dispatchEventImpl(Container.java:2163)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.Component.dispatchEvent(Component.java:4362)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1881)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:749)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1025)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:892)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:713)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.Component.dispatchEventImpl(Component.java:4406)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.Container.dispatchEventImpl(Container.java:2163)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.Window.dispatchEventImpl(Window.java:2478)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.Component.dispatchEvent(Component.java:4362)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
4:59:18 PM [AWT-EventQueue-0] [error] AWT-EventQueue-0:  at
java.awt.EventDispatchThread.run(EventDispatchThread.java:138)


On Tue, Nov 16, 2010 at 4:24 PM, Christian Jacobsen <cljacobsen at gmail.com>wrote:

> Thanks for the report. I will look into that. I am quite sure that this
> will be the same for all platforms.
>
>  Christian
>
> On 16 Nov 2010, at 17:09, Martin Ellis <ellism88 at gmail.com> wrote:
>
> > Hi guys,
> >
> > Wasn't sure where to put the ticket in tack for this, so emailing the
> group.
> >
> > Found a reproducible way of crashing/locking up occplug under ubuntu, not
> tried on other OSs.
> >
> > Steps...
> >  - Run some code on arduino from occplug
> >  - DO NOT push stop
> >  - upload firmware from the menu
> >
> > thanks,
> > Martin.
> > _______________________________________________
> > developers mailing list
> > developers at concurrency.cc
> > http://unhosting.org/mailman/listinfo/developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.concurrency.cc/pipermail/developers/attachments/20101116/2d516760/attachment.htm>


More information about the developers mailing list