Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.VerifyError: Bad type on operand stack #8235

Closed
scabug opened this issue Feb 5, 2014 · 2 comments
Closed

java.lang.VerifyError: Bad type on operand stack #8235

scabug opened this issue Feb 5, 2014 · 2 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Feb 5, 2014

I am getting a series of errors when attempting to test code for ScalaFX (works fine with 2.10.3). The error message look like this:

Exception encountered when attempting to run a suite with class name: scalafx.event.SubscriptionEventHandler *** ABORTED ***
   java.lang.VerifyError: Bad type on operand stack
 Exception Details:
   Location:
     scalafx/beans/binding/StringExpression.$less(Lscala/runtime/Null$;)Ljavafx/beans/binding/BooleanBinding; @5: invokevirtual
   Reason:
     Type 'scala/runtime/Null$' (current frame, stack[1]) is not assignable to 'java/lang/String'
   Current Frame:
     bci: @5
     flags: { }
     locals: { 'scalafx/beans/binding/StringExpression', 'scala/runtime/Null$' }
     stack: { 'javafx/beans/binding/StringExpression', 'scala/runtime/Null$' }
   Bytecode:
     0000000: 2ab6 001d 2bb6 0047 b0
   at scalafx.beans.property.StringProperty$.apply(StringProperty.scala:41)
   at scalafx.event.SubscriptionEventHandler$$anonfun$1.apply$mcV$sp(SubscriptionEventHandler.scala:38)
   at scalafx.event.SubscriptionEventHandler$$anonfun$1.apply(SubscriptionEventHandler.scala:37)
   at scalafx.event.SubscriptionEventHandler$$anonfun$1.apply(SubscriptionEventHandler.scala:37)
   at org.scalatest.Transformer$$anonfun$apply$1.apply(Transformer.scala:22)
   at org.scalatest.Transformer$$anonfun$apply$1.apply(Transformer.scala:22)
   at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
   at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
   at org.scalatest.Transformer.apply(Transformer.scala:22)
   at org.scalatest.Transformer.apply(Transformer.scala:20)
   ...

I am not sure how to simplify this. The full code is here:
https://code.google.com/r/jpsacha-scalafx/source/browse/?r=772e1a4374528ce7e5a1a442f324642ca9b949c4

This may be similar to #8233

@scabug
Copy link
Author

scabug commented Feb 5, 2014

Imported From: https://issues.scala-lang.org/browse/SI-8235?orig=1
Reporter: Jarek Sacha (jpsacha)
Affected Versions: 2.11.0-M8

@scabug
Copy link
Author

scabug commented Feb 5, 2014

@adriaanm said:
Thanks for reporting! This sounds an awful lot like #8233, which will be fixed in a nightly as soon as scala/scala#3462 is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants