AdoptOpenJDK / IcedTea-Web

The new home for IcedTea-Web
Other
216 stars 84 forks source link

Error - Fatal: Launch Error: Could not launch JNLP file. The application has not been initialized. #951

Open Hani-Arina opened 3 weeks ago

Hani-Arina commented 3 weeks ago

Hi IcedTea-Web Support Team,

One of the users for Rapid Response application is encountering an issue when attempting to open a Kinaxis Rapid Response JNLP file using javaws.exe. It will return a Fatal Read Error: "Could not launch JNLP file. The application has not been initialized."

OpenJDK: Eclipse Adoptium jdk-8.0.332.9-hotspot IcedTeaWeb version: 1.8.8 OS: Microsoft Windows 11

I have attached the error message and the error log for your reference. IcedTeaWeb Error Message

image

[Error log]RapidResponse.txt

Troubleshooting that had been done from our side is:

  1. Clear Java cache by purging them in the itweb-setting

  2. Clear the temp and %temp% cache files

  3. Clear history from browser

  4. Deleting old JNLP files

  5. Login using other browsers

  6. Initialize JNLP file with javaws.exe

    image
  7. Reinstall Eclipse Adoptium and IcedTeaWeb

But the issue is not fixed. User is still unable to launch the application. Please help to advise what can be done to fix this issue.

sclassen commented 3 weeks ago

The stacktrace contains com.kinaxis classes. So the code is running the application and ITW has completed its work.

Maybe try to contact a developer from kinaxis and present them the following error message:

java.nio.file.AccessDeniedException: C:\Users\JP6200~1\AppData\Local\Temp
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileSystemProvider.checkReadAccess(WindowsFileSystemProvider.java:338)
    at sun.nio.fs.WindowsFileSystemProvider.checkAccess(WindowsFileSystemProvider.java:362)
    at java.nio.file.Files.createDirectories(Files.java:746)
    at com.kinaxis.web.embeddedBrowser.ClientBridge.createCachePaths(ClientBridge.java:365)
    at com.kinaxis.web.ExceptionAdapter.wrap(ExceptionAdapter.java:15)
    at com.kinaxis.web.embeddedBrowser.ClientBridge.createCachePaths(ClientBridge.java:377)
    at com.kinaxis.web.embeddedBrowser.ClientBridge.initialize(ClientBridge.java:288)
    at com.kinaxis.web.WebStart.main(WebStart.java:305)
Hani-Arina commented 2 weeks ago

Hi sclassen,

Would you know how to fix this? javaws browser

It mention that it is unable to use proxy settings. Currently the user is using the browser settings which is the Chrome. So not sure why the command line said it's Firefox?

image