-
Couldn't load subscription status.
- Fork 18
Open
Description
Running JUnit tests ends up with java.util.UnknownFormatConversionException:
Platform:
Windows 7
Java version:
1.7.0_25
Stacktrace:
Exception in thread "Thread-1" Exception in thread "Thread-2" java.util.UnknownFormatConversionException: Conversion = '1'
at java.util.Formatter.checkText(Formatter.java:2547)
at java.util.Formatter.parse(Formatter.java:2533)
at java.util.Formatter.format(Formatter.java:2469)
at java.util.Formatter.format(Formatter.java:2423)
at java.lang.String.format(String.java:2797)
at org.zyre.ZreMsg.setIpaddress(ZreMsg.java:886)
at org.zyre.ZreInterface$Agent.requirePeer(ZreInterface.java:352)
at org.zyre.ZreInterface$Agent.recvUdpBeacon(ZreInterface.java:602)
at org.zyre.ZreInterface$ZreInterfaceAgent.run(ZreInterface.java:712)
at org.jeromq.ZThread$ShimThread.run(ZThread.java:51)
java.util.UnknownFormatConversionException: Conversion = '1'
at java.util.Formatter.checkText(Formatter.java:2547)
at java.util.Formatter.parse(Formatter.java:2533)
at java.util.Formatter.format(Formatter.java:2469)
at java.util.Formatter.format(Formatter.java:2423)
at java.lang.String.format(String.java:2797)
at org.zyre.ZreMsg.setIpaddress(ZreMsg.java:886)
at org.zyre.ZreInterface$Agent.requirePeer(ZreInterface.java:352)
at org.zyre.ZreInterface$Agent.recvUdpBeacon(ZreInterface.java:602)
at org.zyre.ZreInterface$ZreInterfaceAgent.run(ZreInterface.java:712)
at org.jeromq.ZThread$ShimThread.run(ZThread.java:51)
Cause of issue is setting IPV6 address with zone-id
// ZreInterface.java
private ZrePeer requirePeer (String identity, String address, int port)
{
// ...
ZreMsg msg = new ZreMsg (ZreMsg.HELLO);
msg.setIpaddress (this.udp.host ());
// ...
}this.udp.host () returns -> fe80:0:0:0:0:5efe:c0a8:3801%16
udp.host () should probably return IPV4 address.
Metadata
Metadata
Assignees
Labels
No labels