bjgf issueshttps://gitlab.bluej.org/bluej/bjgf/-/issues2022-04-21T13:52:56Zhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1344[BLUEJ-1372] "System" isn't shown by autocompletion2022-04-21T13:52:56ZNeil Brown[BLUEJ-1372] "System" isn't shown by autocompletionThe System class is very often used in editing such as in "System.out.println()". However, BlueJ doesn't offer a suggestion for autocompletion (a/c) on the System class, nor any other classes when there is no "context" to get a/c from (e...The System class is very often used in editing such as in "System.out.println()". However, BlueJ doesn't offer a suggestion for autocompletion (a/c) on the System class, nor any other classes when there is no "context" to get a/c from (e.g. "System" doesn't work for a/c, but "System.o" will work and suggest "out").
We should certainly allow "System" to be suggested in a/c.
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1343[BLUEJ-1371] Using system.exit() in a class may provke BlueJ user JVM unrespo...2021-11-10T10:28:44ZNeil Brown[BLUEJ-1371] Using system.exit() in a class may provke BlueJ user JVM unresponsivenessTried with BlueJ 5.0.2 Windows (standalone), with a class that contains "System.exit(0)" in its main method. The class content is given below. (Don't know if that makes any difference: the BlueJ terminal is set to wipe at each method cal...Tried with BlueJ 5.0.2 Windows (standalone), with a class that contains "System.exit(0)" in its main method. The class content is given below. (Don't know if that makes any difference: the BlueJ terminal is set to wipe at each method call)
To reproduce the bug do the following:
1) right click on the given class to open the menu, and select "new Test()"; do NOT validate the popup, just leave it open
2) right click on the given class to open the menu, and select "void main(String[] args)", and click OK
3) quite quickly soon after step 2, now validate the popup of step 1)
The new object shouldn't be created. If it did, repeat this procedure until the object doesn't get created.
When this happens, no object can further be created, the main method doesn't produce anything. BlueJ isn't crashed as such it looks like nothing can be done on the user JVM.
Class:
public class Test
{
public Test()
{
System.out.println("One.. ");
System.out.println("Two.. ");
System.out.println("Three.. ");
System.out.println("Four.. ");
System.out.println("Five.. ");
System.out.println("Six.. ");
System.out.println("Seven.. ");
}
public static void main(String[] args) {
Test app = new Test();
System.exit(0);
}
}
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1342[BLUEJ-1370] Blue J 5.0.2 crushes on MacOs Monterey 2021-11-08T19:10:25ZNeil Brown[BLUEJ-1370] Blue J 5.0.2 crushes on MacOs Monterey After macOS_ Monterey was installed, _Blue J_ constantly crashes. I didn't have any Issues bevor updating my Mac to Os Monterey and I need the issue to be fixed for my Java-Classes at the university.
---
**Issue metadata**
- Issue ...After macOS_ Monterey was installed, _Blue J_ constantly crashes. I didn't have any Issues bevor updating my Mac to Os Monterey and I need the issue to be fixed for my Java-Classes at the university.
---
**Issue metadata**
- Issue type: Bug
- Priority: Highhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1341[BLUEJ-1369] Linux BlueJ icon2021-11-03T09:39:09ZNeil Brown[BLUEJ-1369] Linux BlueJ iconcf support email received on 02/11/21
"on Linux using Unity, the BlueJ application has no default icon on the Unity favorites bar. The problem is that /usr/share/applications/bluej.desktop is missing a setting. You need to add the f...cf support email received on 02/11/21
"on Linux using Unity, the BlueJ application has no default icon on the Unity favorites bar. The problem is that /usr/share/applications/bluej.desktop is missing a setting. You need to add the following line:
StartupWMClass=bluej.Boot$App"
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1340[BLUEJ-1368] Curly bracket mismatch hide error messages2021-11-01T09:39:48ZNeil Brown[BLUEJ-1368] Curly bracket mismatch hide error messagescf email forwarded by Babis on 28/10/21
!image-2021-11-01-09-39-07-065.png!
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumcf email forwarded by Babis on 28/10/21
!image-2021-11-01-09-39-07-065.png!
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1339[BLUEJ-1367] Menus do not respond to clicks or do not open2021-11-01T09:03:50ZNeil Brown[BLUEJ-1367] Menus do not respond to clicks or do not openImmediately after opening BlueJ, the top row menus (which by the way are missing a keyboard shortcut to access) do not respond to mouse clicks.
After double-clicking on a class in a project to open it, and then close it, the menus sta...Immediately after opening BlueJ, the top row menus (which by the way are missing a keyboard shortcut to access) do not respond to mouse clicks.
After double-clicking on a class in a project to open it, and then close it, the menus start working.
debug-log doesn't seem to show anything useful
BlueJ run started: Mon Nov 01 08:57:54 GMT 2021
BlueJ version 5.0.2
Java version 11.0.10
JavaFX version 11.0.2+1
Virtual machine: OpenJDK 64-Bit Server VM 11.0.10+9 (AdoptOpenJDK)
Running on: Windows 10 10.0 (amd64)
Java Home: C:\Program Files\BlueJ\jdk
----
Opening project: C:\OULocal\M250Git\m250\Rewrite\Lights
1635757076736: Listening for JDWP connection on address: javadebug
Connected to debug VM via dt_shmem transport...
Communication with debug VM fully established.
--
Although some earlier messages say, e.g.
"Oct 21, 2019 9:51:42 AM javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/C:/Program%20Files%20(x86)/BlueJ/jdk/jre/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss"
---
**Issue metadata**
- Issue type: Bug
- Priority: Highhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1338[BLUEJ-1366] Bluej crashes in mac OS Monterey2021-12-02T14:53:19ZNeil Brown[BLUEJ-1366] Bluej crashes in mac OS MontereyAfter macOS Monterey was installed, Blue J constantly crashes in a few minutes
---
**Issue metadata**
- Issue type: Bug
- Priority: Highest
- Fix versions: 5.0.2aAfter macOS Monterey was installed, Blue J constantly crashes in a few minutes
---
**Issue metadata**
- Issue type: Bug
- Priority: Highest
- Fix versions: 5.0.2ahttps://gitlab.bluej.org/bluej/bjgf/-/issues/1337[BLUEJ-1365] The create a jar dialog cannot be resized, and the intro label i...2021-10-26T11:25:31ZNeil Brown[BLUEJ-1365] The create a jar dialog cannot be resized, and the intro label isn't showing completely!image-2021-10-25-09-26-22-757.png!
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 5.0.3!image-2021-10-25-09-26-22-757.png!
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 5.0.3https://gitlab.bluej.org/bluej/bjgf/-/issues/1336[BLUEJ-1364] BlueJ Virtual Machinewill not open on Mac2021-10-28T11:24:44ZNeil Brown[BLUEJ-1364] BlueJ Virtual Machinewill not open on MacWhenever I log onto the BlueJ the Virtual Machine does not appear, and I can't see the sessions that I create. If there is any way I can fix this, please tell me how. Otherwise, I would appreciate it if you fixed the bug.
---
**Issue ...Whenever I log onto the BlueJ the Virtual Machine does not appear, and I can't see the sessions that I create. If there is any way I can fix this, please tell me how. Otherwise, I would appreciate it if you fixed the bug.
---
**Issue metadata**
- Issue type: Bug
- Priority: Highest
- Fix versions: 5.0.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1335[BLUEJ-1363] The UI text is jumbled/broken while the actual editor text works...2021-10-30T09:00:24ZNeil Brown[BLUEJ-1363] The UI text is jumbled/broken while the actual editor text works fineThe UI text is grumbled for [example|https://ibb.co/gR2DsFG],
I have tried reinstalling bluej, trying to repair it as well.
Using windows 20H2
---
**Issue metadata**
- Issue type: Bug
- Priority: HighThe UI text is grumbled for [example|https://ibb.co/gR2DsFG],
I have tried reinstalling bluej, trying to repair it as well.
Using windows 20H2
---
**Issue metadata**
- Issue type: Bug
- Priority: Highhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1334[BLUEJ-1361] Repeated Crashing2021-12-02T14:56:18ZNeil Brown[BLUEJ-1361] Repeated Crashing-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: JavaAppLauncher [4788]
Path: /private/var/folders/*/BlueJ.app/Contents/MacOS/JavaAppLauncher
Identifier: or...-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: JavaAppLauncher [4788]
Path: /private/var/folders/*/BlueJ.app/Contents/MacOS/JavaAppLauncher
Identifier: org.bluej.BlueJ
Version: 5.0.2 (5.0.2)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2021-10-16 12:40:29.4751 +0100
OS Version: macOS 12.0 (21A5552a)
Report Version: 12
Anonymous UUID: EC03B972-B256-ED63-157D-81E0D0DF354F
Sleep/Wake UUID: 3559DF6A-879E-41D9-9FA1-16A7AB0D832C
Time Awake Since Boot: 11000 seconds
Time Since Wake: 494 seconds
System Integrity Protection: enabled
Crashed Thread: 20 Java: InvokeLaterDispatcher
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000109121008
Exception Codes: 0x0000000000000002, 0x0000000109121008
Exception Note: EXC_CORPSE_NOTIFY
VM Region Info: 0x109121008 is in 0x109121000-0x109122000; bytes after start: 8 bytes before end: 4087
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
shared memory 109120000-109121000 [ 4K] r--/r-- SM=SHM
---> VM_ALLOCATE 109121000-109122000 [ 4K] ---/rwx SM=NUL
VM_ALLOCATE 109122000-109123000 [ 4K] r--/rwx SM=PRV
---
**Issue metadata**
- Issue type: Bug
- Priority: High
- Fix versions: 5.0.2ahttps://gitlab.bluej.org/bluej/bjgf/-/issues/1333[BLUEJ-1360] BlueJ 5.0.2 reports NoJavaDictionary and fails to start2021-10-28T12:46:18ZNeil Brown[BLUEJ-1360] BlueJ 5.0.2 reports NoJavaDictionary and fails to startEncountered on macOS Big Sur when using BlueJ on two different accounts. I haven't encountered this with previous versions.
When BlueJ.app was added to the Applications folder of a second account on a single machine, attempting to sta...Encountered on macOS Big Sur when using BlueJ on two different accounts. I haven't encountered this with previous versions.
When BlueJ.app was added to the Applications folder of a second account on a single machine, attempting to start BlueJ on the first account resulted in a BlueJ alert window (yellow triangle icon) with the message: NoJavaDictionary.
If BlueJ.app is re-copied to the Applications folder of the first account, the problem then repeats with the second account.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1331[BLUEJ-1358] No way to read output in terminal via keyboard navigation2021-10-26T14:47:27ZNeil Brown[BLUEJ-1358] No way to read output in terminal via keyboard navigationIf you want to read stdout from the terminal there is no way to do this with keyboard navigation. The pane can't be tabbed into in order to navigate with the keyboard to the output line to be read out. The pane should be made focusable...If you want to read stdout from the terminal there is no way to do this with keyboard navigation. The pane can't be tabbed into in order to navigate with the keyboard to the output line to be read out. The pane should be made focusable but non-editable, rather than non-focusable.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 5.0.3https://gitlab.bluej.org/bluej/bjgf/-/issues/1332[BLUEJ-1359] Teamwork problems (3 bugs: branch name & error msg & password, 1...2021-10-26T11:52:23ZNeil Brown[BLUEJ-1359] Teamwork problems (3 bugs: branch name & error msg & password, 1 change: hide "share" if project closed)Bug 1 Tested with GitHub and remote repository which default branch is "master". If "master" is specified as a branch name in the BlueJ team settings, the checkout of the remote project cannot be achieved and a "ref master already exists...Bug 1 Tested with GitHub and remote repository which default branch is "master". If "master" is specified as a branch name in the BlueJ team settings, the checkout of the remote project cannot be achieved and a "ref master already exists" error popup is shown.
Bug 2 Moreover, if the git user name is wrong (I mean that it not an existing one) we receive an authorised error followed by the ref master error mentioned above. We should at least show the first error in the popup message in BlueJ rather than just the second error. Also, the project should not be created on the local since access hasn't been granted.
(I have tried if the same occurs when a valid username that is not granted access on the remote project is used - I suppose it would produce the same behaviour).
Bug 3 The password of the team account is not saved (which for GitHub can be very annoying)
The last point is a small change to make: when a project is closed, team action buttons should all disappear. In a local project for example (i.e. not associated to git), the "share" button still shows up.
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1330[BLUEJ-1357] Context menus in class diagram do not receive keyboard focus wit...2021-10-26T14:47:16ZNeil Brown[BLUEJ-1357] Context menus in class diagram do not receive keyboard focus without mouseoverIf you trigger the context menu in the class diagram, there is no way to get keyboard focus on the menu without moving your mouse over the menu.
It seems like usually in JavaFX (e.g. codepad) the menu gets focus if you press up/down, ...If you trigger the context menu in the class diagram, there is no way to get keyboard focus on the menu without moving your mouse over the menu.
It seems like usually in JavaFX (e.g. codepad) the menu gets focus if you press up/down, but we use these keypresses to move around the class diagram, so that isn't happening.
---
**Issue metadata**
- Issue type: Bug
- Priority: Medium
- Fix versions: 5.0.3https://gitlab.bluej.org/bluej/bjgf/-/issues/1329[BLUEJ-1356] Underscore disappears from method name2021-09-22T04:15:35ZNeil Brown[BLUEJ-1356] Underscore disappears from method nameIf a method name contains an _ underscore, and an object instantiating that method is placed on the object bench and right-clicked, the first underscore fails to show up in the method name. A screen shot illustrating the problem is onli...If a method name contains an _ underscore, and an object instantiating that method is placed on the object bench and right-clicked, the first underscore fails to show up in the method name. A screen shot illustrating the problem is online at [https://drive.google.com/file/d/1eFjxgzQC6YmPu7_5qVP2AwM2om1PWLHx/view?usp=sharing].
---
**Issue metadata**
- Issue type: Bug
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1328[BLUEJ-1355] Windows ARM version2021-08-27T20:40:18ZNeil Brown[BLUEJ-1355] Windows ARM versionThe only versions of BlueJ that will run on the new Windows 64-bit ARM tablets are 4.1.4 and earlier. Please add Windows ARM-64 to the list of installers.
---
**Issue metadata**
- Issue type: Task
- Priority: Medium
- Fix versions: 5...The only versions of BlueJ that will run on the new Windows 64-bit ARM tablets are 4.1.4 and earlier. Please add Windows ARM-64 to the list of installers.
---
**Issue metadata**
- Issue type: Task
- Priority: Medium
- Fix versions: 5.0.2https://gitlab.bluej.org/bluej/bjgf/-/issues/1327[BLUEJ-1354] Github password authentication is deprecated2021-07-24T09:27:53ZNeil Brown[BLUEJ-1354] Github password authentication is deprecatedConnecting to Github using the teamwork controls on BlueJ requires an account name and password. Starting August 13, Github plans to use token-based authentication for all Git operations and will no longer support direct access using pas...Connecting to Github using the teamwork controls on BlueJ requires an account name and password. Starting August 13, Github plans to use token-based authentication for all Git operations and will no longer support direct access using passwords.
Will there be a workaround for this issue so students can continue to use the teamwork controls to interface with github?
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1326[BLUEJ-1352] Set up a meaningful name for the printed files2021-06-28T09:15:22ZNeil Brown[BLUEJ-1352] Set up a meaningful name for the printed filesWhen printing from BlueJ (at least for the code), the print job has a generic name "JavaFX print job".
If possible, we should make it a bit more meaningful. How about using the project name when printing the project, the class name wh...When printing from BlueJ (at least for the code), the print job has a generic name "JavaFX print job".
If possible, we should make it a bit more meaningful. How about using the project name when printing the project, the class name when printing from the editor?
---
**Issue metadata**
- Issue type: Task
- Priority: Mediumhttps://gitlab.bluej.org/bluej/bjgf/-/issues/1325[BLUEJ-1351] JUnit 5 test results window should support @DisplayName tags2021-05-16T07:17:00ZNeil Brown[BLUEJ-1351] JUnit 5 test results window should support @DisplayName tagsWith JUnit 5 we can use the @DisplayName annotation above our tests to make the nature of the test more clear and readable than the method name often is by itself.
In classrooms where teachers write tests for student assignments, it w...With JUnit 5 we can use the @DisplayName annotation above our tests to make the nature of the test more clear and readable than the method name often is by itself.
In classrooms where teachers write tests for student assignments, it would be especially valuable to have full sentences explain the problem with the code and for the students to see this in the test window.
Perhaps the @DisplayName annotation could also be incorporated into the default template when new test methods are created.
---
**Issue metadata**
- Issue type: Task
- Priority: Low