[Coco] Drivewire and Ubuntu

CoCoList for Color Computer Enthusiasts coco at maltedmedia.com
Fri May 16 19:22:20 EDT 2014


Starting Drivewire with:
./DW4UI.sh


Produces the following notice I don't know how many uncountable times:

(DriveWire:2406): GLib-GObject-CRITICAL **:
g_closure_add_invalidate_notifier: assertion 'closure->n_inotifiers <
CLOSURE_MAX_N_INOTIFIERS' failed

And in between those lines lies the exception error:

java.lang.NullPointerException
    at com.groupunix.drivewireui.MainWin$10.menuShown(MainWin.java:990)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Menu.gtk_show(Unknown Source)
    at org.eclipse.swt.widgets.Widget.windowProc(Unknown Source)
    at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
    at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native
Method)
    at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(Unknown
Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at com.groupunix.drivewireui.MainWin.open(MainWin.java:724)
    at com.groupunix.drivewireui.MainWin.main(MainWin.java:482)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.swtjar.SWTLoader.main(SWTLoader.java:47)



On Fri, May 16, 2014 at 7:09 PM, keithclark1966 at gmail.com <
keithclark1966 at gmail.com> wrote:

>  I can post a complete session's terminal output and the exception errors
> in pastebin if that is of any help to you Aaron.
>
> Keith
>
>
>
> On Fri, May 16, 2014 at 7:01 PM, CoCoList for Color Computer Enthusiasts <
> coco at maltedmedia.com> wrote:
>
>> On May 16, 2014 7:00 PM, "CoCoList for Color Computer Enthusiasts" <
>> coco at maltedmedia.com> wrote:
>> >
>> > Submitting a bug report from the crash window does not work.  It just
>> sits
>> > there forever after you hit 'Submit'
>> >
>>
>> Doh.  Well that is a (small) clue in itself.
>>
>> I'll make sure the next version works properly with whatever Ubuntu is
>> current at the time.  Shouldn't be too long.
>>
>> -aaron
>>
>> > Keith
>> >
>> >
>> >
>> > On Fri, May 16, 2014 at 6:55 PM, CoCoList for Color Computer
>> Enthusiasts <
>> > coco at maltedmedia.com> wrote:
>> >
>> > > On May 16, 2014 6:53 PM, "CoCoList for Color Computer Enthusiasts" <
>> > > coco at maltedmedia.com> wrote:
>> > > >
>> > > > i will check rxtx. i have added my user to dialout group. it will
>> work
>> > > fron my user but it will display the crash window. if i ignore it i
>> can
>> use
>> > > it normally
>> > > >
>> > >
>> > > That might be something different, not sure.  If you submit a bug
>> report
>> > > from the crash window, I could probably tell ;)
>> > >
>> > > > On May 16, 2014, at 6:44 PM, CoCoList for Color Computer
>> Enthusiasts <
>> > > coco at maltedmedia.com> wrote:
>> > > >
>> > > > On May 16, 2014 6:12 PM, "CoCoList for Color Computer Enthusiasts" <
>> > > > coco at maltedmedia.com> wrote:
>> > > > >
>> > > > > i have problem too. it crashes on me on ubuntu 14.04 64-bit. i
>> dont
>> > > even
>> > > > see the gui. this from a fresh installed version.
>> > > >
>> > > > Start it from a shell, I don't know what the GUI is doing
>> differently
>> > > than
>> > > > just running the jar like most GUIs do, probably some kind of
>> security
>> > > > feature to protect you.  shell works normally though.
>> > > >
>> > > > > i have an copy of the previous note, last version it only works
>> with
>> > > > sudo. running normally it gives me a null reference pointer .
>> although it
>> > > > keeps running if i dont click to close the error dialog still is
>> annoying
>> > > > to have it.
>> > > > >
>> > > > > i tried changing default-jre to oracle java 7 and 8 with no avail.
>> > > >
>> > > > Its not a problem with the java version, its something in the Ubuntu
>> GUI
>> > > > that doesnt like something DW does.  I don't think theres is
>> anything
>> > > > simple that will change it but shell is a functional workaround.
>> > > >
>> > > > DW doesn't need sudo itself, but in some Linux systems there are
>> > > permission
>> > > > issues with rxtx (a library DW uses) and/or the serial devices.  You
>> can
>> > > > probably just give your user account the right magic permissions if
>> you
>> > > can
>> > > > figure out what they are on and avoid needing sudo.  If you Google
>> search
>> > > > for rxtx + your flavor of Linux + permission problems, you'll
>> probably
>> > > find
>> > > > people who have solved it, as rxtx is used by much more popular
>> programs
>> > > > than DriveWire.
>> > > >
>> > > > Ubuntu is one of the systems I test the nice double click and go
>> > > > instructions on when I do a release, but I think they were back on
>> 11
>> or
>> > > 12
>> > > > when I did the last DW.  Things have changed...
>> > > >
>> > > > -Aaron
>> > > >
>> > > > >> On May 16, 2014, at 6:01 PM, CoCoList for Color Computer
>> Enthusiasts <
>> > > > > coco at maltedmedia.com> wrote:
>> > > > >
>> > > > > Ubuntu enforces some sort of no execute attributes allowed
>> security
>> > > > > thing on downloaded files.
>> > > > >
>> > > > > To start DW, open a shell, change directory to where you unpacked
>> > > > > DriveWire and type:
>> > > > >
>> > > > > java -jar DW4UI.jar
>> > > > >
>> > > > > This will start it, although it may immediately exit and tell you
>> some
>> > > > > things didn't work.
>> > > > > That's OK.  Just start it again, it will have disabled all the
>> things
>> > > > > that didn't work before.
>> > > > > Seems to work here at least.
>> > > > >
>> > > > >
>> > > > > On Fri, May 16, 2014 at 5:14 PM, CoCoList for Color Computer
>> > > > > Enthusiasts <coco at maltedmedia.com> wrote:
>> > > > >> I just tried running Drivewire 4 under Ubuntu 14.04 with no luck
>> at
>> > > all.
>> > > > >> Where is the best place to get help?
>> > > > >>
>> > > > >> --
>> > > > >> Coco mailing list
>> > > > >> Coco at maltedmedia.com
>> > > > >> http://five.pairlist.net/mailman/listinfo/coco
>> > > > >
>> > > > > --
>> > > > > Coco mailing list
>> > > > > Coco at maltedmedia.com
>> > > > > http://five.pairlist.net/mailman/listinfo/coco
>> > > > >
>> > > > > --
>> > > > > Coco mailing list
>> > > > > Coco at maltedmedia.com
>> > > > > http://five.pairlist.net/mailman/listinfo/coco
>> > > >
>> > > > --
>> > > > Coco mailing list
>> > > > Coco at maltedmedia.com
>> > > > http://five.pairlist.net/mailman/listinfo/coco
>> > > >
>> > > > --
>> > > > Coco mailing list
>> > > > Coco at maltedmedia.com
>> > > > http://five.pairlist.net/mailman/listinfo/coco
>> > >
>> > > --
>> > > Coco mailing list
>> > > Coco at maltedmedia.com
>> > > http://five.pairlist.net/mailman/listinfo/coco
>> > >
>> >
>> > --
>> > Coco mailing list
>> > Coco at maltedmedia.com
>> > http://five.pairlist.net/mailman/listinfo/coco
>>
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>>
>
>



More information about the Coco mailing list