Problems launching Gate


John Pashley
 

Hi.

Over the past few weeks I have been experiencing problems launching Gate.

Launching Gate from the Task Bar results in the following:

Clicking on OK launches https://gate.ac.uk/ in the browser.

I then reverted to the FAQ “2.2. When I execute GATE, nothing happens“. Running gateLauncher.jar from the command line as instructed produced the following:

PS C:\Java\Gate\GATE_Developer_9.0.1> java -jar bin/gateLauncher.jar

Using C:\Users\johnp\gate.xml as user configuration file

Using C:\Users\johnp\gate.session as user session file

CREOLE plugin loaded: creole

Nothing happened after CREOLE plugin was loaded.

Here is an overview of my development platform:

GATE_Developer_9.0.1

Windows 11 Home

Version 22H2

OS build 22621.1485

Installed RAM 16.0 GB (15.9 GB usable)

java version "11.0.9" 2020-10-20 LTS

Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)

Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)

 Many thanks in advance for your kind support.

Very best regards

John Pashley


Mark Greenwood
 

It's difficult to know exactly what the problem is from the details provided but it's worth noting that you say you have Java 11 installed but the output log suggests you are using Java 18.9. I've not tried running GATE on anything as recent as Java 18.9 so that may be the issue. If you could try running using Java 11 you might have more luck.

To do that you might need to specify the full path to your Java 11 java binary rather than just typing

java -jar bin/gateLauncher.jar

you'd need something like

c:\path\to\java11\bin\java -jar bin/gateLauncher.jar

Hopefully that works,

Mark

On 29/03/2023 12:49, John Pashley wrote:

Hi.

Over the past few weeks I have been experiencing problems launching Gate.

Launching Gate from the Task Bar results in the following:

Clicking on OK launches https://gate.ac.uk/ in the browser.

I then reverted to the FAQ “2.2. When I execute GATE, nothing happens“. Running gateLauncher.jar from the command line as instructed produced the following:

PS C:\Java\Gate\GATE_Developer_9.0.1> java -jar bin/gateLauncher.jar

Using C:\Users\johnp\gate.xml as user configuration file

Using C:\Users\johnp\gate.session as user session file

CREOLE plugin loaded: creole

Nothing happened after CREOLE plugin was loaded.

Here is an overview of my development platform:

GATE_Developer_9.0.1

Windows 11 Home

Version 22H2

OS build 22621.1485

Installed RAM 16.0 GB (15.9 GB usable)

java version "11.0.9" 2020-10-20 LTS

Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)

Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)

 Many thanks in advance for your kind support.

Very best regards

John Pashley


Ian Roberts
 

Odd.  When it hangs, can you try running (in another terminal):

jps

this should give you a list of Java processes (you may need to prefix the full path if it can't find the command - C:\path\to\your\java11\bin\jps).  Hopefully there is only two of them, one of which is jps itself and the other is GATE - then you can run

jstack NNN

where NNN is the process ID that jps gave you for GATE.  The result of all this should be a set of stack traces for all the running threads, which will hopefully tell me exactly where GATE has got stuck.

If we can't work it out then my next suggestion would be to try with one of the OpenJDK-derived alternatives such as Eclipse Temurin (https://adoptium.net/en-GB/temurin/releases/?version=11) or Azul Zulu (https://www.azul.com/downloads/?version=java-11-lts&package=jdk#zulu) instead of Oracle Java.

Ian

P.S. Mark the 18.9 is a red herring - that's what Oracle sometimes calls their Java 11 as it was released in September 2018, same as Ubuntu use version numbers like 22.04

On 29/03/2023 12:49, John Pashley wrote:

Hi.

Over the past few weeks I have been experiencing problems launching Gate.

Launching Gate from the Task Bar results in the following:

Clicking on OK launches https://gate.ac.uk/ in the browser.

I then reverted to the FAQ “2.2. When I execute GATE, nothing happens“. Running gateLauncher.jar from the command line as instructed produced the following:

PS C:\Java\Gate\GATE_Developer_9.0.1> java -jar bin/gateLauncher.jar

Using C:\Users\johnp\gate.xml as user configuration file

Using C:\Users\johnp\gate.session as user session file

CREOLE plugin loaded: creole

Nothing happened after CREOLE plugin was loaded.

Here is an overview of my development platform:

GATE_Developer_9.0.1

Windows 11 Home

Version 22H2

OS build 22621.1485

Installed RAM 16.0 GB (15.9 GB usable)

java version "11.0.9" 2020-10-20 LTS

Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)

Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)

 Many thanks in advance for your kind support.

Very best regards

John Pashley


-- 
Ian Roberts                | Department of Computer Science
i.roberts@...  | University of Sheffield, UK


John Pashley
 

Hi Mark.

Your suggestion seems to have worked.

I ran the following:

c:\"Program Files"\Java\jre1.8.0_361\bin\java -jar bin/gateLauncher.jar

and the program started immediately.

I’ll keep you informed if any further developments.

Many, many thanks and best regards.

John

 

From: gate-users@groups.io <gate-users@groups.io> On Behalf Of Mark Greenwood via groups.io
Sent: Wednesday, 29 March 2023 14:45
To: gate-users@groups.io
Subject: Re: [gate-users] Problems launching Gate

 

It's difficult to know exactly what the problem is from the details provided but it's worth noting that you say you have Java 11 installed but the output log suggests you are using Java 18.9. I've not tried running GATE on anything as recent as Java 18.9 so that may be the issue. If you could try running using Java 11 you might have more luck.

To do that you might need to specify the full path to your Java 11 java binary rather than just typing

java -jar bin/gateLauncher.jar

you'd need something like

c:\path\to\java11\bin\java -jar bin/gateLauncher.jar

Hopefully that works,

Mark

On 29/03/2023 12:49, John Pashley wrote:

Hi.

Over the past few weeks I have been experiencing problems launching Gate.

Launching Gate from the Task Bar results in the following:

Clicking on OK launches https://gate.ac.uk/ in the browser.

I then reverted to the FAQ “2.2. When I execute GATE, nothing happens“. Running gateLauncher.jar from the command line as instructed produced the following:

PS C:\Java\Gate\GATE_Developer_9.0.1> java -jar bin/gateLauncher.jar

Using C:\Users\johnp\gate.xml as user configuration file

Using C:\Users\johnp\gate.session as user session file

CREOLE plugin loaded: creole

Nothing happened after CREOLE plugin was loaded.

Here is an overview of my development platform:

GATE_Developer_9.0.1

Windows 11 Home

Version 22H2

OS build 22621.1485

Installed RAM 16.0 GB (15.9 GB usable)

java version "11.0.9" 2020-10-20 LTS

Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)

Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)

 Many thanks in advance for your kind support.

Very best regards

John Pashley


Mark Greenwood
 

Great. It would be useful if you could also follow Ian's instructions as that might tell us why it fails under Java 18.9 in case it's a bug we need to fix,

Mark

On 29/03/2023 14:01, John Pashley wrote:

Hi Mark.

Your suggestion seems to have worked.

I ran the following:

c:\"Program Files"\Java\jre1.8.0_361\bin\java -jar bin/gateLauncher.jar

and the program started immediately.

I’ll keep you informed if any further developments.

Many, many thanks and best regards.

John

 

From: gate-users@groups.io <gate-users@groups.io> On Behalf Of Mark Greenwood via groups.io
Sent: Wednesday, 29 March 2023 14:45
To: gate-users@groups.io
Subject: Re: [gate-users] Problems launching Gate

 

It's difficult to know exactly what the problem is from the details provided but it's worth noting that you say you have Java 11 installed but the output log suggests you are using Java 18.9. I've not tried running GATE on anything as recent as Java 18.9 so that may be the issue. If you could try running using Java 11 you might have more luck.

To do that you might need to specify the full path to your Java 11 java binary rather than just typing

java -jar bin/gateLauncher.jar

you'd need something like

c:\path\to\java11\bin\java -jar bin/gateLauncher.jar

Hopefully that works,

Mark

On 29/03/2023 12:49, John Pashley wrote:

Hi.

Over the past few weeks I have been experiencing problems launching Gate.

Launching Gate from the Task Bar results in the following:

Clicking on OK launches https://gate.ac.uk/ in the browser.

I then reverted to the FAQ “2.2. When I execute GATE, nothing happens“. Running gateLauncher.jar from the command line as instructed produced the following:

PS C:\Java\Gate\GATE_Developer_9.0.1> java -jar bin/gateLauncher.jar

Using C:\Users\johnp\gate.xml as user configuration file

Using C:\Users\johnp\gate.session as user session file

CREOLE plugin loaded: creole

Nothing happened after CREOLE plugin was loaded.

Here is an overview of my development platform:

GATE_Developer_9.0.1

Windows 11 Home

Version 22H2

OS build 22621.1485

Installed RAM 16.0 GB (15.9 GB usable)

java version "11.0.9" 2020-10-20 LTS

Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)

Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)

 Many thanks in advance for your kind support.

Very best regards

John Pashley


John Pashley
 

Hi Mark.

Sure, standby for the data.

John

 

From: gate-users@groups.io <gate-users@groups.io> On Behalf Of Mark Greenwood via groups.io
Sent: Wednesday, 29 March 2023 15:04
To: gate-users@groups.io
Subject: Re: [gate-users] Problems launching Gate

 

Great. It would be useful if you could also follow Ian's instructions as that might tell us why it fails under Java 18.9 in case it's a bug we need to fix,

Mark

On 29/03/2023 14:01, John Pashley wrote:

Hi Mark.

Your suggestion seems to have worked.

I ran the following:

c:\"Program Files"\Java\jre1.8.0_361\bin\java -jar bin/gateLauncher.jar

and the program started immediately.

I’ll keep you informed if any further developments.

Many, many thanks and best regards.

John

 

From: gate-users@groups.io <gate-users@groups.io> On Behalf Of Mark Greenwood via groups.io
Sent: Wednesday, 29 March 2023 14:45
To: gate-users@groups.io
Subject: Re: [gate-users] Problems launching Gate

 

It's difficult to know exactly what the problem is from the details provided but it's worth noting that you say you have Java 11 installed but the output log suggests you are using Java 18.9. I've not tried running GATE on anything as recent as Java 18.9 so that may be the issue. If you could try running using Java 11 you might have more luck.

To do that you might need to specify the full path to your Java 11 java binary rather than just typing

java -jar bin/gateLauncher.jar

you'd need something like

c:\path\to\java11\bin\java -jar bin/gateLauncher.jar

Hopefully that works,

Mark

On 29/03/2023 12:49, John Pashley wrote:

Hi.

Over the past few weeks I have been experiencing problems launching Gate.

Launching Gate from the Task Bar results in the following:

Clicking on OK launches https://gate.ac.uk/ in the browser.

I then reverted to the FAQ “2.2. When I execute GATE, nothing happens“. Running gateLauncher.jar from the command line as instructed produced the following:

PS C:\Java\Gate\GATE_Developer_9.0.1> java -jar bin/gateLauncher.jar

Using C:\Users\johnp\gate.xml as user configuration file

Using C:\Users\johnp\gate.session as user session file

CREOLE plugin loaded: creole

Nothing happened after CREOLE plugin was loaded.

Here is an overview of my development platform:

GATE_Developer_9.0.1

Windows 11 Home

Version 22H2

OS build 22621.1485

Installed RAM 16.0 GB (15.9 GB usable)

java version "11.0.9" 2020-10-20 LTS

Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)

Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)

 Many thanks in advance for your kind support.

Very best regards

John Pashley


John Pashley
 

Hi Ian.

Hope this helps. Let me know is not.

PS: I tried directing the output of the command line to a .txt file but permissions didn’t allow.

John

 

C:\Program Files\Java\jdk-11.0.9\bin> c:\"Program Files"\Java\jdk-11.0.9\bin\jps

15040 Jps

17492 Program

 

PS C:\Program Files\Java\jdk-11.0.9\bin> c:\"Program Files"\Java\jdk-11.0.9\bin\jstack 17492

2023-03-29 15:16:35

Full thread dump Java HotSpot(TM) 64-Bit Server VM (11.0.9+7-LTS mixed mode):

 

Threads class SMR info:

_java_thread_list=0x0000015dab5e95c0, length=18, elements={

0x0000015daa0ff800, 0x0000015daa108800, 0x0000015daa167800, 0x0000015daa11c000,

0x0000015daa11e000, 0x0000015daa123800, 0x0000015daa17c800, 0x0000015daa2d1800,

0x0000015daa2fc800, 0x0000015dab127000, 0x0000015dad3d0800, 0x0000015dab8e3800,

0x0000015dabdb8000, 0x0000015dab8c6000, 0x0000015d84384800, 0x0000015dadad0800,

0x0000015dad617800, 0x0000015dad61b000

}

 

"Reference Handler" #2 daemon prio=10 os_prio=2 cpu=0.00ms elapsed=185.67s tid=0x0000015daa0ff800 nid=0x48b4 waiting on condition  [0x0000004d17aff000]

   java.lang.Thread.State: RUNNABLE

        at java.lang.ref.Reference.waitForReferencePendingList(java.base@....9/Native Method)

        at java.lang.ref.Reference.processPendingReferences(java.base@....9/Reference.java:241)

        at java.lang.ref.Reference$ReferenceHandler.run(java.base@....9/Reference.java:213)

 

"Finalizer" #3 daemon prio=8 os_prio=1 cpu=0.00ms elapsed=185.67s tid=0x0000015daa108800 nid=0x3694 in Object.wait()  [0x0000004d17bfe000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(java.base@....9/Native Method)

        - waiting on <0x000000070b51bb10> (a java.lang.ref.ReferenceQueue$Lock)

        at java.lang.ref.ReferenceQueue.remove(java.base@....9/ReferenceQueue.java:155)

        - waiting to re-lock in wait() <0x000000070b51bb10> (a java.lang.ref.ReferenceQueue$Lock)

        at java.lang.ref.ReferenceQueue.remove(java.base@....9/ReferenceQueue.java:176)

        at java.lang.ref.Finalizer$FinalizerThread.run(java.base@....9/Finalizer.java:170)

 

"Signal Dispatcher" #4 daemon prio=9 os_prio=2 cpu=0.00ms elapsed=185.66s tid=0x0000015daa167800 nid=0x211c runnable  [0x0000000000000000]

   java.lang.Thread.State: RUNNABLE

 

"Attach Listener" #5 daemon prio=5 os_prio=2 cpu=0.00ms elapsed=185.66s tid=0x0000015daa11c000 nid=0x360c waiting on condition  [0x0000000000000000]

   java.lang.Thread.State: RUNNABLE

 

"C2 CompilerThread0" #6 daemon prio=9 os_prio=2 cpu=203.13ms elapsed=185.66s tid=0x0000015daa11e000 nid=0x1c6c waiting on condition  [0x0000000000000000]

   java.lang.Thread.State: RUNNABLE

   No compile task

 

"C1 CompilerThread0" #8 daemon prio=9 os_prio=2 cpu=46.88ms elapsed=185.66s tid=0x0000015daa123800 nid=0x33bc waiting on condition  [0x0000000000000000]

   java.lang.Thread.State: RUNNABLE

   No compile task

 

"Sweeper thread" #9 daemon prio=9 os_prio=2 cpu=0.00ms elapsed=185.66s tid=0x0000015daa17c800 nid=0x10b0 runnable  [0x0000000000000000]

   java.lang.Thread.State: RUNNABLE

 

"Service Thread" #10 daemon prio=9 os_prio=0 cpu=0.00ms elapsed=185.64s tid=0x0000015daa2d1800 nid=0x5060 runnable  [0x0000000000000000]

   java.lang.Thread.State: RUNNABLE

 

"Common-Cleaner" #11 daemon prio=8 os_prio=1 cpu=0.00ms elapsed=185.63s tid=0x0000015daa2fc800 nid=0x67d8 in Object.wait()  [0x0000004d183ff000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(java.base@....9/Native Method)

        - waiting on <no object reference available>

        at java.lang.ref.ReferenceQueue.remove(java.base@....9/ReferenceQueue.java:155)

        - waiting to re-lock in wait() <0x000000070b5298b0> (a java.lang.ref.ReferenceQueue$Lock)

        at jdk.internal.ref.CleanerImpl.run(java.base@....9/CleanerImpl.java:148)

        at java.lang.Thread.run(java.base@....9/Thread.java:834)

        at jdk.internal.misc.InnocuousThread.run(java.base@....9/InnocuousThread.java:134)

 

"Thread Monitor" #12 daemon prio=5 os_prio=0 cpu=0.00ms elapsed=185.07s tid=0x0000015dab127000 nid=0xd80 in Object.wait()  [0x0000004d188ff000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(java.base@....9/Native Method)

        - waiting on <no object reference available>

        at java.util.TimerThread.mainLoop(java.base@....9/Timer.java:553)

        - waiting to re-lock in wait() <0x000000070b51cd08> (a java.util.TaskQueue)

        at java.util.TimerThread.run(java.base@....9/Timer.java:506)

 

"Java2D Disposer" #13 daemon prio=10 os_prio=2 cpu=0.00ms elapsed=184.47s tid=0x0000015dad3d0800 nid=0x69c in Object.wait()  [0x0000004d18aff000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(java.base@....9/Native Method)

        - waiting on <0x000000070d9dcc48> (a java.lang.ref.ReferenceQueue$Lock)

        at java.lang.ref.ReferenceQueue.remove(java.base@....9/ReferenceQueue.java:155)

        - waiting to re-lock in wait() <0x000000070d9dcc48> (a java.lang.ref.ReferenceQueue$Lock)

        at java.lang.ref.ReferenceQueue.remove(java.base@....9/ReferenceQueue.java:176)

        at sun.java2d.Disposer.run(java.desktop@....9/Disposer.java:144)

        at java.lang.Thread.run(java.base@....9/Thread.java:834)

 

"AWT-Shutdown" #14 prio=1 os_prio=-2 cpu=0.00ms elapsed=184.47s tid=0x0000015dab8e3800 nid=0x18cc in Object.wait()  [0x0000004d18bfe000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(java.base@....9/Native Method)

        - waiting on <0x000000070d9df490> (a java.lang.Object)

        at java.lang.Object.wait(java.base@....9/Object.java:328)

        at sun.awt.AWTAutoShutdown.run(java.desktop@....9/AWTAutoShutdown.java:291)

        - waiting to re-lock in wait() <0x000000070d9df490> (a java.lang.Object)

        at java.lang.Thread.run(java.base@....9/Thread.java:834)

 

"AWT-Windows" #15 daemon prio=6 os_prio=0 cpu=46.88ms elapsed=184.47s tid=0x0000015dabdb8000 nid=0x20d4 runnable  [0x0000004d18cff000]

   java.lang.Thread.State: RUNNABLE

        at sun.awt.windows.WToolkit.eventLoop(java.desktop@....9/Native Method)

        at sun.awt.windows.WToolkit.run(java.desktop@....9/WToolkit.java:305)

        at java.lang.Thread.run(java.base@....9/Thread.java:834)

 

"AWT-EventQueue-0" #17 prio=6 os_prio=0 cpu=31.25ms elapsed=184.45s tid=0x0000015dab8c6000 nid=0x595c runnable  [0x0000004d18dfb000]

   java.lang.Thread.State: RUNNABLE

        at java.io.WinNTFileSystem.getBooleanAttributes(java.base@....9/Native Method)

        at java.io.File.exists(java.base@....9/File.java:822)

        at java.io.WinNTFileSystem.lambda$listRoots$1(java.base@....9/WinNTFileSystem.java:600)

        at java.io.WinNTFileSystem$$Lambda$176/0x00000008002fb840.test(java.base@....9/Unknown Source)

        at java.util.stream.ReferencePipeline$2$1.accept(java.base@....9/ReferencePipeline.java:176)

        at java.util.stream.IntPipeline$1$1.accept(java.base@....9/IntPipeline.java:180)

        at java.util.BitSet$1BitSetSpliterator.forEachRemaining(java.base@....9/BitSet.java:1302)

        at java.util.Spliterator$OfInt.forEachRemaining(java.base@....9/Spliterator.java:699)

        at java.util.stream.AbstractPipeline.copyInto(java.base@....9/AbstractPipeline.java:484)

        at java.util.stream.AbstractPipeline.wrapAndCopyInto(java.base@....9/AbstractPipeline.java:474)

        at java.util.stream.AbstractPipeline.evaluate(java.base@....9/AbstractPipeline.java:550)

        at java.util.stream.AbstractPipeline.evaluateToArrayNode(java.base@....9/AbstractPipeline.java:260)

        at java.util.stream.ReferencePipeline.toArray(java.base@....9/ReferencePipeline.java:517)

        at java.io.WinNTFileSystem.listRoots(java.base@....9/WinNTFileSystem.java:601)

        at java.io.File.listRoots(java.base@....9/File.java:1793)

        at sun.awt.shell.Win32ShellFolderManager2.isDrive(java.desktop@....9/Win32ShellFolderManager2.java:505)

        at sun.awt.shell.Win32ShellFolderManager2.isFileSystemRoot(java.desktop@....9/Win32ShellFolderManager2.java:493)

        at sun.awt.shell.ShellFolder.isFileSystemRoot(java.desktop@....9/ShellFolder.java:274)

        at javax.swing.filechooser.FileSystemView.isFileSystemRoot(java.desktop@....9/FileSystemView.java:361)

        at javax.swing.filechooser.FileSystemView.getSystemDisplayName(java.desktop@....9/FileSystemView.java:190)

        at javax.swing.plaf.basic.BasicFileChooserUI$BasicFileView.getName(java.desktop@....9/BasicFileChooserUI.java:1439)

        at javax.swing.JFileChooser.getName(java.desktop@....9/JFileChooser.java:1528)

        at javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxRenderer.getListCellRendererComponent(java.desktop@....9/MetalFileChooserUI.java:946)

        at javax.swing.plaf.basic.BasicListUI.updateLayoutState(java.desktop@....9/BasicListUI.java:1439)

        at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(java.desktop@....9/BasicListUI.java:1389)

        at javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(java.desktop@....9/BasicListUI.java:2785)

        at javax.swing.DefaultListSelectionModel.fireValueChanged(java.desktop@....9/DefaultListSelectionModel.java:219)

        at javax.swing.DefaultListSelectionModel.fireValueChanged(java.desktop@....9/DefaultListSelectionModel.java:199)

        at javax.swing.DefaultListSelectionModel.fireValueChanged(java.desktop@....9/DefaultListSelectionModel.java:246)

        at javax.swing.DefaultListSelectionModel.changeSelection(java.desktop@....9/DefaultListSelectionModel.java:443)

        at javax.swing.DefaultListSelectionModel.changeSelection(java.desktop@....9/DefaultListSelectionModel.java:453)

        at javax.swing.DefaultListSelectionModel.setSelectionInterval(java.desktop@....9/DefaultListSelectionModel.java:497)

        at javax.swing.JList.setSelectedIndex(java.desktop@....9/JList.java:2205)

        at javax.swing.plaf.basic.BasicComboPopup.setListSelection(java.desktop@....9/BasicComboPopup.java:1234)

        at javax.swing.plaf.basic.BasicComboPopup$Handler.itemStateChanged(java.desktop@....9/BasicComboPopup.java:1058)

        at javax.swing.JComboBox.fireItemStateChanged(java.desktop@....9/JComboBox.java:1227)

        at javax.swing.JComboBox.selectedItemChanged(java.desktop@....9/JComboBox.java:1288)

        at javax.swing.JComboBox.contentsChanged(java.desktop@....9/JComboBox.java:1335)

        at javax.swing.AbstractListModel.fireContentsChanged(java.desktop@....9/AbstractListModel.java:123)

        at javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxModel.setSelectedItem(java.desktop@....9/MetalFileChooserUI.java:1102)

        at javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxModel.addItem(java.desktop@....9/MetalFileChooserUI.java:1067)

        at javax.swing.plaf.metal.MetalFileChooserUI.doDirectoryChanged(java.desktop@....9/MetalFileChooserUI.java:717)

        at javax.swing.plaf.metal.MetalFileChooserUI$5.propertyChange(java.desktop@....9/MetalFileChooserUI.java:806)

        at java.beans.PropertyChangeSupport.fire(java.desktop@....9/PropertyChangeSupport.java:341)

        at java.beans.PropertyChangeSupport.firePropertyChange(java.desktop@....9/PropertyChangeSupport.java:333)

        at java.beans.PropertyChangeSupport.firePropertyChange(java.desktop@....9/PropertyChangeSupport.java:266)

        at java.awt.Component.firePropertyChange(java.desktop@....9/Component.java:8731)

        at javax.swing.JFileChooser.setCurrentDirectory(java.desktop@....9/JFileChooser.java:595)

        at javax.swing.JFileChooser.<init>(java.desktop@....9/JFileChooser.java:349)

        at javax.swing.JFileChooser.<init>(java.desktop@....9/JFileChooser.java:295)

        at gate.swing.XJFileChooser.<init>(XJFileChooser.java:55)

        at gate.gui.MainFrame.<init>(MainFrame.java:541)

        at gate.gui.MainFrame.getInstance(MainFrame.java:387)

        - locked <0x000000070b5db8e0> (a java.lang.Class for gate.gui.MainFrame)

        at gate.Main$2.run(Main.java:181)

        at java.awt.event.InvocationEvent.dispatch(java.desktop@....9/InvocationEvent.java:313)

        at java.awt.EventQueue.dispatchEventImpl(java.desktop@....9/EventQueue.java:770)

        at java.awt.EventQueue$4.run(java.desktop@....9/EventQueue.java:721)

        at java.awt.EventQueue$4.run(java.desktop@....9/EventQueue.java:715)

        at java.security.AccessController.doPrivileged(java.base@....9/Native Method)

        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(java.base@....9/ProtectionDomain.java:85)

        at java.awt.EventQueue.dispatchEvent(java.desktop@....9/EventQueue.java:740)

        at java.awt.EventDispatchThread.pumpOneEventForFilters(java.desktop@....9/EventDispatchThread.java:203)

        at java.awt.EventDispatchThread.pumpEventsForFilter(java.desktop@....9/EventDispatchThread.java:124)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(java.desktop@....9/EventDispatchThread.java:113)

        at java.awt.EventDispatchThread.pumpEvents(java.desktop@....9/EventDispatchThread.java:109)

        at java.awt.EventDispatchThread.pumpEvents(java.desktop@....9/EventDispatchThread.java:101)

        at java.awt.EventDispatchThread.run(java.desktop@....9/EventDispatchThread.java:90)

 

"DestroyJavaVM" #18 prio=5 os_prio=0 cpu=218.75ms elapsed=184.45s tid=0x0000015d84384800 nid=0x23e4 waiting on condition  [0x0000000000000000]

   java.lang.Thread.State: RUNNABLE

 

"SwingWorker-pool-1-thread-1" #19 daemon prio=5 os_prio=0 cpu=0.00ms elapsed=184.14s tid=0x0000015dadad0800 nid=0x56a0 waiting for monitor entry  [0x0000004d184fe000]

   java.lang.Thread.State: BLOCKED (on object monitor)

        at gate.gui.MainFrame.getInstance(MainFrame.java:387)

        - waiting to lock <0x000000070b5db8e0> (a java.lang.Class for gate.gui.MainFrame)

        at gate.gui.MainFrame.getInstance(MainFrame.java:383)

        at gate.gui.creole.manager.PluginUpdateManager$6.doInBackground(PluginUpdateManager.java:315)

        at gate.gui.creole.manager.PluginUpdateManager$6.doInBackground(PluginUpdateManager.java:312)

        at javax.swing.SwingWorker$1.call(java.desktop@....9/SwingWorker.java:304)

        at java.util.concurrent.FutureTask.run(java.base@....9/FutureTask.java:264)

        at javax.swing.SwingWorker.run(java.desktop@....9/SwingWorker.java:343)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@....9/ThreadPoolExecutor.java:1128)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@....9/ThreadPoolExecutor.java:628)

        at java.lang.Thread.run(java.base@....9/Thread.java:834)

 

"TimerQueue" #20 daemon prio=5 os_prio=0 cpu=0.00ms elapsed=184.14s tid=0x0000015dad617800 nid=0x1c28 waiting on condition  [0x0000004d190fe000]

   java.lang.Thread.State: WAITING (parking)

        at jdk.internal.misc.Unsafe.park(java.base@....9/Native Method)

        - parking to wait for  <0x000000070d3817c0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

        at java.util.concurrent.locks.LockSupport.park(java.base@....9/LockSupport.java:194)

        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@....9/AbstractQueuedSynchronizer.java:2081)

        at java.util.concurrent.DelayQueue.take(java.base@....9/DelayQueue.java:217)

        at javax.swing.TimerQueue.run(java.desktop@....9/TimerQueue.java:171)

        at java.lang.Thread.run(java.base@....9/Thread.java:834)

 

"Swing-Shell" #23 daemon prio=10 os_prio=2 cpu=62.50ms elapsed=184.08s tid=0x0000015dad61b000 nid=0x6470 waiting on condition  [0x0000004d192fe000]

   java.lang.Thread.State: WAITING (parking)

        at jdk.internal.misc.Unsafe.park(java.base@....9/Native Method)

        - parking to wait for  <0x000000070d142d30> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)

        at java.util.concurrent.locks.LockSupport.park(java.base@....9/LockSupport.java:194)

        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@....9/AbstractQueuedSynchronizer.java:2081)

        at java.util.concurrent.LinkedBlockingQueue.take(java.base@....9/LinkedBlockingQueue.java:433)

        at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@....9/ThreadPoolExecutor.java:1054)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@....9/ThreadPoolExecutor.java:1114)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@....9/ThreadPoolExecutor.java:628)

        at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$1.run(java.desktop@....9/Win32ShellFolderManager2.java:586)

        at java.lang.Thread.run(java.base@....9/Thread.java:834)

 

"VM Thread" os_prio=2 cpu=0.00ms elapsed=185.68s tid=0x0000015daa0d9800 nid=0x11c4 runnable

 

"GC Thread#0" os_prio=2 cpu=0.00ms elapsed=185.70s tid=0x0000015d84398800 nid=0xe98 runnable

 

"GC Thread#1" os_prio=2 cpu=15.63ms elapsed=185.21s tid=0x0000015dab02a800 nid=0x1724 runnable

 

"GC Thread#2" os_prio=2 cpu=15.63ms elapsed=185.21s tid=0x0000015dab04f800 nid=0xfd0 runnable

 

"GC Thread#3" os_prio=2 cpu=0.00ms elapsed=185.21s tid=0x0000015dab050800 nid=0x4ff8 runnable

 

"G1 Main Marker" os_prio=2 cpu=0.00ms elapsed=185.69s tid=0x0000015d843f7800 nid=0x4fa4 runnable

 

"G1 Conc#0" os_prio=2 cpu=0.00ms elapsed=185.69s tid=0x0000015d843fa800 nid=0x57f0 runnable

 

"G1 Conc#1" os_prio=2 cpu=0.00ms elapsed=184.58s tid=0x0000015dab100000 nid=0x631c runnable

 

"G1 Refine#0" os_prio=2 cpu=0.00ms elapsed=185.69s tid=0x0000015da9741000 nid=0x2300 runnable

 

"G1 Young RemSet Sampling" os_prio=2 cpu=0.00ms elapsed=185.69s tid=0x0000015da9744000 nid=0x65cc runnable

"VM Periodic Task Thread" os_prio=2 cpu=0.00ms elapsed=185.63s tid=0x0000015daa2f7800 nid=0x35b8 waiting on condition

 

JNI global refs: 32, weak refs: 2

 

From: gate-users@groups.io <gate-users@groups.io> On Behalf Of Ian Roberts via groups.io
Sent: Wednesday, 29 March 2023 15:00
To: gate-users@groups.io
Subject: Re: [gate-users] Problems launching Gate

 

Odd.  When it hangs, can you try running (in another terminal):

 

jps

 

this should give you a list of Java processes (you may need to prefix the full path if it can't find the command - C:\path\to\your\java11\bin\jps).  Hopefully there is only two of them, one of which is jps itself and the other is GATE - then you can run

 

jstack NNN

 

where NNN is the process ID that jps gave you for GATE.  The result of all this should be a set of stack traces for all the running threads, which will hopefully tell me exactly where GATE has got stuck.

 

If we can't work it out then my next suggestion would be to try with one of the OpenJDK-derived alternatives such as Eclipse Temurin (https://adoptium.net/en-GB/temurin/releases/?version=11) or Azul Zulu (https://www.azul.com/downloads/?version=java-11-lts&package=jdk#zulu) instead of Oracle Java.

 

Ian

 

P.S. Mark the 18.9 is a red herring - that's what Oracle sometimes calls their Java 11 as it was released in September 2018, same as Ubuntu use version numbers like 22.04

 

On 29/03/2023 12:49, John Pashley wrote:

Hi.

Over the past few weeks I have been experiencing problems launching Gate.

Launching Gate from the Task Bar results in the following:

Clicking on OK launches https://gate.ac.uk/ in the browser.

I then reverted to the FAQ “2.2. When I execute GATE, nothing happens“. Running gateLauncher.jar from the command line as instructed produced the following:

PS C:\Java\Gate\GATE_Developer_9.0.1> java -jar bin/gateLauncher.jar

Using C:\Users\johnp\gate.xml as user configuration file

Using C:\Users\johnp\gate.session as user session file

CREOLE plugin loaded: creole

Nothing happened after CREOLE plugin was loaded.

Here is an overview of my development platform:

GATE_Developer_9.0.1

Windows 11 Home

Version 22H2

OS build 22621.1485

Installed RAM 16.0 GB (15.9 GB usable)

java version "11.0.9" 2020-10-20 LTS

Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)

Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)

 Many thanks in advance for your kind support.

Very best regards

John Pashley

 

-- 
Ian Roberts                | Department of Computer Science
i.roberts@...  | University of Sheffield, UK