CSUG / HouseMD

HouseMD is an awesome diagnosing tool better than BTrace
http://csug.github.io/HouseMD/
Apache License 2.0
700 stars 218 forks source link

Exception throwed when tracing a method #64

Closed ghost closed 11 years ago

ghost commented 12 years ago

It seems like pattern mismatched here

INFO : Reset class com.taobao.realtime.esper.EsperBolt
ERROR: java.util.FormatFlagsConversionMismatchException: Conversion = s, Flags = #
    java.util.Formatter$FormatSpecifier.failMismatch(Formatter.java:4041)
    java.util.Formatter$FormatSpecifier.printString(Formatter.java:2834)
    java.util.Formatter$FormatSpecifier.print(Formatter.java:2718)
    java.util.Formatter.format(Formatter.java:2494)
    java.util.Formatter.format(Formatter.java:2423)
    java.lang.String.format(String.java:2845)
    scala.collection.immutable.StringLike$class.format(StringLike.scala:270)
    scala.collection.immutable.StringOps.format(StringOps.scala:31)
    com.github.zhongl.housemd.command.Trace$Statistic.reps(Trace.scala:132)
    com.github.zhongl.housemd.command.Trace$$anon$1$$anonfun$heartbeat$1.apply(Trace.scala:87)
    com.github.zhongl.housemd.command.Trace$$anon$1$$anonfun$heartbeat$1.apply(Trace.scala:87)
    scala.collection.immutable.TreeSet$$anonfun$foreach$1.apply(TreeSet.scala:114)
    scala.collection.immutable.TreeSet$$anonfun$foreach$1.apply(TreeSet.scala:114)
    scala.collection.immutable.RedBlack$NonEmpty.foreach(RedBlack.scala:164)
    scala.collection.immutable.TreeSet.foreach(TreeSet.scala:114)
    com.github.zhongl.housemd.command.Trace$$anon$1.heartbeat(Trace.scala:87)
    com.github.zhongl.housemd.command.Trace$$anon$1.finalize(Trace.scala:92)
    com.github.zhongl.housemd.command.TransformCommand$$anon$2.finalize(TransformCommand.scala:53)
    com.github.zhongl.housemd.instrument.Transform.handleAdviceEvent(Transform.scala:96)
    com.github.zhongl.housemd.instrument.Transform.apply(Transform.scala:67)
    com.github.zhongl.housemd.command.TransformCommand.run(TransformCommand.scala:65)
    com.github.zhongl.yascli.Suite$class.run(Suite.scala:51)
    com.github.zhongl.yascli.Shell.run(Shell.scala:27)
    com.github.zhongl.yascli.Shell.parse$1(Shell.scala:50)
    com.github.zhongl.yascli.Shell.interact(Shell.scala:58)
    com.github.zhongl.yascli.Shell.main(Shell.scala:33)
    com.github.zhongl.housemd.duck.Telephone.run(Telephone.scala:53)
    java.lang.Thread.run(Thread.java:722)
zhongl commented 12 years ago

This problem cause by jdk7.

I'll fix it at 0.3.0.

naixwf commented 11 years ago

bug原因:http://bugs.sun.com/view_bug.do?bug_id=7007868 我想认领这个task

zhongl commented 11 years ago

多谢:)