TDSI Assertion failure and hang when writing SWF.

17 views
Skip to first unread message

skyboy

unread,
Jan 7, 2012, 8:00:32 PM1/7/12
to apparat-framework
<function0>: caught java.lang.AssertionError: assertion failed
java.lang.AssertionError: assertion failed
at scala.Predef$.assert(Predef.scala:77)
at apparat.abc.AbcOutputStream.writeS08(AbcOutputStream.scala:87)
at apparat.bytecode.BytecodeEncoder$.s08$1(BytecodeEncoder.scala:37)
at apparat.bytecode.BytecodeEncoder$.writeOp$1(BytecodeEncoder.scala:
175)
at apparat.bytecode.BytecodeEncoder$$anonfun$apply
$2.apply(BytecodeEncoder.scala:201)
at apparat.bytecode.BytecodeEncoder$$anonfun$apply
$2.apply(BytecodeEncoder.scala:201)
at scala.collection.LinearSeqOptimized
$class.foreach(LinearSeqOptimized.scala:61)


I know what function is most likely throwing this error, but I don't
know where the error is and the failure isn't remotely helpful. After
throwing the error, TDSI stops processing and does not exit.

skyboy

unread,
Jan 8, 2012, 4:49:34 PM1/8/12
to apparat-framework
I found and corrected the error (pushing 325 as a Byte instead of
Short); but that error really could've been more helpful.
Reply all
Reply to author
Forward
0 new messages