Hey all,
I'm currently using Alchemy to compile a 3rd party C-library for use
with Flash. However, the library gets a little log-happy with stdout/
stderr, resulting in a bunch of traces I really could do without. I
figured using the Stripper tool on the generated swc would help, but
without any luck: Stripper fails with a stack-trace. I'm using Scala
2.8.0 and Apparat RC9, and the same occurs in Windows and Ubuntu. I've
managed to run Stripper fine on other projects not using Alchemy.
I've pasted Stripper's console output at the bottom of the post. Any
idea?
Cheers!
David
[INFO] Apparat --
http://apparat.googlecode.com/
[INFO] Launching tool: Stripper
java.lang.StackOverflowError
at apparat.tools.stripper.Stripper$StripperTool$$anonfun$strip$1$
$anonfun$apply$4$$anonfun$apply$5$$anonfun$apply$6$$anonfun$apply
$7.apply(Stripper.scala:128)
at apparat.bytecode.Bytecode.loop$1(Bytecode.scala:65)
at apparat.bytecode.Bytecode.loop$1(Bytecode.scala:70)
[... same line repeated a couple hundred times ...]
at apparat.bytecode.Bytecode.loop$1(Bytecode.scala:70)
java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1140)
at java.util.regex.Matcher.reset(Matcher.java:291)
at java.util.regex.Matcher.<init>(Matcher.java:211)
at java.util.regex.Pattern.matcher(Pattern.java:888)
at java.util.Formatter.parse(Formatter.java:2458)
at java.util.Formatter.format(Formatter.java:2414)
at java.util.Formatter.format(Formatter.java:2367)
at java.lang.String.format(String.java:2769)
at scala.collection.immutable.StringLike
$class.format(StringLike.scala:251)
at scala.collection.immutable.StringOps.format(StringOps.scala:31)
at apparat.log.LoggerImpl.logIf(LoggerImpl.scala:89)
at apparat.log.LoggerImpl.fatal(LoggerImpl.scala:33)
at apparat.tools.ApparatApplication$.apply(ApparatApplication.scala:
78)
at apparat.tools.stripper.Stripper$.main(Stripper.scala:37)
at apparat.tools.stripper.Stripper.main(Stripper.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at scala.tools.nsc.util.ScalaClassLoader$$anonfun$run
$1.apply(ScalaClassLoader.scala:81)
at scala.tools.nsc.util.ScalaClassLoader
$class.asContext(ScalaClassLoader.scala:24)
at scala.tools.nsc.util.ScalaClassLoader
$URLClassLoader.asContext(ScalaClassLoader.scala:86)
at scala.tools.nsc.util.ScalaClassLoader
$class.run(ScalaClassLoader.scala:81)
at scala.tools.nsc.util.ScalaClassLoader
$URLClassLoader.run(ScalaClassLoader.scala:86)
at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:
83)
at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)