bjgf issueshttps://gitlab.bluej.org/bluej/bjgf/-/issues2015-11-21T16:40:49Zhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1571[GREENFOOT-227] url in automated collection invitation e-mail is incorrect2015-11-21T16:40:49ZNeil Brown[GREENFOOT-227] url in automated collection invitation e-mail is incorrectI have received three collection invitations to add my scenario to a collection. None of the urls in each of the automated emails I received take me to my collection invitations page.
urls (approximately):
http://greenfootgallery.org/u...I have received three collection invitations to add my scenario to a collection. None of the urls in each of the automated emails I received take me to my collection invitations page.
urls (approximately):
http://greenfootgallery.org/users/202/show_invitations
http://greenfootgallery.org/users/251/show_invitations
http://greenfootgallery.org/users/62/show_invitations
The actual url is:
http://www.greenfootgallery.org/users/15/show_invitations
I believe it's sending me the incorrect url each time.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1572[GREENFOOT-228] IllegalStateException in GridWorld scenario with greenfoot 1....2015-11-21T16:40:49ZNeil Brown[GREENFOOT-228] IllegalStateException in GridWorld scenario with greenfoot 1.5.0 and later.Slightly modified Gridworld/BoxBug scenario. I subclassed a BoxBug called (BoxBug45) that turns 45 degrees instead of 90 degrees. When I have a BoxBug face-off against a BoxBug45, the BoxBug45 is removed and the following is displayed in...Slightly modified Gridworld/BoxBug scenario. I subclassed a BoxBug called (BoxBug45) that turns 45 degrees instead of 90 degrees. When I have a BoxBug face-off against a BoxBug45, the BoxBug45 is removed and the following is displayed in the Terminal Window:
java.lang.IllegalStateException: The grid contains a different actor at location (5, 5).
at GridActor.moveTo(GridActor.java:160)
at Bug.move(Bug.java:75)
at BoxBug.act(BoxBug.java:47)
at greenfoot.core.Simulation.runOneLoop(Simulation.java:288)
at greenfoot.core.Simulation.run(Simulation.java:158)
Scenario attached.
This scenario seems to work in 1.46
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 1.5.4Michael KöllingMichael Köllinghttps://gitlab.bluej.org/bluej/bjgf/-/issues/1573[GREENFOOT-229] sounds not located in scenario root directory on Greenfoot Ga...2015-11-21T16:40:49ZNeil Brown[GREENFOOT-229] sounds not located in scenario root directory on Greenfoot Gallery exportIf a sound is placed into the root directory of a scenario, Greenfoot will play it, and a webpage export of the scenario will play it. However, a Greenfoot Gallery export will throw exceptions because it is not locating the sound file i...If a sound is placed into the root directory of a scenario, Greenfoot will play it, and a webpage export of the scenario will play it. However, a Greenfoot Gallery export will throw exceptions because it is not locating the sound file in a 'sounds' directory.
If sounds are placed in a 'sounds' directory within the scenario directory, a Greenfoot Gallery export will perform correctly.
Example error:
java.lang.IllegalArgumentException: Format of sound file not
supported: 15488+djgriffin+tibetan_chant_4_colargol_2_modified.wav
at greenfoot.Greenfoot.playSound(Greenfoot.java:141)
at SoundLooper.start(SoundLooper.java:73)
at OuterSpace.act(OuterSpace.java:121)
at greenfoot.core.Simulation.runOneLoop(Simulation.java:274)
at greenfoot.core.Simulation.run(Simulation.java:158)
Caused by: javax.sound.sampled.UnsupportedAudioFileException: could
not get audio input stream from input URL
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown
Source)
at greenfoot.sound.SoundClip.open(SoundClip.java:70)
at greenfoot.sound.SoundClip.play(SoundClip.java:127)
at greenfoot.sound.SoundPlayer.play(SoundPlayer.java:144)
at greenfoot.Greenfoot.playSound(Greenfoot.java:135)
Steps to reproduce:
# Write a scenario that utilizes a played sound. Place the sound file in the scenario root directory.
2. Verify that the scenario performs correctly within Greenfoot and on export to webpage.
3. Export scenario to Greenfoot Gallery and test.
4. Compare steps 2 and 3 to placing sound file in 'sounds' directory within the scenario root.
Caveats:
bq. This bug was not seen by Greenfoot Developer Michael K?lling on Mac OS X 10.5.6, with the latest Java update. Whether this is due to OS, Java version, or some other factor is unknown.
The bug has been confirmed on Windows and Linux operating systems, i386 architecture and PowerPC CPU architectures, and on Sun Java and the OpenJDK open source Java implementation.
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 1.5.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1366[GREENFOOT-22] make German translation2015-11-21T16:40:46ZMichael Kölling[GREENFOOT-22] make German translation
---
**Issue metadata**
- Issue type: Task
- Priority: Medium
- Fix versions: 1.3.0
---
**Issue metadata**
- Issue type: Task
- Priority: Medium
- Fix versions: 1.3.0Michael KöllingMichael Köllinghttps://gitlab.bluej.org/bluej/bjgf/-/issues/1574[GREENFOOT-230] Cannot create new classes when using non-english interface2015-11-21T16:40:49ZNeil Brown[GREENFOOT-230] Cannot create new classes when using non-english interfaceThis stack trace below is printed if you attempt to create a new class when using German as the interface language.
It happens when the templates does not exist. It should instead default to the english templates.
*
java.io.FileNotFound...This stack trace below is printed if you attempt to create a new class when using German as the interface language.
It happens when the templates does not exist. It should instead default to the english templates.
*
java.io.FileNotFoundException: /home/polle/greenfoot/greenfoot151/lib/german/greenfoot/templates/actorclass.tmpl (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at bluej.utility.BlueJFileReader.translateFile(BlueJFileReader.java:166)
at bluej.utility.BlueJFileReader.translateFile(BlueJFileReader.java:143)
at greenfoot.platforms.ide.GreenfootUtilDelegateIDE.createSkeleton(GreenfootUtilDelegateIDE.java:36)
at greenfoot.util.GreenfootUtil.createSkeleton(GreenfootUtil.java:558)
at greenfoot.gui.classbrowser.ClassView.createSubclass(ClassView.java:481)
at greenfoot.actions.NewSubclassAction.createImageClass(NewSubclassAction.java:72)
at greenfoot.actions.NewSubclassAction.actionPerformed(NewSubclassAction.java:56)
*
---
**Issue metadata**
- Issue type: Bug
- Priority: High
- Fix versions: 1.5.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1575[GREENFOOT-231] Improve performance in order to remove visible pauses2015-11-21T16:40:49ZNeil Brown[GREENFOOT-231] Improve performance in order to remove visible pausesIn some scenarios there are periodic pauses. For instance the ants scenario and marbles.
This has been noticed on quite fast Macs, and it should be possible to get rid of it.
This seems to happen because of garbage collection. To see th...In some scenarios there are periodic pauses. For instance the ants scenario and marbles.
This has been noticed on quite fast Macs, and it should be possible to get rid of it.
This seems to happen because of garbage collection. To see this edit the greenfoot.defs file and modify the bluej.vm.args to include this:
bluej.vm.args=-verbose:gc
In the ants scenario running on my MacBook I see gc times of up to 500ms which could explain the pauses.
---
**Issue metadata**
- Issue type: Task
- Priority: Medium
- Fix versions: 2.0Davin McCallDavin McCallhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1576[GREENFOOT-232] GreenfootImage transparency does not work correctly.2015-11-21T16:40:49ZNeil Brown[GREENFOOT-232] GreenfootImage transparency does not work correctly.The transparency setting of a GreenfootImage is not reflected everywhere where it should be. For instance the drawImage() method does not respect the transparency setting.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- ...The transparency setting of a GreenfootImage is not reflected everywhere where it should be. For instance the drawImage() method does not respect the transparency setting.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1577[GREENFOOT-233] InterruptedException thrown when pausing scenario2015-11-21T16:40:49ZNeil Brown[GREENFOOT-233] InterruptedException thrown when pausing scenarioWhen pressing the pause button the following harmless exception is sometimes thrown:
{noformat}
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.jav...When pressing the pause button the following harmless exception is sometimes thrown:
{noformat}
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1135)
at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lockInterruptibly(ReentrantReadWriteLock.java:862)
at greenfoot.core.Simulation.maybePause(Simulation.java:231)
at greenfoot.core.Simulation.run(Simulation.java:173)
{noformat}
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1578[GREENFOOT-234] java.lang.IllegalStateException within painting after removin...2015-11-21T16:40:49ZNeil Brown[GREENFOOT-234] java.lang.IllegalStateException within painting after removing objectsI wrote a simple clean-function:
{noformat}
/** removes every Object from the WombatWorld */
public void clean() {
removeObjects(getObjects(null));
}
{noformat}
when I call this function several times, I sometimes...I wrote a simple clean-function:
{noformat}
/** removes every Object from the WombatWorld */
public void clean() {
removeObjects(getObjects(null));
}
{noformat}
when I call this function several times, I sometimes get
{noformat}
Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: The actor has not been inserted into a world so it has no location yet. You might want to look at the method addedToWorld on the Actor class.
at greenfoot.Actor.failIfNotInWorld(Actor.java:620)
at greenfoot.Actor.getX(Actor.java:139)
at greenfoot.gui.WorldCanvas.paintObjects(WorldCanvas.java:93)
at greenfoot.gui.WorldCanvas.paintComponent(WorldCanvas.java:150)
{noformat}
Objects should not be painted after deletion
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1579[GREENFOOT-235] Interactively invoked methods should run on the simulation th...2015-11-21T16:40:49ZNeil Brown[GREENFOOT-235] Interactively invoked methods should run on the simulation thread.Currently each method call is executed on its own thread. That results in all kinds of synchronization issues. For instance see ticket GREENFOOT-234. Ticket GREENFOOT-151 might related as well.
---
**Issue metadata**
- Issue type: Bug...Currently each method call is executed on its own thread. That results in all kinds of synchronization issues. For instance see ticket GREENFOOT-234. Ticket GREENFOOT-151 might related as well.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 2.0https://gitlab.bluej.org/bluej/bjgf/-/issues/1580[GREENFOOT-236] No overwrite prompt on export2015-11-21T16:40:49ZNeil Brown[GREENFOOT-236] No overwrite prompt on exportWhen exporting to a jar file and selecting a name that exists already, there's currently no confirmation before overwriting the file \\- there probably should be just in case\!
---
**Issue metadata**
- Issue type: Bug
- Priority: Medi...When exporting to a jar file and selecting a name that exists already, there's currently no confirmation before overwriting the file \\- there probably should be just in case\!
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1581[GREENFOOT-237] Exported jar window can be resized2015-11-21T16:40:49ZNeil Brown[GREENFOOT-237] Exported jar window can be resizedCurrently when exporting a scenario to a Jar file, the window can be resized \\- is this the desired behaviouor? Resizing just hides some of the world or creates a huge grey border, and seems a bit illogical when the world itself can't r...Currently when exporting a scenario to a Jar file, the window can be resized \\- is this the desired behaviouor? Resizing just hides some of the world or creates a huge grey border, and seems a bit illogical when the world itself can't resize basd on the window size.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 2.0Neil BrownNeil Brownhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1582[GREENFOOT-238] Calling Greenfoot.start() in world's constructor breaks jar e...2015-11-21T16:40:49ZNeil Brown[GREENFOOT-238] Calling Greenfoot.start() in world's constructor breaks jar exportIf you call Greenfoot.start() in the world's constructor (to start the scenario automatically) and then export to a jar file, the scenario doesn't start automatically and clicking on the run button doesn't seem to do anything.
---
**Is...If you call Greenfoot.start() in the world's constructor (to start the scenario automatically) and then export to a jar file, the scenario doesn't start automatically and clicking on the run button doesn't seem to do anything.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 2.0https://gitlab.bluej.org/bluej/bjgf/-/issues/1583[GREENFOOT-239] Icon in jar file export2015-11-21T16:40:49ZNeil Brown[GREENFOOT-239] Icon in jar file exportAt the moment, the icon in the exported jar file window is just the standard java icon, perhaps it'd be nicer if it was the Greenfoot icon (or perhaps even let the user choose an icon by themselves?)
---
**Issue metadata**
- Issue typ...At the moment, the icon in the exported jar file window is just the standard java icon, perhaps it'd be nicer if it was the Greenfoot icon (or perhaps even let the user choose an icon by themselves?)
---
**Issue metadata**
- Issue type: Task
- Priority: Medium
- Fix versions: 2.0Michael KöllingMichael Köllinghttps://gitlab.bluej.org/bluej/bjgf/-/issues/1367[GREENFOOT-23] Exception when using 'setImage' on a class that has no default...2015-11-21T16:40:46ZMichael Kölling[GREENFOOT-23] Exception when using 'setImage' on a class that has no default constructorWhen using the 'setImage' function from the popup menu on a class that has no
default constructor, the system throws an exception
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 1.3.0When using the 'setImage' function from the popup menu on a class that has no
default constructor, the system throws an exception
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 1.3.0Michael KöllingMichael Köllinghttps://gitlab.bluej.org/bluej/bjgf/-/issues/1584[GREENFOOT-240] .jar is added on the end of files if it's already been added ...2015-11-21T16:40:49ZNeil Brown[GREENFOOT-240] .jar is added on the end of files if it's already been added in the wrong caseIf it's already been added in a different case, then it should be corrected to lower case rather than have another extension put on the end.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2If it's already been added in a different case, then it should be corrected to lower case rather than have another extension put on the end.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1585[GREENFOOT-241] After upgrading Greenfoot some scenarios compile but don't run2015-11-21T16:40:49ZDavin McCall[GREENFOOT-241] After upgrading Greenfoot some scenarios compile but don't runAfter upgrading Greenfoot some scenarios compile but don't run.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2After upgrading Greenfoot some scenarios compile but don't run.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2Davin McCallDavin McCallhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1586[GREENFOOT-242] remove greenfoot directory from scenario directory2015-11-21T16:40:49ZNeil Brown[GREENFOOT-242] remove greenfoot directory from scenario directory
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1587[GREENFOOT-243] Greenfoot should open when double-clicking an associated file2015-11-21T16:40:49ZNeil Brown[GREENFOOT-243] Greenfoot should open when double-clicking an associated fileAnd on mac, it should also allow dragging of the project directory or project file onto the Greenfoot icon.
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 1.5.2And on mac, it should also allow dragging of the project directory or project file onto the Greenfoot icon.
---
**Issue metadata**
- Issue type: Bug
- Priority: Low
- Fix versions: 1.5.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1588[GREENFOOT-244] Cannot use an object from the world as parameters for constru...2015-11-21T16:40:49ZNeil Brown[GREENFOOT-244] Cannot use an object from the world as parameters for constructors
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.5.2