dragome / dragome-sdk

Dragome is a tool for creating client side web applications in pure Java (JVM) language.
http://www.dragome.com
Other
80 stars 20 forks source link

NPE in com.dragome.compiler.parser.Pass1.selectForm(InstructionType instructionType) #171

Open nicolaichuk opened 7 years ago

nicolaichuk commented 7 years ago

NullPointerEception in https://github.com/dragome/dragome-sdk/blob/master/dragome-bytecode-js-compiler/src/main/java/com/dragome/compiler/parser/Pass1.java#L821

stack.size = 2 j = 2 stack.peek(j) = null

this exception silence in this line https://github.com/dragome/dragome-sdk/blob/master/dragome-bytecode-js-compiler/src/main/java/com/dragome/compiler/parser/Parser.java#L465

@fpetrola, Is it good?

How i can enable isFailOnError from config?

fpetrola commented 7 years ago

use: https://github.com/dragome/dragome-sdk/commit/d77aad2bb739fa718bd029e90ab83d1758431999