Closed minand closed 8 years ago
It may be related to the openJDK, but I can't be sure for now. Another Linux user told me he had some similar problems (although in his case he could not even see the port).
At least in your case you have the port. From your description, the station does not beep twice when you launch the reading? You can send me the GecoSI.log which should be created in the same folder as the geco.jar. It should give some details about what is going on.
The station does not beep. It just stays saying "starting..." The gecoerror.log and gecoSI.log indeed contain some errors logged. Both files attached hopping that this helps to fix it.
Thanks a lot in advance
Mindaugas
Am 29.09.2013 16:57, schrieb Simon Denier:
It may be related to the openJDK, but I can't be sure for now. Another Linux user told me he had some similar problems (although in his case he could not even see the port).
At least in your case you have the port. From your description, the station does not beep twice when you launch the reading? You can send me the GecoSI.log which should be created in the same folder as the geco.jar. It should give some details about what is going on.
— Reply to this email directly or view it on GitHub https://github.com/sdenier/Geco/issues/20#issuecomment-25321738.
java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while loading gnu.io.RXTXCommDriver java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at gnu.io.CommPortIdentifier.
(CommPortIdentifier.java:123) at net.geco.control.SIReaderHandler.listPorts(SIReaderHandler.java:178) at net.geco.control.SIReaderHandler.detectSIPort(SIReaderHandler.java:238) at net.geco.control.SIReaderHandler.changePortName(SIReaderHandler.java:167) at net.geco.control.SIReaderHandler. (SIReaderHandler.java:90) at net.geco.app.ClassicAppBuilder.buildControls(ClassicAppBuilder.java:89) at net.geco.Geco.initControls(Geco.java:228) at net.geco.Geco.startup(Geco.java:199) at net.geco.Geco.main(Geco.java:117) 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:616) at com.jdotsoft.jarloader.JarClassLoader.invokeMain(JarClassLoader.java:697) at net.geco.GecoLoader.main(GecoLoader.java:52) java.io.FileNotFoundException: /home/min/OL/Heiligenberg/training 16.06.2013/geco.prop (No such file or directory) gnu.io.UnsupportedCommOperationException: Invalid Parameter at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:211) at net.gecosi.adapter.rxtx.RxtxPort.setSpeed(RxtxPort.java:53) at net.gecosi.adapter.rxtx.RxtxPort.setupHighSpeed(RxtxPort.java:45) at net.gecosi.internal.SiDriver.startupBootstrap(SiDriver.java:73) at net.gecosi.internal.SiDriver.run(SiDriver.java:47) at java.lang.Thread.run(Thread.java:679) gnu.io.UnsupportedCommOperationException: Invalid Parameter at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:211) at net.gecosi.adapter.rxtx.RxtxPort.setSpeed(RxtxPort.java:53) at net.gecosi.adapter.rxtx.RxtxPort.setupHighSpeed(RxtxPort.java:45) at net.gecosi.internal.SiDriver.startupBootstrap(SiDriver.java:73) at net.gecosi.internal.SiDriver.run(SiDriver.java:47) at java.lang.Thread.run(Unknown Source) gnu.io.UnsupportedCommOperationException: Invalid Parameter at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:211) at net.gecosi.adapter.rxtx.RxtxPort.setSpeed(RxtxPort.java:53) at net.gecosi.adapter.rxtx.RxtxPort.setupHighSpeed(RxtxPort.java:45) at net.gecosi.internal.SiDriver.startupBootstrap(SiDriver.java:73) at net.gecosi.internal.SiDriver.run(SiDriver.java:47) at java.lang.Thread.run(Unknown Source) gnu.io.UnsupportedCommOperationException: Invalid Parameter at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:211) at net.gecosi.adapter.rxtx.RxtxPort.setSpeed(RxtxPort.java:53) at net.gecosi.adapter.rxtx.RxtxPort.setupHighSpeed(RxtxPort.java:45) at net.gecosi.internal.SiDriver.startupBootstrap(SiDriver.java:73) at net.gecosi.internal.SiDriver.run(SiDriver.java:47) at java.lang.Thread.run(Unknown Source) gnu.io.UnsupportedCommOperationException: Invalid Parameter at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:211) at net.gecosi.adapter.rxtx.RxtxPort.setSpeed(RxtxPort.java:53) at net.gecosi.adapter.rxtx.RxtxPort.setupHighSpeed(RxtxPort.java:45) at net.gecosi.internal.SiDriver.startupBootstrap(SiDriver.java:73) at net.gecosi.internal.SiDriver.run(SiDriver.java:47) at java.lang.Thread.run(Thread.java:679) gnu.io.UnsupportedCommOperationException: Invalid Parameter at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:211) at net.gecosi.adapter.rxtx.RxtxPort.setSpeed(RxtxPort.java:53) at net.gecosi.adapter.rxtx.RxtxPort.setupHighSpeed(RxtxPort.java:45) at net.gecosi.internal.SiDriver.startupBootstrap(SiDriver.java:73) at net.gecosi.internal.SiDriver.run(SiDriver.java:47) at java.lang.Thread.run(Thread.java:679) gnu.io.UnsupportedCommOperationException: Invalid Parameter at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:211) at net.gecosi.adapter.rxtx.RxtxPort.setSpeed(RxtxPort.java:53) at net.gecosi.adapter.rxtx.RxtxPort.setupHighSpeed(RxtxPort.java:45) at net.gecosi.internal.SiDriver.startupBootstrap(SiDriver.java:73) at net.gecosi.internal.SiDriver.run(SiDriver.java:47) at java.lang.Thread.run(Thread.java:679) gnu.io.UnsupportedCommOperationException: Invalid Parameter at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:211) at net.gecosi.adapter.rxtx.RxtxPort.setSpeed(RxtxPort.java:53) at net.gecosi.adapter.rxtx.RxtxPort.setupHighSpeed(RxtxPort.java:45) at net.gecosi.internal.SiDriver.startupBootstrap(SiDriver.java:73) at net.gecosi.internal.SiDriver.run(SiDriver.java:47) at java.lang.Thread.run(Thread.java:679) gnu.io.UnsupportedCommOperationException: Invalid Parameter at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:211) at net.gecosi.adapter.rxtx.RxtxPort.setSpeed(RxtxPort.java:53) at net.gecosi.adapter.rxtx.RxtxPort.setupHighSpeed(RxtxPort.java:45) at net.gecosi.internal.SiDriver.startupBootstrap(SiDriver.java:73) at net.gecosi.internal.SiDriver.run(SiDriver.java:47) at java.lang.Thread.run(Thread.java:679) Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException at net.geco.Geco.stage(Geco.java:291) at net.geco.ui.GecoWindow.updateWindowTitle(GecoWindow.java:171) at net.geco.ui.GecoWindow.repaint(GecoWindow.java:175) at javax.swing.plaf.synth.SynthLookAndFeel.updateStyles(SynthLookAndFeel.java:305) at javax.swing.plaf.synth.SynthLookAndFeel$AATextListener.updateWindowUI(SynthLookAndFeel.java:871) at javax.swing.plaf.synth.SynthLookAndFeel$AATextListener.updateAllUIs(SynthLookAndFeel.java:884) at javax.swing.plaf.synth.SynthLookAndFeel$AATextListener.access$300(SynthLookAndFeel.java:832) at javax.swing.plaf.synth.SynthLookAndFeel$AATextListener$1.run(SynthLookAndFeel.java:913) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:673) at java.awt.EventQueue.access$300(EventQueue.java:96) at java.awt.EventQueue$2.run(EventQueue.java:634) at java.awt.EventQueue$2.run(EventQueue.java:632) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108) at java.awt.EventQueue.dispatchEvent(EventQueue.java:643) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) gnu.io.UnsupportedCommOperationException: Invalid Parameter at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:211) at net.gecosi.adapter.rxtx.RxtxPort.setSpeed(RxtxPort.java:53) at net.gecosi.adapter.rxtx.RxtxPort.setupHighSpeed(RxtxPort.java:45) at net.gecosi.internal.SiDriver.startupBootstrap(SiDriver.java:73) at net.gecosi.internal.SiDriver.run(SiDriver.java:47) at java.lang.Thread.run(Thread.java:679) gnu.io.UnsupportedCommOperationException: Invalid Parameter at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:211) at net.gecosi.adapter.rxtx.RxtxPort.setSpeed(RxtxPort.java:53) at net.gecosi.adapter.rxtx.RxtxPort.setupHighSpeed(RxtxPort.java:45) at net.gecosi.internal.SiDriver.startupBootstrap(SiDriver.java:73) at net.gecosi.internal.SiDriver.run(SiDriver.java:47) at java.lang.Thread.run(Thread.java:679) gnu.io.UnsupportedCommOperationException: Invalid Parameter at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:211) at net.gecosi.adapter.rxtx.RxtxPort.setSpeed(RxtxPort.java:53) at net.gecosi.adapter.rxtx.RxtxPort.setupHighSpeed(RxtxPort.java:45) at net.gecosi.internal.SiDriver.startupBootstrap(SiDriver.java:73) at net.gecosi.internal.SiDriver.run(SiDriver.java:47) at java.lang.Thread.run(Thread.java:679)
Tue Sep 24 21:21:35 CEST 2013 Start /dev/ttyUSB0 ! STARTING [Error] #run# gnu.io.UnsupportedCommOperationException: Invalid Parameter ! OFF
Tue Sep 24 21:54:58 CEST 2013 Start /dev/ttyUSB0 ! STARTING [Error] #run# gnu.io.UnsupportedCommOperationException: Invalid Parameter ! OFF
Wed Sep 25 18:07:33 CEST 2013 Start /dev/ttyUSB0 ! STARTING [Error] #run# gnu.io.UnsupportedCommOperationException: Invalid Parameter ! OFF
Fri Sep 27 17:42:25 CEST 2013 Start /dev/ttyUSB0 ! STARTING [Error] #run# gnu.io.UnsupportedCommOperationException: Invalid Parameter ! OFF
Sat Sep 28 09:56:54 CEST 2013 Start /dev/ttyUSB0 ! STARTING [Error] #run# gnu.io.UnsupportedCommOperationException: Invalid Parameter ! OFF
Sat Sep 28 10:05:31 CEST 2013 Start /dev/ttyUSB0 ! STARTING [Error] #run# gnu.io.UnsupportedCommOperationException: Invalid Parameter ! OFF
Sat Sep 28 10:07:37 CEST 2013 Start /dev/ttyUSB0 ! STARTING [Error] #run# gnu.io.UnsupportedCommOperationException: Invalid Parameter ! OFF
Sat Sep 28 10:08:39 CEST 2013 Start /dev/ttyUSB0 ! STARTING [Error] #run# gnu.io.UnsupportedCommOperationException: Invalid Parameter ! OFF
Sat Sep 28 10:12:49 CEST 2013 Start /dev/ttyUSB0 ! STARTING [Error] #run# gnu.io.UnsupportedCommOperationException: Invalid Parameter ! OFF
Sat Sep 28 10:15:53 CEST 2013 Start /dev/ttyUSB0 ! STARTING [Error] #run# gnu.io.UnsupportedCommOperationException: Invalid Parameter ! OFF
Sat Sep 28 11:07:55 CEST 2013 Start /dev/ttyUSB0 ! STARTING [Error] #run# gnu.io.UnsupportedCommOperationException: Invalid Parameter ! OFF
Sat Sep 28 11:15:32 CEST 2013 Start /dev/ttyUSB0 ! STARTING [Error] #run# gnu.io.UnsupportedCommOperationException: Invalid Parameter ! OFF
Thanks
So the no rxtxSerial in java.library.path
error tells us that it does not find the native driver for Linux which is embedded in the jar. Do you have a 32bits or 64bits platform? I may have to repackage Geco to come with the right driver for your platform.
An alternative solution would be that you install the librxtx-java package then try again. It could be enough so that Geco finds the native driver for your platform (but, it involves another step for Linux installation).
Unfortunately I don't have a Linux distro or a master station right now. I may test things again in a few weeks.
Thanks for quick reply. I run 32bits platform. I will try to install the librxtx-java and see what happens. It will also take me some time till I get accsess to the SI-system and can test the geco again - so I am not in a hurry, but it would be nice to get this sorted till the next event.
Am 29.09.2013 18:41, schrieb Simon Denier:
Thanks
So the |no rxtxSerial in java.library.path| error tells us that it does not find the native driver for Linux which is embedded in the jar. Do you have a 32bits or 64bits platform? I may have to repackage Geco to come with the right driver for your platform.
An alternative solution would be that you install the librxtx-java package then try again. It could be enough so that Geco finds the native driver for your platform (but, it involves another step for Linux installation).
Unfortunately I don't have a Linux distro or a master station right now. I may test things again in a few weeks.
— Reply to this email directly or view it on GitHub https://github.com/sdenier/Geco/issues/20#issuecomment-25323855.
one more note - the librxtx-java was actually already installed. So the problem exists despite the presence of librxtx-java.
Am 29.09.2013 18:41, schrieb Simon Denier:
Thanks
So the |no rxtxSerial in java.library.path| error tells us that it does not find the native driver for Linux which is embedded in the jar. Do you have a 32bits or 64bits platform? I may have to repackage Geco to come with the right driver for your platform.
An alternative solution would be that you install the librxtx-java package then try again. It could be enough so that Geco finds the native driver for your platform (but, it involves another step for Linux installation).
Unfortunately I don't have a Linux distro or a master station right now. I may test things again in a few weeks.
— Reply to this email directly or view it on GitHub https://github.com/sdenier/Geco/issues/20#issuecomment-25323855.
OK. Perhaps this can wait a week, I need to get my hand on a master station to test that
thank you in advance for help,
Mindaugas