Smart Device App 2.7 Problems

jot4p
Posts: 192
Joined: Thu Apr 21, 2016 5:19 pm

Smart Device App 2.7 Problems

Post by jot4p » Mon Aug 20, 2018 11:25 am

Hi,

My Smart Device App 2.7 software send an error " Problems refreshing ports." when i'm trying to open.

My log:

Code: Select all

2018-08-20 09:53:29.803 [AWT-EventQueue-0] INFO  com.libelium.smartdevicesapp.SmartDeviceApp - log level selected from config: all
2018-08-20 09:53:36.806 [AWT-EventQueue-0] DEBUG com.libelium.smartdevicesapp.SmartDeviceApp - app version: 2.7 -- last version: 2.7
2018-08-20 09:53:36.806 [AWT-EventQueue-0] DEBUG com.libelium.smartdevicesapp.SmartDeviceApp - REFRESH PORTS
2018-08-20 09:53:36.853 [AWT-EventQueue-0] ERROR com.libelium.smartdevicesapp.SmartDeviceApp - java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
	at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:?]
	at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:?]
	at javax.swing.SwingWorker.get(Unknown Source) ~[?:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.done(SmartDeviceApp.java:3213) [SmartDevicesApp.jar:?]
	at javax.swing.SwingWorker$5.run(Unknown Source) [?:?]
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source) [?:?]
	at sun.swing.AccumulativeRunnable.run(Unknown Source) [?:?]
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source) [?:?]
	at javax.swing.Timer.fireActionPerformed(Unknown Source) [?:?]
	at javax.swing.Timer$DoPostEvent.run(Unknown Source) [?:?]
	at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:?]
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:?]
	at java.awt.EventQueue.access$500(Unknown Source) [?:?]
	at java.awt.EventQueue$3.run(Unknown Source) [?:?]
	at java.awt.EventQueue$3.run(Unknown Source) [?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:?]
	at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:?]
	at java.awt.WaitDispatchSupport$2.run(Unknown Source) [?:?]
	at java.awt.WaitDispatchSupport$4.run(Unknown Source) [?:?]
	at java.awt.WaitDispatchSupport$4.run(Unknown Source) [?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.awt.WaitDispatchSupport.enter(Unknown Source) [?:?]
	at java.awt.Dialog.show(Unknown Source) [?:?]
	at java.awt.Component.show(Unknown Source) [?:?]
	at java.awt.Component.setVisible(Unknown Source) [?:?]
	at java.awt.Window.setVisible(Unknown Source) [?:?]
	at java.awt.Dialog.setVisible(Unknown Source) [?:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.updatePortList(SmartDeviceApp.java:3241) [SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.<init>(SmartDeviceApp.java:411) [SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$61.run(SmartDeviceApp.java:3072) [SmartDevicesApp.jar:?]
	at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:?]
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:?]
	at java.awt.EventQueue.access$500(Unknown Source) [?:?]
	at java.awt.EventQueue$3.run(Unknown Source) [?:?]
	at java.awt.EventQueue$3.run(Unknown Source) [?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:?]
	at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.run(Unknown Source) [?:?]
Caused by: java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
	at java.lang.ClassLoader.loadLibrary(Unknown Source) ~[?:?]
	at java.lang.Runtime.loadLibrary0(Unknown Source) ~[?:?]
	at java.lang.System.loadLibrary(Unknown Source) ~[?:?]
	at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:123) ~[RXTXcomm.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.listPorts(SmartDeviceApp.java:3251) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.access$5700(SmartDeviceApp.java:93) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.doInBackground(SmartDeviceApp.java:3204) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.doInBackground(SmartDeviceApp.java:3201) ~[SmartDevicesApp.jar:?]
	at javax.swing.SwingWorker$1.call(Unknown Source) ~[?:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
	at javax.swing.SwingWorker.run(Unknown Source) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
	at java.lang.Thread.run(Unknown Source) ~[?:?]
2018-08-20 09:53:38.276 [AWT-EventQueue-0] DEBUG com.libelium.smartdevicesapp.SmartDeviceApp - REFRESH PORTS
2018-08-20 09:53:38.323 [AWT-EventQueue-0] ERROR com.libelium.smartdevicesapp.SmartDeviceApp - java.lang.NoClassDefFoundError: Could not initialize class gnu.io.CommPortIdentifier
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class gnu.io.CommPortIdentifier
	at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:?]
	at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:?]
	at javax.swing.SwingWorker.get(Unknown Source) ~[?:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.done(SmartDeviceApp.java:3213) [SmartDevicesApp.jar:?]
	at javax.swing.SwingWorker$5.run(Unknown Source) [?:?]
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source) [?:?]
	at sun.swing.AccumulativeRunnable.run(Unknown Source) [?:?]
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source) [?:?]
	at javax.swing.Timer.fireActionPerformed(Unknown Source) [?:?]
	at javax.swing.Timer$DoPostEvent.run(Unknown Source) [?:?]
	at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:?]
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:?]
	at java.awt.EventQueue.access$500(Unknown Source) [?:?]
	at java.awt.EventQueue$3.run(Unknown Source) [?:?]
	at java.awt.EventQueue$3.run(Unknown Source) [?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:?]
	at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:?]
	at java.awt.WaitDispatchSupport$2.run(Unknown Source) [?:?]
	at java.awt.WaitDispatchSupport$4.run(Unknown Source) [?:?]
	at java.awt.WaitDispatchSupport$4.run(Unknown Source) [?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.awt.WaitDispatchSupport.enter(Unknown Source) [?:?]
	at java.awt.Dialog.show(Unknown Source) [?:?]
	at java.awt.Component.show(Unknown Source) [?:?]
	at java.awt.Component.setVisible(Unknown Source) [?:?]
	at java.awt.Window.setVisible(Unknown Source) [?:?]
	at java.awt.Dialog.setVisible(Unknown Source) [?:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.updatePortList(SmartDeviceApp.java:3241) [SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.<init>(SmartDeviceApp.java:412) [SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$61.run(SmartDeviceApp.java:3072) [SmartDevicesApp.jar:?]
	at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:?]
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:?]
	at java.awt.EventQueue.access$500(Unknown Source) [?:?]
	at java.awt.EventQueue$3.run(Unknown Source) [?:?]
	at java.awt.EventQueue$3.run(Unknown Source) [?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:?]
	at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:?]
	at java.awt.EventDispatchThread.run(Unknown Source) [?:?]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class gnu.io.CommPortIdentifier
	at com.libelium.smartdevicesapp.SmartDeviceApp.listPorts(SmartDeviceApp.java:3251) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.access$5700(SmartDeviceApp.java:93) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.doInBackground(SmartDeviceApp.java:3204) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.doInBackground(SmartDeviceApp.java:3201) ~[SmartDevicesApp.jar:?]
	at javax.swing.SwingWorker$1.call(Unknown Source) ~[?:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?]
	at javax.swing.SwingWorker.run(Unknown Source) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?]
	at java.lang.Thread.run(Unknown Source) ~[?:?]
What is the problem ?

jot4p
Posts: 192
Joined: Thu Apr 21, 2016 5:19 pm

Re: Smart Device App 2.7 Problems

Post by jot4p » Mon Aug 20, 2018 12:15 pm

Hi,

The new version of java does not include: "rxtxParallel.dll, rxtxSerial.dll, RXTXcomm.jar" and gives error due to windows 10 64 bit.

Download here the files:
http://fizzed.com/oss/rxtx-for-java
(direct for windows 64 bit's > https://bitbucket.org/jlauer/mfz-cdn/do ... in-x64.zip )

and follow:

Copy RXTXcomm.jar ---> <JAVA_HOME>\jre\lib\ext
Copy rxtxSerial.dll ---> <JAVA_HOME>\jre\bin
Copy rxtxParallel.dll ---> <JAVA_HOME>\jre\bin

Fixed.

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Smart Device App 2.7 Problems

Post by libelium-dev » Mon Aug 20, 2018 1:44 pm

Hi jot4p,

Thanks for the warning, we will check this version to solve the issue.

Regards.

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Smart Device App 2.7 Problems

Post by libelium-dev » Tue Aug 21, 2018 8:38 am

Hi jot4p,

We tested and updated the windows application for 64 bits, you can download it here:

http://downloads.libelium.com/smart_dev ... dows64.zip

Regards

ANF
Posts: 27
Joined: Tue Aug 28, 2018 11:17 am
Company: Algae Natural Food

Re: Smart Device App 2.7 Problems

Post by ANF » Thu Aug 30, 2018 1:35 pm

The same issue persists for MacOSX, in my case tested with JDK1.8.0 and 1.8.1

Code: Select all

2018-08-30 13:32:00.810 [AWT-EventQueue-0] INFO  com.libelium.smartdevicesapp.SmartDeviceApp - log level selected from config: error
2018-08-30 13:32:04.203 [AWT-EventQueue-0] ERROR com.libelium.smartdevicesapp.SmartDeviceApp - java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_181]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_181]
	at javax.swing.SwingWorker.get(SwingWorker.java:602) ~[?:1.8.0_181]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.done(SmartDeviceApp.java:3213) [SmartDevicesApp.jar:?]
	at javax.swing.SwingWorker$5.run(SwingWorker.java:737) [?:1.8.0_181]
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832) [?:1.8.0_181]
	at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112) [?:1.8.0_181]
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842) [?:1.8.0_181]
	at javax.swing.Timer.fireActionPerformed(Timer.java:313) [?:1.8.0_181]
	at javax.swing.Timer$DoPostEvent.run(Timer.java:245) [?:1.8.0_181]
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_181]
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) [?:1.8.0_181]
	at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_181]
	at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_181]
	at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_181]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [?:1.8.0_181]
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) [?:1.8.0_181]
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190) [?:1.8.0_181]
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235) [?:1.8.0_181]
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233) [?:1.8.0_181]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181]
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) [?:1.8.0_181]
	at java.awt.Dialog.show(Dialog.java:1084) [?:1.8.0_181]
	at java.awt.Component.show(Component.java:1671) [?:1.8.0_181]
	at java.awt.Component.setVisible(Component.java:1623) [?:1.8.0_181]
	at java.awt.Window.setVisible(Window.java:1014) [?:1.8.0_181]
	at java.awt.Dialog.setVisible(Dialog.java:1005) [?:1.8.0_181]
	at com.libelium.smartdevicesapp.SmartDeviceApp.updatePortList(SmartDeviceApp.java:3241) [SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.<init>(SmartDeviceApp.java:411) [SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$61.run(SmartDeviceApp.java:3072) [SmartDevicesApp.jar:?]
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_181]
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) [?:1.8.0_181]
	at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_181]
	at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_181]
	at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_181]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [?:1.8.0_181]
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_181]
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_181]
Caused by: java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867) ~[?:1.8.0_181]
	at java.lang.Runtime.loadLibrary0(Runtime.java:870) ~[?:1.8.0_181]
	at java.lang.System.loadLibrary(System.java:1122) ~[?:1.8.0_181]
	at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:123) ~[RXTXcomm.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.listPorts(SmartDeviceApp.java:3251) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.access$5700(SmartDeviceApp.java:93) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.doInBackground(SmartDeviceApp.java:3204) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.doInBackground(SmartDeviceApp.java:3201) ~[SmartDevicesApp.jar:?]
	at javax.swing.SwingWorker$1.call(SwingWorker.java:295) ~[?:1.8.0_181]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]
	at javax.swing.SwingWorker.run(SwingWorker.java:334) ~[?:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_181]
	at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_181]
2018-08-30 13:32:05.107 [AWT-EventQueue-0] ERROR com.libelium.smartdevicesapp.SmartDeviceApp - java.lang.NoClassDefFoundError: Could not initialize class gnu.io.CommPortIdentifier
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class gnu.io.CommPortIdentifier
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_181]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_181]
	at javax.swing.SwingWorker.get(SwingWorker.java:602) ~[?:1.8.0_181]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.done(SmartDeviceApp.java:3213) [SmartDevicesApp.jar:?]
	at javax.swing.SwingWorker$5.run(SwingWorker.java:737) [?:1.8.0_181]
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832) [?:1.8.0_181]
	at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112) [?:1.8.0_181]
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842) [?:1.8.0_181]
	at javax.swing.Timer.fireActionPerformed(Timer.java:313) [?:1.8.0_181]
	at javax.swing.Timer$DoPostEvent.run(Timer.java:245) [?:1.8.0_181]
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_181]
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) [?:1.8.0_181]
	at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_181]
	at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_181]
	at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_181]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [?:1.8.0_181]
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) [?:1.8.0_181]
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190) [?:1.8.0_181]
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235) [?:1.8.0_181]
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233) [?:1.8.0_181]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181]
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) [?:1.8.0_181]
	at java.awt.Dialog.show(Dialog.java:1084) [?:1.8.0_181]
	at java.awt.Component.show(Component.java:1671) [?:1.8.0_181]
	at java.awt.Component.setVisible(Component.java:1623) [?:1.8.0_181]
	at java.awt.Window.setVisible(Window.java:1014) [?:1.8.0_181]
	at java.awt.Dialog.setVisible(Dialog.java:1005) [?:1.8.0_181]
	at com.libelium.smartdevicesapp.SmartDeviceApp.updatePortList(SmartDeviceApp.java:3241) [SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.<init>(SmartDeviceApp.java:412) [SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$61.run(SmartDeviceApp.java:3072) [SmartDevicesApp.jar:?]
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_181]
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) [?:1.8.0_181]
	at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_181]
	at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_181]
	at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_181]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [?:1.8.0_181]
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_181]
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_181]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class gnu.io.CommPortIdentifier
	at com.libelium.smartdevicesapp.SmartDeviceApp.listPorts(SmartDeviceApp.java:3251) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.access$5700(SmartDeviceApp.java:93) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.doInBackground(SmartDeviceApp.java:3204) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.doInBackground(SmartDeviceApp.java:3201) ~[SmartDevicesApp.jar:?]
	at javax.swing.SwingWorker$1.call(SwingWorker.java:295) ~[?:1.8.0_181]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]
	at javax.swing.SwingWorker.run(SwingWorker.java:334) ~[?:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_181]
	at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_181]
2018-08-30 13:32:05.387 [AWT-EventQueue-0] ERROR com.libelium.smartdevicesapp.SmartDeviceApp - java.lang.NoClassDefFoundError: Could not initialize class gnu.io.CommPortIdentifier
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class gnu.io.CommPortIdentifier
	at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_181]
	at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_181]
	at javax.swing.SwingWorker.get(SwingWorker.java:602) ~[?:1.8.0_181]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.done(SmartDeviceApp.java:3213) [SmartDevicesApp.jar:?]
	at javax.swing.SwingWorker$5.run(SwingWorker.java:737) [?:1.8.0_181]
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832) [?:1.8.0_181]
	at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112) [?:1.8.0_181]
	at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842) [?:1.8.0_181]
	at javax.swing.Timer.fireActionPerformed(Timer.java:313) [?:1.8.0_181]
	at javax.swing.Timer$DoPostEvent.run(Timer.java:245) [?:1.8.0_181]
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_181]
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) [?:1.8.0_181]
	at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_181]
	at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_181]
	at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_181]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [?:1.8.0_181]
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) [?:1.8.0_181]
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190) [?:1.8.0_181]
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235) [?:1.8.0_181]
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233) [?:1.8.0_181]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181]
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) [?:1.8.0_181]
	at java.awt.Dialog.show(Dialog.java:1084) [?:1.8.0_181]
	at java.awt.Component.show(Component.java:1671) [?:1.8.0_181]
	at java.awt.Component.setVisible(Component.java:1623) [?:1.8.0_181]
	at java.awt.Window.setVisible(Window.java:1014) [?:1.8.0_181]
	at java.awt.Dialog.setVisible(Dialog.java:1005) [?:1.8.0_181]
	at com.libelium.smartdevicesapp.SmartDeviceApp.updatePortList(SmartDeviceApp.java:3241) [SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.<init>(SmartDeviceApp.java:413) [SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$61.run(SmartDeviceApp.java:3072) [SmartDevicesApp.jar:?]
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [?:1.8.0_181]
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) [?:1.8.0_181]
	at java.awt.EventQueue.access$500(EventQueue.java:97) [?:1.8.0_181]
	at java.awt.EventQueue$3.run(EventQueue.java:709) [?:1.8.0_181]
	at java.awt.EventQueue$3.run(EventQueue.java:703) [?:1.8.0_181]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_181]
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [?:1.8.0_181]
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:1.8.0_181]
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [?:1.8.0_181]
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [?:1.8.0_181]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class gnu.io.CommPortIdentifier
	at com.libelium.smartdevicesapp.SmartDeviceApp.listPorts(SmartDeviceApp.java:3251) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp.access$5700(SmartDeviceApp.java:93) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.doInBackground(SmartDeviceApp.java:3204) ~[SmartDevicesApp.jar:?]
	at com.libelium.smartdevicesapp.SmartDeviceApp$62.doInBackground(SmartDeviceApp.java:3201) ~[SmartDevicesApp.jar:?]
	at javax.swing.SwingWorker$1.call(SwingWorker.java:295) ~[?:1.8.0_181]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]
	at javax.swing.SwingWorker.run(SwingWorker.java:334) ~[?:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_181]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_181]
	at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_181]
It would be great to have a solution for that problem.

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Smart Device App 2.7 Problems

Post by libelium-dev » Fri Aug 31, 2018 9:02 am

Hi,

Please try to run the app through the terminal with ./SmartDeviceApp.sh instead of double click in .jar file. Test again to upload the hex and then share with us the SmarDevicesApp.log file.

Regards

ANF
Posts: 27
Joined: Tue Aug 28, 2018 11:17 am
Company: Algae Natural Food

Re: Smart Device App 2.7 Problems

Post by ANF » Fri Sep 28, 2018 6:40 pm

Yes, that works!

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Smart Device App 2.7 Problems

Post by libelium-dev » Mon Oct 01, 2018 9:12 am

Glad to hear that! :D

EVH_LoRa
Posts: 6
Joined: Mon Mar 18, 2019 10:10 am
Company: EVH

Re: Smart Device App 2.7 Problems

Post by EVH_LoRa » Mon Mar 18, 2019 10:40 am

Hello,

after the execution of SmartDevicesApp.bat the following message appears:
"Loading the information from the node before sending is recommended".

Whats the problem and how can I fix it?

Using: W10, 32bit; Java V8 update 201

Regards

libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

Re: Smart Device App 2.7 Problems

Post by libelium-dev » Mon Mar 18, 2019 2:27 pm

Hi,

Don't worry about the message, it is showed always. Just press Accept and the app will start.

Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest