• P
    psysak

    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.

    posted in User help read more
  • P
    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.

    posted in User help read more
  • P
    psysak

    Interesting ideas Joel, thanks for that.

    posted in User help read more
  • P
    psysak

    Hey, I have a question about reading data out of Mango and into another DB. This question is unfortunately born in lack of knowledge. I'm experimenting with this data analysis platform called Splunk. It has a DB connector app which supports all kinds of connections such as MySQL, Oracle etc. This thing will want to grab all the point data out of Mango. Could I get you to point me in the right direction on how to connect the two? I'm not looking for you to tell me exactly what to do just need some info on what I'm looking at. For example, the NoSQL database, is that a type? I saw something posted in here that indicated that the DB is not open source and you suggested using REST to get the data out?

    I just need some guidance to know what the hell I'm even trying to do haha :)

    posted in User help read more
  • P
    psysak

    ................ yes?....

    Thank you :)

    I got around it by putting IllegalArgumentException since Instant extends it, but I will do it properly now

    posted in User help read more
  • P
    psysak

    Interesting, can't compile cause it doesn't seem to understand IllegalInstantException

    posted in User help read more
  • P
    psysak

    Hey, I'm sorry if this this a newbie question but I don't have a terribly huge amount of experience with coding in Java/Mango. I'd like to enable some verbose logging from my data file source importers, what's the best way to do such a thing? I'l like to be able to dump the contents of the memory so I can "see what it sees" as it parses a CSV for me.

    Thanks all

    posted in User help read more
  • P
    psysak

    You guys are awesome :)
    Thank you

    posted in User help read more
  • P
    psysak

    Hey, I searched and I think I know the answer (no) but I thought I would ask. I've been asked to generate a custom CSV once a day based on point data. Basically just export some point name, value and timestamp. Is that possible right now? I just want it stored on the local drive because then I'll FTP it out.

    posted in User help read more