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 9 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, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
More

Who's new

  • Fayaz Shaik
  • hezhangnihao@163.com
  • ZilvinasN
  • Yosr
  • albino.ramon
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin