NullPointerException when determining AI-Def/Use information

Issue #58 resolved
Michael Eichberg repo owner created an issue

sun.plugin.extension.NativeExtensionInstaller{ public boolean install(java.lang.String,java.lang.String,java.lang.String) } Current PC: 275; SuccessorPC: 277 Stack: List() Locals: Locals(SmallValuesSetBackedByOpalSet(offset=-26;values={-1}),SmallValuesSetBackedByOpalSet(offset=-26;values={-2}),SmallValuesSetBackedByOpalSet(offset=-26;values={-3}),SmallValuesSetBackedByOpalSet(offset=-26;values={-4}),SmallValuesSetBackedByOpalSet(offset=-26;values={5, 103}),SmallValuesSetBackedByOpalSet(offset=-26;values={8}),SmallValuesSetBackedByOpalSet(offset=-26;values={20}),SmallValuesSetBackedByOpalSet(offset=-26;values={27}),SmallValuesSetBackedByOpalSet(offset=-26;values={37, 49}),SmallValuesSetBackedByOpalSet(offset=-26;values={63}),SmallValuesSetBackedByOpalSet(offset=-26;values={68}),SmallValuesSetBackedByOpalSet(offset=-26;values={108}),SmallValuesSetBackedByOpalSet(offset=-26;values={119}),SmallValuesSetBackedByOpalSet(offset=-26;values={159}),SmallValuesSetBackedByOpalSet(offset=-26;values={166}),SmallValuesSetBackedByOpalSet(offset=-26;values={401}),null,null,null,null,null,null,null,SmallValuesSetBackedByOpalSet(offset=-26;values={410}),SmallValuesSetBackedByOpalSet(offset=-26;values={404, 412}),null) Stacktrace: java.lang.NullPointerException at org.opalj.ai.domain.RecordDefUse$class.updateUsageInformation$1(RecordDefUse.scala:349) at org.opalj.ai.domain.RecordDefUse$class.org$opalj$ai$domain$RecordDefUse$$handleFlow(RecordDefUse.scala:837) at org.opalj.ai.domain.RecordDefUse$class.handleSuccessor$1(RecordDefUse.scala:879) at org.opalj.ai.domain.RecordDefUse$$anonfun$abstractInterpretationEnded$1.apply$mcVI$sp(RecordDefUse.scala:935) at org.opalj.ai.domain.RecordDefUse$$anonfun$abstractInterpretationEnded$1.apply(RecordDefUse.scala:935) at org.opalj.ai.domain.RecordDefUse$$anonfun$abstractInterpretationEnded$1.apply(RecordDefUse.scala:935) at org.opalj.collection.mutable.UShortSet2.foreach(UShortSet.scala:135) at org.opalj.ai.domain.RecordDefUse$class.abstractInterpretationEnded(RecordDefUse.scala:935) at org.opalj.ai.domain.l1.DefaultDomainWithCFGAndDefUse.abstractInterpretationEnded(DefaultDomain.scala:106) at org.opalj.ai.AI$class.continueInterpretation(AI.scala:2549) at org.opalj.ai.InterpretMethod$AI$.continueInterpretation(InterpretMethod.scala:51) at org.opalj.ai.AI$class.continueInterpretation(AI.scala:336) at org.opalj.ai.InterpretMethod$AI$.continueInterpretation(InterpretMethod.scala:51) at org.opalj.ai.AI$class.performInterpretation(AI.scala:316) at org.opalj.ai.InterpretMethod$AI$.performInterpretation(InterpretMethod.scala:51) at org.opalj.ai.AI$class.perform(AI.scala:287) at org.opalj.ai.InterpretMethod$AI$.perform(InterpretMethod.scala:51) at org.opalj.ai.AI$class.apply(AI.scala:150) at org.opalj.ai.InterpretMethod$AI$.apply(InterpretMethod.scala:51) at org.opalj.ai.InterpretMethod$.main(InterpretMethod.scala:189) at org.opalj.ai.InterpretMethod.main(InterpretMethod.scala)

Comments (6)

  1. Michael Eichberg reporter

    the issue is fixed in the lib_cg branch which will be merged with master in due time

  2. Log in to comment