Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-SS7 Roadmap-Fix

New issue 184 by [email protected]: Small bug in SccpRoutingControl at 225
http://code.google.com/p/jss7/issues/detail?id=184

Error in format string:

logger.warn(String.format("Received SccpMessage=% for Translation but no matching %s Address defined for Rule=%s for routing", msg, destName, rule));


should be: SccpMessage=%s

Format error cause exception:

ERROR [2012-11-30 19:03:10,991][pool-2-thread-1][org.mobicents.protocols.ss7.mtp.Mtp3UserPartBaseImpl] Exception while delivering a system messages to the MTP3-user: f != org.mobicents.protocols.ss7.sccp.impl.message.SccpDataMessageImpl java.util.IllegalFormatConversionException: f != org.mobicents.protocols.ss7.sccp.impl.message.SccpDataMessageImpl
        at 
java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4045)
        at java.util.Formatter$FormatSpecifier.printFloat(Formatter.java:2761)
        at java.util.Formatter$FormatSpecifier.print(Formatter.java:2708)
        at java.util.Formatter.format(Formatter.java:2488)
        at java.util.Formatter.format(Formatter.java:2423)
        at java.lang.String.format(String.java:2797)
at org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl.checkTranslationAddress(SccpRoutingControl.java:225) at org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl.translationFunction(SccpRoutingControl.java:322) at org.mobicents.protocols.ss7.sccp.impl.SccpRoutingControl.routeMssgFromMtp(SccpRoutingControl.java:147) at org.mobicents.protocols.ss7.sccp.impl.SccpStackImpl.onMtp3TransferMessage(SccpStackImpl.java:732) at org.mobicents.protocols.ss7.mtp.Mtp3UserPartBaseImpl$MsgTransferDeliveryHandler.run(Mtp3UserPartBaseImpl.java:233) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)


Reply via email to