This site requires JavaScript, please enable it in your browser!
Greenfoot back
knaoii
knaoii wrote ...

2025/3/22

Scenario not translating when published

knaoii knaoii

2025/3/22

#
I am getting the error when I upload my scenario to the Greenfoot site. https://www.greenfoot.org/scenarios/34869 The attempted translation produced the following diagnostic messages: INFO: Running TeaVM
danpost danpost

2025/3/24

#
knaoii wrote...
I am getting the error when I upload my scenario to the Greenfoot site. << Link Omitted >> The attempted translation produced the following diagnostic messages: INFO: Running TeaVM
First thing I would try is changing the name of the Character class, as it may be confused with java.lang.Character. Next, and I am not sure if this will help or not, I would add the Type in the ArrayList angle brackets on the right side of the equal sign in field declaration lines.
knaoii knaoii

2025/3/29

#
danpost wrote...
knaoii wrote...
I am getting the error when I upload my scenario to the Greenfoot site. << Link Omitted >> The attempted translation produced the following diagnostic messages: INFO: Running TeaVM
First thing I would try is changing the name of the Character class, as it may be confused with java.lang.Character. Next, and I am not sure if this will help or not, I would add the Type in the ArrayList angle brackets on the right side of the equal sign in field declaration lines.
Thank you for the help. I made those changes and reuploaded but it still seems to be giving the INFO: Running TeaVM error. Still not really sure what it could be.
danpost danpost

2025/3/30

#
knaoii wrote...
Thank you for the help. I made those changes and reuploaded but it still seems to be giving the INFO: Running TeaVM error. Still not really sure what it could be.
Sorry it didn't help. Maybe try making the ArrayList assignments in the constructor instead of in the declaration lines.
You need to login to post a reply.