Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

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

10 years 4 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, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin