Hi! I'm working on an acquisition application and I am getting some exceptions when running my application.
My code is:
localDevice = new LocalDevice(1234,serverAddress);
localDevice.initialize();
localDevice.sendBroadcast(47808, new WhoIsRequest());
Thread.sleep(5000);
remoteDevices = localDevice.getRemoteDevices();
I'm finding 30 devices but I'm getting multiple BacnetException and IpMessageControl$MessageValidationAssertionException coming from the library. Any Idea about what's causing this?
com.serotonin.bacnet4j.exception.BACnetException: Error while creating APDU:
at com.serotonin.bacnet4j.npdu.ip.IpMessageControl$IncomingMessageExecutor.runImpl(IpMessageControl.java:502)
at com.serotonin.bacnet4j.npdu.ip.IpMessageControl$IncomingMessageExecutor.run(IpMessageControl.java:456)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.serotonin.bacnet4j.exception.BACnetErrorException: No sequence definition found for vendorId=8, serviceNumber1
at com.serotonin.bacnet4j.type.Encodable.readVendorSpecific(Encodable.java:338)
at com.serotonin.bacnet4j.service.unconfirmed.UnconfirmedPrivateTransferRequest.<init>(UnconfirmedPrivateTransferRequest.java:75)
at com.serotonin.bacnet4j.service.unconfirmed.UnconfirmedRequestService.createUnconfirmedRequestService(UnconfirmedRequestService.java:44)
at com.serotonin.bacnet4j.apdu.UnconfirmedRequest.<init>(UnconfirmedRequest.java:62)
at com.serotonin.bacnet4j.apdu.APDU.createAPDU(APDU.java:38)
at com.serotonin.bacnet4j.npdu.ip.IpMessageControl$IncomingMessageExecutor.runImpl(IpMessageControl.java:499)
... 4 more
AND
com.serotonin.bacnet4j.npdu.ip.IpMessageControl$MessageValidationAssertionException: Network messages are not supported
at com.serotonin.bacnet4j.npdu.ip.IpMessageControl$IncomingMessageExecutor.runImpl(IpMessageControl.java:491)
at com.serotonin.bacnet4j.npdu.ip.IpMessageControl$IncomingMessageExecutor.run(IpMessageControl.java:456)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thank you very much!
Eric