Skip to content

ObjectStamp cannot be cast IntegerStamp #497

Closed
@dsyer

Description

@dsyer

I have no idea what this means, or if there is a way for me to configure around it. Here's the error (when generating a native-image):

Caused by: java.lang.ClassCastException: org.graalvm.compiler.core.common.type.ObjectStamp cannot be cast to org.graalvm.compiler.core.common.type.IntegerStamp
	at org.graalvm.compiler.java.BytecodeParser.processReturnValue(BytecodeParser.java:2529)
	at org.graalvm.compiler.java.BytecodeParser.genReturn(BytecodeParser.java:2508)
	at com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.genReturn(SharedGraphBuilderPhase.java:349)
	at org.graalvm.compiler.java.BytecodeParser.processBytecode(BytecodeParser.java:4784)
	at org.graalvm.compiler.java.BytecodeParser.iterateBytecodesForBlock(BytecodeParser.java:3115)
	... 21 more

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions