Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Gurux.sms.exemple.java

gurux.sms.exemple.java

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By oussamaEsi, 22 January, 2016
Forums
Gurux.SMS

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

Profile picture for user Kurumi

Kurumi

9 years 10 months ago

gurux.sms.exemple.java

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

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 12/02/2025 - 10:21
    gurux.dlms.c 9.0.2512.0201
  • Mon, 12/01/2025 - 13:55
    Gurux.DLMS.Python 1.0.193
  • Thu, 11/13/2025 - 15:23
    Gurux.DLMS.Python 1.0.192
  • Thu, 11/13/2025 - 14:55
    gurux.dlms.java 4.0.84
  • Wed, 10/29/2025 - 08:51
    gurux.dlms.c 9.0.2510.2901

New forum topics

  • DLMS Meter Gurux DLMS Director Properties
  • Using MAX3232 + FT232RL to Energy meter with GXDLMS Director
  • Incomplete Firmware Upgrade Process
  • SNRM byte mening
  • P384 Client Certificate incorrect issuer CN
More

Who's new

  • Warisara
  • ajumail
  • 智发
  • Elie_George
  • henry@mactron.co.za
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin