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 7 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

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Generic Exception raised on HLS authentication failure instead of GXDLMSException
  • DLMS Image Transfer: “byte must be in range(0, 256)” with 512-byte block size in Python
  • Connecting to meter using Wrapper
  • DLMS Server / Meter emulation in Golang library
  • Unknown Baudrate
More

Who's new

  • Ask313
  • Abhishek Kumar
  • guillermoguti
  • egarcesr
  • obedph10
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin