Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to Start - Versions Beyond 1.7.6.7 #109

Closed
xLinkKnight opened this issue Jul 15, 2024 · 12 comments
Closed

Failure to Start - Versions Beyond 1.7.6.7 #109

xLinkKnight opened this issue Jul 15, 2024 · 12 comments

Comments

@xLinkKnight
Copy link

Crosslink searches fail to start when using xiSERACH versions 1.8.3 and 1.8.4.1.

Pressing start results in no action. No entry is displayed in the log file. Using version 1.7.6.7 with all the same search parameters works as intended.

@Rafiei297
Copy link

I have same issue with version 1.8.4.1

@grandrea
Copy link
Contributor

Thanks for the report- what OS? Are you launching by clicking directly on the java icon or by using the launch script? I am running 1.8.3 on windows and it does work for me...

@xLinkKnight
Copy link
Author

The OS is Windows 11 and xiSEARCH is place in the root C:\ directory. I was directly clicking on the xiSEARCH jar file. I didn't use the bat file due to the 1.8.X.X updates incorporating the RAM utilization natively in the xiSEARCH GUI. (We added the -Xmx flag to increase memory usage.)

I can try using the launch script when I get a chance. Thank you.

@lutzfischer
Copy link
Member

what java version are you using?

@lutzfischer
Copy link
Member

Could you try the version from https://tubcloud.tu-berlin.de/s/jLtp5dWGdJc5m9W

It has two changes related to java directly

  • (hopefully) improved detection of the used java version
  • improved detection of the used java executable

The first one I have just seen an error - and the second one is to make a bi t more tolerant towards "odd" java setups.

@lutzfischer
Copy link
Member

if you run from the startWindows.bat can you copy what ever is written in the terminal/command/black window. it might hold a clue on what is going on

@helloworld1631
Copy link

Hi, I click the startWindows.bat to open xiSEARCH GUI window. After setting all parameters, it failed to start searching with an error saying:
"Jul 17, 2024 3:51:27 PM rappsilber.gui.components.CallBackSettings$2 run
INFO: latest online version: 1.8.4
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: java.nio.MappedByteBuffer.alignedSlice(I)Ljava/nio/ByteBuffer;
at rappsilber.ui.MemMapStatusControl.(MemMapStatusControl.java:54)
at rappsilber.gui.SimpleXiGui.innerStartXiSEARCH(SimpleXiGui.java:954)
at rappsilber.gui.SimpleXiGui.startXiProcess(SimpleXiGui.java:888)
at rappsilber.gui.SimpleXiGui.btnStartSearch2btnStartSearchActionPerformed(SimpleXiGui.java:2281)
at rappsilber.gui.SimpleXiGui.access$6700(SimpleXiGui.java:104)
at rappsilber.gui.SimpleXiGui$44.actionPerformed(SimpleXiGui.java:1962)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)"

It looks like there is an issue with Java version

@helloworld1631
Copy link

Tried the xiSEARCH 1.8.5 but the problem still exists.
My Windows OS is 22631.3593. And my java version 1.8.0_421 .

@xLinkKnight
Copy link
Author

Our Java installation is standard. Running Java 8 (build 1.8.0_411-b09). I'll try hotfix 1.8.5 when our system is free.

@xLinkKnight
Copy link
Author

xLinkKnight commented Jul 17, 2024

I receive the following when using the 1.8.5 files in place of the 1.8.4.1 .jar files. I've ensured the .conf and template files are present.

from : .rappsilber.data.DefaultConfig.conf
java.lang.NullPointerException
Jul 17, 2024 3:44:04 PM rappsilber.gui.SimpleXiGui <init>
INFO: Logger Connected
Jul 17, 2024 3:44:05 PM rappsilber.gui.components.CallBackSettings$2 run
INFO: Checking for new Version with: https://rappsilberlab.org/xiversion/check.php?user=ab2747d4-7c35-4595-ab59-cea5a715db3b
Jul 17, 2024 3:44:06 PM rappsilber.gui.components.CallBackSettings$2 run
INFO: Response:1.8.4

Jul 17, 2024 3:44:06 PM rappsilber.gui.components.CallBackSettings$2 run
INFO: latest online version: 1.8.4

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: java.nio.MappedByteBuffer.alignedSlice(I)Ljava/nio/ByteBuffer;
        at rappsilber.ui.MemMapStatusControl.<init>(MemMapStatusControl.java:54)
        at rappsilber.gui.SimpleXiGui.innerStartXiSEARCH(SimpleXiGui.java:954)
        at rappsilber.gui.SimpleXiGui.startXiProcess(SimpleXiGui.java:888)
        at rappsilber.gui.SimpleXiGui.btnStartSearch2btnStartSearchActionPerformed(SimpleXiGui.java:2281)
        at rappsilber.gui.SimpleXiGui.access$6700(SimpleXiGui.java:104)
        at rappsilber.gui.SimpleXiGui$44.actionPerformed(SimpleXiGui.java:1962)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

@lutzfischer
Copy link
Member

can you try with a newer version of java? I think some of the stuff i did to define the memory in the gui is only available in java 9 and up. will see if I can find a solution that works with 8.

@xLinkKnight
Copy link
Author

Using Java 9 (JDK 22) fixed the issue. Searches now progress.

Thanks for the support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants