![]() |
Program Crashes When Adding or Deleting Code
1 Attachment(s)
This student's program runs fine and he can add new character objects. However, when he tries to add and remove a block of code, Alice generates an error.
Here is a screen recording of it occurring: [url]https://www.youtube.com/watch?v=5AKG8Ks8eAk[/url] Does anyone have any advice or guidance? Thanks. |
I don't see any errors. You might want to add a few more specifics regarding the problem.
It can definitely gen errors if you try to remove an object that is referenced in the code somewhere. Did you try to add/remove while running it on your computer? |
[QUOTE=MrMoke;56729]I don't see any errors. You might want to add a few more specifics regarding the problem.
It can definitely gen errors if you try to remove an object that is referenced in the code somewhere. Did you try to add/remove while running it on your computer?[/QUOTE] Thank you for looking at it MrMoke. It is adding or removing blocks of code that causes the problem. I have uploaded a screen recording of the error occurring: [url]https://www.youtube.com/watch?v=5AKG8Ks8eAk[/url] |
OK- That is a little strange. As I said earlier, I ran it on my machine Win7/x64 and found no problems when adding, moving, or removing code blocks.
If it's a problem with a specific machine, then it is sometimes recommended to delete, and reinstall Alice3 as a possible fix. This shouldn't affect the world files , as they should be stored in a different location anyway. Note: If nothing works, the error submission allows both the error, and source, to be uploaded to the Alice team for review. |
[QUOTE=MrMoke;56731]OK- That is a little strange. As I said earlier, I ran it on my machine Win7/x64 and found no problems when adding, moving, or removing code blocks.[/QUOTE]
I tried it on three differently configured machines and encountered the same problem. Can I ask you what version of Java you are using? I just discovered found this [URL="http://alice3.pbworks.com/w/page/59015092/Alice%203_1%20FAQ#eventBug"]which seems to indicate[/URL] that newer versions can cause problems. |
2 Attachment(s)
Image of details is attached. Looks like 7 in my Java folder, but I also have JDK1.8.0 and jdk1.8.0_05 in there.
The Alice3 jre folder has 8.0.31.13 If I goto cmd and keyin c:\>java -version, I get 1.8.0_51 Crazy! Looks like someone needs to do a little cleaning. :-) |
1 Attachment(s)
Just in case anybody else comes across this thread while trying to solve their own problems, I am adding updates.
I found that I can successfully delete blocks of code, by right-clicking and then selecting delete. If I try to drag blogs off screen to delete them, the program crashes. I recently found that if I delete the block that is marked in the screen grab, everything will begin to operate normally again, though I don't know why. |
Workaround to crashing when adding code
I had someone send me a program that had this same issue and was able to reproduce it on my system. As a workaround I renamed the jre folder in the Alice3 installation and created a shortcut named jre to the jre folder in my JDK, which is version 1.8.0_51. I am now able to drag tiles in and out of the code area. Putting things back the way they were causes the bug to reappear.
I submitted a bug report so hopefully the next version of Alice will have a newer JRE. [QUOTE=MrMoke;56735]Image of details is attached. Looks like 7 in my Java folder, but I also have JDK1.8.0 and jdk1.8.0_05 in there. The Alice3 jre folder has 8.0.31.13 If I goto cmd and keyin c:\>java -version, I get 1.8.0_51 Crazy! Looks like someone needs to do a little cleaning. :-)[/QUOTE] |
All times are GMT -5. The time now is 06:54 AM. |
Copyright ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.