ok, thanks for your quick answer... so I have no chance to read this device?
B
Posts made by Bullettoothtobi
-
RE: Exception from readProperties
-
Exception from readProperties
Hi,
I can read the properties from some devices, but not from all.
When I try to read from a Tracer Summit BCU I get an exception.
I got no problems with a new SysMik ICS.Sorry for the big post. But maybe this informations are helpfull.
Here the exception with the Tracer Summit.
com.serotonin.bacnet4j.exception.BACnetException: Completed 1 requests. Excepted on: ReadPropertyMultipleRequest [listOfReadAccessSpecs=[ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 10, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 30, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 8, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (172) 7, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 30, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 34, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 26, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (174) 7, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 30, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 65, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 6, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Input 4, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 4, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 3, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 13, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 3, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 13, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 24, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 17, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 13, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 13, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 9, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 29, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 11, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 29, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 25, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 33, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Input 3, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 7, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 29, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Input 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 14, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 14, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 14, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 23, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 18, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 18, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (174) 9, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 32, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 32, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 32, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 12, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 8, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 36, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 28, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 15, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 15, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Calendar 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 46, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 15, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Input 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 11, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Device 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 19, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 19, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (174) 10, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (181) 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 20, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 31, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 39, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 19, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 31, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 13, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 31, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 9, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 35, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 8, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 8, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 8, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Input 8, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 27, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 16, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (164) 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 16, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (196) 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (131) 3, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (162) 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 16, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 16, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 16, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (192) 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (174) 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 12, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (172) 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 38, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 34, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 23, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 47, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 20, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 25, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 23, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]]]] at com.serotonin.bacnet4j.LocalDevice.readProperties(LocalDevice.java:977) at bacnetconqueror.BacnetConqueror.getObjects(BacnetConqueror.java:160) at bacnetconqueror.GUI.searchDatapointsActionPerformed(GUI.java:398) at bacnetconqueror.GUI.access$500(GUI.java:32) at bacnetconqueror.GUI$5.actionPerformed(GUI.java:203) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6268) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6033) at java.awt.Container.processEvent(Container.java:2045) at java.awt.Component.dispatchEventImpl(Component.java:4629) at java.awt.Container.dispatchEventImpl(Container.java:2103) at java.awt.Component.dispatchEvent(Component.java:4455) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227) at java.awt.Container.dispatchEventImpl(Container.java:2089) at java.awt.Window.dispatchEventImpl(Window.java:2517) at java.awt.Component.dispatchEvent(Component.java:4455) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649) at java.awt.EventQueue.access$000(EventQueue.java:96) at java.awt.EventQueue$1.run(EventQueue.java:608) at java.awt.EventQueue$1.run(EventQueue.java:606) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116) at java.awt.EventQueue$2.run(EventQueue.java:622) at java.awt.EventQueue$2.run(EventQueue.java:620) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.awt.EventQueue.dispatchEvent(EventQueue.java:619) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Caused by: com.serotonin.bacnet4j.exception.BACnetErrorException: Property: Missing required parameter at com.serotonin.bacnet4j.type.Encodable.popEnd(Encodable.java:162) at com.serotonin.bacnet4j.type.Encodable.readWrapped(Encodable.java:389) at com.serotonin.bacnet4j.type.Encodable.readEncodable(Encodable.java:350) at com.serotonin.bacnet4j.type.constructed.ReadAccessResult$Result.<init>(ReadAccessResult.java:131) at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at com.serotonin.bacnet4j.type.Encodable.read(Encodable.java:196) at com.serotonin.bacnet4j.type.constructed.SequenceOf.<init>(SequenceOf.java:72) at com.serotonin.bacnet4j.type.Encodable.readSequenceOf(Encodable.java:267) at com.serotonin.bacnet4j.type.Encodable.readOptionalSequenceOf(Encodable.java:301) at com.serotonin.bacnet4j.type.constructed.ReadAccessResult.<init>(ReadAccessResult.java:69) at sun.reflect.GeneratedConstructorAccessor8.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at com.serotonin.bacnet4j.type.Encodable.read(Encodable.java:196) at com.serotonin.bacnet4j.type.constructed.SequenceOf.<init>(SequenceOf.java:60) at com.serotonin.bacnet4j.type.Encodable.readSequenceOf(Encodable.java:256) at com.serotonin.bacnet4j.service.acknowledgement.ReadPropertyMultipleAck.<init>(ReadPropertyMultipleAck.java:55) at com.serotonin.bacnet4j.service.acknowledgement.AcknowledgementService.createAcknowledgementService(AcknowledgementService.java:53) at com.serotonin.bacnet4j.apdu.ComplexACK.parseServiceData(ComplexACK.java:196) at com.serotonin.bacnet4j.npdu.ip.IpMessageControl.waitForAck(IpMessageControl.java:760) at com.serotonin.bacnet4j.npdu.ip.IpMessageControl.sendSegmentedRequest(IpMessageControl.java:682) at com.serotonin.bacnet4j.npdu.ip.IpMessageControl.send(IpMessageControl.java:235) at com.serotonin.bacnet4j.LocalDevice.send(LocalDevice.java:480) at com.serotonin.bacnet4j.LocalDevice.send(LocalDevice.java:470) at com.serotonin.bacnet4j.LocalDevice.send(LocalDevice.java:463) at com.serotonin.bacnet4j.LocalDevice.readProperties(LocalDevice.java:957) ... 40 more
...and here is an extract from my code until the exception occurs.
public List<Datapoint> getObjects(int deviceId) throws BACnetException, PropertyValueException { for (RemoteDevice d : remoteDevices) { if(d.getInstanceNumber() != deviceId) { continue; } List<Datapoint> datapoints = new ArrayList<Datapoint>(); localDevice.getExtendedDeviceInformation(d); List<ObjectIdentifier> oids = ((SequenceOf<ObjectIdentifier>) localDevice.sendReadPropertyAllowNull(d, d .getObjectIdentifier(), PropertyIdentifier.objectList)).getValues(); PropertyReferences refs = new PropertyReferences(); for (ObjectIdentifier oid : oids) { refs.add(oid, PropertyIdentifier.presentValue); refs.add(oid, PropertyIdentifier.objectName); } System.out.println("Start read properties"); final long start = System.currentTimeMillis(); PropertyValues values = localDevice.readProperties(d, refs); (...)
Thanks in advance!
Tobi -
RE: Exception from readProperties
Hi,
I can read the properties from some devices, but not from all.
When I try to read from a Tracer Summit BCU I get an exception.
I got no problems with a new SysMik ICS.Sorry for the big post. But maybe this informations are helpfull.
Here the exception with the Tracer Summit.
com.serotonin.bacnet4j.exception.BACnetException: Completed 1 requests. Excepted on: ReadPropertyMultipleRequest [listOfReadAccessSpecs=[ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 10, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 30, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 8, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (172) 7, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 30, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 34, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 26, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (174) 7, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 30, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 65, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 6, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Input 4, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 4, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 3, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 13, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 3, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 13, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 24, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 17, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 13, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 13, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 9, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 29, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 11, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 29, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 25, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 33, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Input 3, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 7, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 29, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Input 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 14, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 14, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 14, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 23, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 18, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 18, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (174) 9, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 32, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 32, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 32, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 12, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 8, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 36, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 28, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 15, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 15, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Calendar 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 46, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 15, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Input 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 11, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Device 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 19, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 19, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (174) 10, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (181) 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 20, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 31, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 39, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 19, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 31, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 13, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 31, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 9, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 35, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 8, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 8, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 8, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Input 8, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 27, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Input 16, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (164) 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 16, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (196) 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (131) 3, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (162) 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 16, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 16, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 16, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (192) 1, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (174) 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 12, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (172) 2, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 38, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (134) 34, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Analog Output 23, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 47, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 20, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Vendor Specific (211) 25, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]], ReadAccessSpecification [objectIdentifier=Binary Output 23, listOfPropertyReferences=[PropertyReference [propertyIdentifier=Present value, propertyArrayIndex=null], PropertyReference [propertyIdentifier=Object name, propertyArrayIndex=null]]]]] at com.serotonin.bacnet4j.LocalDevice.readProperties(LocalDevice.java:977) at bacnetconqueror.BacnetConqueror.getObjects(BacnetConqueror.java:160) at bacnetconqueror.GUI.searchDatapointsActionPerformed(GUI.java:398) at bacnetconqueror.GUI.access$500(GUI.java:32) at bacnetconqueror.GUI$5.actionPerformed(GUI.java:203) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6268) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6033) at java.awt.Container.processEvent(Container.java:2045) at java.awt.Component.dispatchEventImpl(Component.java:4629) at java.awt.Container.dispatchEventImpl(Container.java:2103) at java.awt.Component.dispatchEvent(Component.java:4455) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227) at java.awt.Container.dispatchEventImpl(Container.java:2089) at java.awt.Window.dispatchEventImpl(Window.java:2517) at java.awt.Component.dispatchEvent(Component.java:4455) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649) at java.awt.EventQueue.access$000(EventQueue.java:96) at java.awt.EventQueue$1.run(EventQueue.java:608) at java.awt.EventQueue$1.run(EventQueue.java:606) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116) at java.awt.EventQueue$2.run(EventQueue.java:622) at java.awt.EventQueue$2.run(EventQueue.java:620) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) at java.awt.EventQueue.dispatchEvent(EventQueue.java:619) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Caused by: com.serotonin.bacnet4j.exception.BACnetErrorException: Property: Missing required parameter at com.serotonin.bacnet4j.type.Encodable.popEnd(Encodable.java:162) at com.serotonin.bacnet4j.type.Encodable.readWrapped(Encodable.java:389) at com.serotonin.bacnet4j.type.Encodable.readEncodable(Encodable.java:350) at com.serotonin.bacnet4j.type.constructed.ReadAccessResult$Result.<init>(ReadAccessResult.java:131) at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at com.serotonin.bacnet4j.type.Encodable.read(Encodable.java:196) at com.serotonin.bacnet4j.type.constructed.SequenceOf.<init>(SequenceOf.java:72) at com.serotonin.bacnet4j.type.Encodable.readSequenceOf(Encodable.java:267) at com.serotonin.bacnet4j.type.Encodable.readOptionalSequenceOf(Encodable.java:301) at com.serotonin.bacnet4j.type.constructed.ReadAccessResult.<init>(ReadAccessResult.java:69) at sun.reflect.GeneratedConstructorAccessor8.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at com.serotonin.bacnet4j.type.Encodable.read(Encodable.java:196) at com.serotonin.bacnet4j.type.constructed.SequenceOf.<init>(SequenceOf.java:60) at com.serotonin.bacnet4j.type.Encodable.readSequenceOf(Encodable.java:256) at com.serotonin.bacnet4j.service.acknowledgement.ReadPropertyMultipleAck.<init>(ReadPropertyMultipleAck.java:55) at com.serotonin.bacnet4j.service.acknowledgement.AcknowledgementService.createAcknowledgementService(AcknowledgementService.java:53) at com.serotonin.bacnet4j.apdu.ComplexACK.parseServiceData(ComplexACK.java:196) at com.serotonin.bacnet4j.npdu.ip.IpMessageControl.waitForAck(IpMessageControl.java:760) at com.serotonin.bacnet4j.npdu.ip.IpMessageControl.sendSegmentedRequest(IpMessageControl.java:682) at com.serotonin.bacnet4j.npdu.ip.IpMessageControl.send(IpMessageControl.java:235) at com.serotonin.bacnet4j.LocalDevice.send(LocalDevice.java:480) at com.serotonin.bacnet4j.LocalDevice.send(LocalDevice.java:470) at com.serotonin.bacnet4j.LocalDevice.send(LocalDevice.java:463) at com.serotonin.bacnet4j.LocalDevice.readProperties(LocalDevice.java:957) ... 40 more
...and here is an extract from my code until the exception occurs.
public List<Datapoint> getObjects(int deviceId) throws BACnetException, PropertyValueException { for (RemoteDevice d : remoteDevices) { if(d.getInstanceNumber() != deviceId) { continue; } List<Datapoint> datapoints = new ArrayList<Datapoint>(); localDevice.getExtendedDeviceInformation(d); List<ObjectIdentifier> oids = ((SequenceOf<ObjectIdentifier>) localDevice.sendReadPropertyAllowNull(d, d .getObjectIdentifier(), PropertyIdentifier.objectList)).getValues(); PropertyReferences refs = new PropertyReferences(); for (ObjectIdentifier oid : oids) { refs.add(oid, PropertyIdentifier.presentValue); refs.add(oid, PropertyIdentifier.objectName); } System.out.println("Start read properties"); final long start = System.currentTimeMillis(); PropertyValues values = localDevice.readProperties(d, refs); (...)
Thanks in advance!
Tobi