• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Bacnet stopped reading

    Scheduled Pinned Locked Moved User help
    4 Posts 2 Posters 1.2k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      psysak
      last edited by psysak

      Hey hey, I have three devices on a site which stopped reading over Bacnet, all on the same day. I pulled some logs off of one device and this what happened on that day.

      ERROR 2018-05-02 20:00:51,787 (com.serotonin.bacnet4j.event.DefaultExceptionListener.receivedException:48) -
      com.serotonin.bacnet4j.exception.ReflectionException: java.lang.reflect.InvocationTargetException
      at com.serotonin.bacnet4j.type.Encodable.read(Encodable.java:214)
      at com.serotonin.bacnet4j.service.unconfirmed.IAmRequest.<init>(IAmRequest.java:108)
      at com.serotonin.bacnet4j.service.unconfirmed.UnconfirmedRequestService.createUnconfirmedRequestService(UnconfirmedRequestService.java:74)
      at com.serotonin.bacnet4j.apdu.UnconfirmedRequest.parseServiceData(UnconfirmedRequest.java:91)
      at com.serotonin.bacnet4j.transport.DefaultTransport.receiveAPDU(DefaultTransport.java:538)
      at com.serotonin.bacnet4j.transport.DefaultTransport.receiveImpl(DefaultTransport.java:463)
      at com.serotonin.bacnet4j.transport.DefaultTransport.run(DefaultTransport.java:404)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at com.serotonin.bacnet4j.type.Encodable.read(Encodable.java:202)
      ... 7 more
      Caused by: java.lang.ArrayIndexOutOfBoundsException
      ERROR 2018-05-02 20:26:55,329 (com.serotonin.bacnet4j.event.DefaultExceptionListener.receivedException:48) -
      com.serotonin.bacnet4j.exception.ReflectionException: java.lang.reflect.InvocationTargetException
      at com.serotonin.bacnet4j.type.Encodable.read(Encodable.java:214)
      at com.serotonin.bacnet4j.service.unconfirmed.IAmRequest.<init>(IAmRequest.java:108)
      at com.serotonin.bacnet4j.service.unconfirmed.UnconfirmedRequestService.createUnconfirmedRequestService(UnconfirmedRequestService.java:74)
      at com.serotonin.bacnet4j.apdu.UnconfirmedRequest.parseServiceData(UnconfirmedRequest.java:91)
      at com.serotonin.bacnet4j.transport.DefaultTransport.receiveAPDU(DefaultTransport.java:538)
      at com.serotonin.bacnet4j.transport.DefaultTransport.receiveImpl(DefaultTransport.java:463)
      at com.serotonin.bacnet4j.transport.DefaultTransport.run(DefaultTransport.java:404)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.GeneratedConstructorAccessor11.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at com.serotonin.bacnet4j.type.Encodable.read(Encodable.java:202)
      ... 7 more
      Caused by: java.lang.ArrayIndexOutOfBoundsException

      Any ideas what that might be? Array index is interesting. The solution is just to restart the data source.

      1 Reply Last reply Reply Quote 0
      • P Offline
        psysak
        last edited by

        Just to add, all of the devices started talking to their Bacnet slaves as soon as the data source was restarted. I would really like to get to a point where this could recover on its own.

        1 Reply Last reply Reply Quote 0
        • terrypackerT Offline
          terrypacker
          last edited by

          @psysak I'll be working in the BACnet4J library later this week or early next. This looks like a potential bug so I'll see if I can fix it up for you while I'm in there.

          1 Reply Last reply Reply Quote 0
          • terrypackerT Offline
            terrypacker
            last edited by

            @psysak It looks like you are using an older version of the BACnet4J library, I would suggest using the latest version 4.1.6 and see if you still have the problem. If you do then re-post the new stack trace so I can see how it fits in the latest code. I'm working on the library this week so if you can get the me the info before I move on then I'll make a fix if something is broken.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post