Skip to content

Uncaught exception: java.lang.IllegalArgumentException: 64-bit address cannot be unknown. #167

@FilipeLimao99

Description

@FilipeLimao99

Hello,
I'm currently using version 1.1.0 of the xbee-java-library.
I'm getting Uncaught exception: java.lang.IllegalArgumentException: 64-bit address cannot be unknown. message after broadcasting to a network of 21+ devices. If there are 25 Xbee nodes in the network I get the error, if I have 21 nodes this message is not visible.

After first broadcast:
Uncaught exception: java.lang.IllegalArgumentException: 64-bit address cannot be unknown.
com.digi.xbee.api.XBeeNetwork.getDevice(XBeeNetwork.java:484)
com.digi.xbee.api.connection.DataReader.getRemoteXBeeDeviceFromPacket(DataReader.java:652)
com.digi.xbee.api.connection.DataReader.packetReceived(DataReader.java:551)
com.digi.xbee.api.connection.DataReader.run(DataReader.java:473)
java.lang.Thread.run(), bci=5

After second broadcast
com.digi.xbee.api.exceptions.InterfaceNotOpenException: The connection interface is not open.
com.digi.xbee.api.AbstractXBeeDevice.sendXBeePacket(AbstractXBeeDevice.java:1439)
com.digi.xbee.api.AbstractXBeeDevice.sendAndCheckXBeePacket(AbstractXBeeDevice.java:1672)
com.digi.xbee.api.XBeeDevice.sendExplicitData(XBeeDevice.java:1340)
com.digi.xbee.api.XBeeDevice.sendBroadcastExplicitData(XBeeDevice.java:1564)
com.digi.xbee.api.ZigBeeDevice.sendBroadcastExplicitData(ZigBeeDevice.java:327)
com.owlet.xbee.OwlXbee.broadcast(OwlXbee.java:371)
com.owlet.xbee.OwlXbee.broadcast(OwlXbee.java:381)
com.owlet.xbee.XbeeSensorBroadcast.broadCast(XbeeSensorBroadcast.java:102)
com.owlet.xbee.XbeeSensorBroadcast$1.run(XbeeSensorBroadcast.java:77)
com.owlet.util.TaskPeriodic$1.run(Task.java:175)
java.util.TimerThread.mainLoop(), bci=244
java.util.TimerThread.run(), bci=1

Can you give me some clarification on why this is happening or if it's fixed in newer versions of the library?

Thanks you,
Filipe Limão

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions