• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Fred

    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
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 36
    • Best 0
    • Controversial 0
    • Groups 0

    Fred

    @Fred

    0
    Reputation
    1.2k
    Profile views
    36
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Fred Unfollow Follow

    Latest posts made by Fred

    • BBMD Support

      Are there any plans to support BBMD in BACnet4J?

      Thanks.

      posted in BACnet4J general discussion
      F
      Fred
    • RE: BBMD Support

      Are there any plans to support BBMD in BACnet4J?

      Thanks.

      posted in BACnet4J general discussion
      F
      Fred
    • IO Exception in seroUtils.jar

      Matthew,

      I'm getting an exception in seroUtils.jar. Near as I can tell it occurs when there are multiple concurrent requests for values for several different slaves. The exception stack is:

      java.io.IOException: Stream closed.
      at java.net.PlainSocketImpl.available(PlainSocketImpl.java:434)
      at java.net.SocketInputStream.available(SocketInputStream.java:217)
      at java.io.BufferedInputStream.available(BufferedInputStream.java:381)
      at com.serotonin.io.InputStreamListener.run(InputStreamListener.java:67)

      The only way it appears I can correct the problem is to restart the application and everything will work fine so long as I don't hammer the requests concurrently.

      Have you seen this before?

      The version of Modbus4J is 1.02.

      Regards,
      Fred

      posted in Modbus4J general discussion
      F
      Fred
    • RE: IO Exception in seroUtils.jar

      Matthew,

      I'm getting an exception in seroUtils.jar. Near as I can tell it occurs when there are multiple concurrent requests for values for several different slaves. The exception stack is:

      java.io.IOException: Stream closed.
      at java.net.PlainSocketImpl.available(PlainSocketImpl.java:434)
      at java.net.SocketInputStream.available(SocketInputStream.java:217)
      at java.io.BufferedInputStream.available(BufferedInputStream.java:381)
      at com.serotonin.io.InputStreamListener.run(InputStreamListener.java:67)

      The only way it appears I can correct the problem is to restart the application and everything will work fine so long as I don't hammer the requests concurrently.

      Have you seen this before?

      The version of Modbus4J is 1.02.

      Regards,
      Fred

      posted in Modbus4J general discussion
      F
      Fred
    • Bacnet4J & Modbus4J GPL v3

      Matthew,

      Can you tell me what prompted you to change the licensing for Bacnet4J and Modbus4J from LGPL to GPL v3?

      Is there another way these products can be licensed other than GPL v3?

      Regards,
      Fred

      posted in BACnet4J general discussion
      F
      Fred
    • RE: Bacnet4J & Modbus4J GPL v3

      Matthew,

      Can you tell me what prompted you to change the licensing for Bacnet4J and Modbus4J from LGPL to GPL v3?

      Is there another way these products can be licensed other than GPL v3?

      Regards,
      Fred

      posted in BACnet4J general discussion
      F
      Fred
    • RE: Null Pointer Exception in SequenceOf.write

      Thanks Matthew,

      I did the build myself for the update you checked in for SequenceOf.java since I didn't see an updated jar file. The rest of my code is relative to the latest release published on sourceforge.

      If I can avoid it, I never like building 3rd party libraries.

      Regards,
      Fred

      posted in BACnet4J general discussion
      F
      Fred
    • RE: Null Pointer Exception in SequenceOf.write

      Thanks Matthew, that did the trick.

      Can you share your plans on when you'll be updating the released versions of bacnet4j and modbus4j?

      Regards.

      posted in BACnet4J general discussion
      F
      Fred
    • Null Pointer Exception in SequenceOf.write

      Matthew,

      I've been doing a bit of testing and I hit a NPE in SequenceOf.java.

      Here's a little background:

      I give my user the ability to add/remove sensors (analog or binary inputs) they want exposed through BACnet. So let's say I create 10 bacnet objects I add to my local device. Everything is fine. I hit my slave server with a BACnet browser and I can see everything as expected. If I delete any number of bacnet objects using removeObject on the local device and then run the scan again from my BACnet browser, I get the exception.

      Here is the full stack trace:

      java.lang.NullPointerException
      	at com.serotonin.bacnet4j.type.constructed.SequenceOf.write(SequenceOf.java:49)
      	at com.serotonin.bacnet4j.type.constructed.BaseType.write(BaseType.java:33)
      	at com.serotonin.bacnet4j.type.Encodable.writeEncodable(Encodable.java:272)
      	at com.serotonin.bacnet4j.type.constructed.ReadAccessResult$Result.write(ReadAccessResult.java:114)
      	at com.serotonin.bacnet4j.type.constructed.SequenceOf.write(SequenceOf.java:49)
      	at com.serotonin.bacnet4j.type.constructed.BaseType.write(BaseType.java:33)
      	at com.serotonin.bacnet4j.type.Encodable.write(Encodable.java:191)
      	at com.serotonin.bacnet4j.type.Encodable.writeOptional(Encodable.java:205)
      	at com.serotonin.bacnet4j.type.constructed.ReadAccessResult.write(ReadAccessResult.java:45)
      	at com.serotonin.bacnet4j.type.constructed.SequenceOf.write(SequenceOf.java:49)
      	at com.serotonin.bacnet4j.type.Encodable.write(Encodable.java:162)
      	at com.serotonin.bacnet4j.service.acknowledgement.ReadPropertyMultipleAck.write(ReadPropertyMultipleAck.java:46)
      	at com.serotonin.bacnet4j.npdu.ip.IpMessageControl.sendResponse(IpMessageControl.java:239)
      	at com.serotonin.bacnet4j.npdu.ip.IpMessageControl.access$300(IpMessageControl.java:74)
      	at com.serotonin.bacnet4j.npdu.ip.IpMessageControl$IncomingMessageExecutor.runImpl(IpMessageControl.java:536)
      	at com.serotonin.bacnet4j.npdu.ip.IpMessageControl$IncomingMessageExecutor.run(IpMessageControl.java:454)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:619)
      

      Regards,
      Fred

      posted in BACnet4J general discussion
      F
      Fred
    • RE: Null Pointer Exception in SequenceOf.write

      Matthew,

      I've been doing a bit of testing and I hit a NPE in SequenceOf.java.

      Here's a little background:

      I give my user the ability to add/remove sensors (analog or binary inputs) they want exposed through BACnet. So let's say I create 10 bacnet objects I add to my local device. Everything is fine. I hit my slave server with a BACnet browser and I can see everything as expected. If I delete any number of bacnet objects using removeObject on the local device and then run the scan again from my BACnet browser, I get the exception.

      Here is the full stack trace:

      java.lang.NullPointerException
      	at com.serotonin.bacnet4j.type.constructed.SequenceOf.write(SequenceOf.java:49)
      	at com.serotonin.bacnet4j.type.constructed.BaseType.write(BaseType.java:33)
      	at com.serotonin.bacnet4j.type.Encodable.writeEncodable(Encodable.java:272)
      	at com.serotonin.bacnet4j.type.constructed.ReadAccessResult$Result.write(ReadAccessResult.java:114)
      	at com.serotonin.bacnet4j.type.constructed.SequenceOf.write(SequenceOf.java:49)
      	at com.serotonin.bacnet4j.type.constructed.BaseType.write(BaseType.java:33)
      	at com.serotonin.bacnet4j.type.Encodable.write(Encodable.java:191)
      	at com.serotonin.bacnet4j.type.Encodable.writeOptional(Encodable.java:205)
      	at com.serotonin.bacnet4j.type.constructed.ReadAccessResult.write(ReadAccessResult.java:45)
      	at com.serotonin.bacnet4j.type.constructed.SequenceOf.write(SequenceOf.java:49)
      	at com.serotonin.bacnet4j.type.Encodable.write(Encodable.java:162)
      	at com.serotonin.bacnet4j.service.acknowledgement.ReadPropertyMultipleAck.write(ReadPropertyMultipleAck.java:46)
      	at com.serotonin.bacnet4j.npdu.ip.IpMessageControl.sendResponse(IpMessageControl.java:239)
      	at com.serotonin.bacnet4j.npdu.ip.IpMessageControl.access$300(IpMessageControl.java:74)
      	at com.serotonin.bacnet4j.npdu.ip.IpMessageControl$IncomingMessageExecutor.runImpl(IpMessageControl.java:536)
      	at com.serotonin.bacnet4j.npdu.ip.IpMessageControl$IncomingMessageExecutor.run(IpMessageControl.java:454)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:619)
      

      Regards,
      Fred

      posted in BACnet4J general discussion
      F
      Fred