gurux.sms.exemple.java

2 posts / 0 new
Last post
oussamaEsi
gurux.sms.exemple.java

thank you for this great work.

I'm working on "gurux.sms.exemple.java" using NetBeans IDE 8.1 (windows 7-64 bits).
After running this project, I got this error:

ant -f E:\\Code_Java\\CGI\\gurux.sms.example.java -Dnb.internal.action.name=run run
init:
Deleting: E:\Code_Java\CGI\gurux.sms.example.java\build\built-jar.properties
deps-jar:
Updating property file: E:\Code_Java\CGI\gurux.sms.example.java\build\built-jar.properties
Compiling 38 source files to E:\Code_Java\CGI\gurux.sms.example.java\build\classes
compile:
run:
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Failed to load file. win64/gurux.serial.javajava.lang.NullPointerException
at gurux.sms.GXSMS.initialize(GXSMS.java:363)
at gurux.sms.GXSMS.<init>(GXSMS.java:247)
at gurux.sms.example.java.GuruxSmsExampleJava.<init>(GuruxSmsExampleJava.java:188)
at gurux.sms.example.java.GuruxSmsExampleJava$9.run(GuruxSmsExampleJava.java:660)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
at java.awt.EventQueue.access$300(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.awt.EventQueue$3.run(EventQueue.java:704)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
BUILD SUCCESSFUL (total time: 2 seconds)

I downloaded gurux.serial.java.dll for 64-bit and I put it in C:\Program Files\Java\jre7
help me please

Kurumi
Kurumi's picture

Hi,

We tested this and it works very well.
What kind of environment you are using?
Are you using Windows or Linux and what Java version?

You do not need to download dll anymore. It's inside of jar-file.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi