Knime Modern UI not working, error during launching

Today I updated Knime to version 5.2.2, and modern ui ceise to function

I’m getting the following error:

{
“app”: “KnimeUI”,
“message”: “Could not initialize class org.knime.gateway.impl.webui.entity.AppStateEntityFactory”,
“vueInfo”: null,
“stack”: “Error: Could not initialize class org.knime.gateway.impl.webui.entity.AppStateEntityFactory\n at new o (http://org.knime.ui.java/assets/index-6dc36896.js:5:64172)\n at e.convertJSONToRPCError (http://org.knime.ui.java/assets/index-6dc36896.js:5:64400)\n at e.processResult (http://org.knime.ui.java/assets/index-6dc36896.js:5:66193)\n at e.resolveRes (http://org.knime.ui.java/assets/index-6dc36896.js:5:66540)\n at e.resolveResponse (http://org.knime.ui.java/assets/index-6dc36896.js:5:65443)\n at Eae.sendData (http://org.knime.ui.java/assets/index-6dc36896.js:6:21143)\n at async Object.call (http://org.knime.ui.java/assets/index-6dc36896.js:6:23623)\n at async si.initializeApplication (http://org.knime.ui.java/assets/index-6dc36896.js:45:23314)”
}


Seems like I’ve got a similar error to you. I’ve already updated several extensions. And I got that error. However, I’m still can use KNIME but in the classic UI

Perhaps this is a related issue that also applies to you?

1 Like

Thank you @Ardilla and @veniapputrii for reporting this issue.

As @ArjenEX has mentioned, would you please check if you have HCS Tools from community extensions installed and if uninstalling the extension solves the issue?

1 Like

I got a similar massage:

Could not initialize class org.knime.gateway.impl.webui.entity.AppStateEntityFactory

Error: Could not initialize class org.knime.gateway.impl.webui.entity.AppStateEntityFactory
at new o (http://org.knime.ui.java/assets/index-6dc36896.js:5:64172)
at e.convertJSONToRPCError (http://org.knime.ui.java/assets/index-6dc36896.js:5:64400)
at e.processResult (http://org.knime.ui.java/assets/index-6dc36896.js:5:66193)
at e.resolveRes (http://org.knime.ui.java/assets/index-6dc36896.js:5:66540)
at e.resolveResponse (http://org.knime.ui.java/assets/index-6dc36896.js:5:65443)
at Eae.sendData (http://org.knime.ui.java/assets/index-6dc36896.js:6:21143)
at async Object.call (http://org.knime.ui.java/assets/index-6dc36896.js:6:23623)
at async si.initializeApplication (http://org.knime.ui.java/assets/index-6dc36896.js:45:23314)

In my case a new installation with a “fresh” download from Release 5.2.2 solved the problem.
After the new installation I got some warnings about a missing JDBC Oracle Driver, which has to be reinstalled. After all, everything works.

Dear @Ardilla, @veniapputrii and @aelama,

There is an update for the HCS Tools from the community extensions now which fixes the issue.

Thanks again for reporting this.

2 Likes

I don’t use HCS Tools and it was not installed. This Error occurs right after the update to 5.2.2. Not every error necessarily has only one cause :wink:

1 Like

Yes, you are right @aelama,

Do you still have the previous installation in which the issue occured? Or can you reproduce the same issue by installing the extensions you had installed on the previous one?

No extension installation just the update to 5.2.2 today. 2/3 Updates on different Machines worked well. Just one crashes but I was able to switch to the old GUI. Only one or two workflows were opened. With an oracle JDBC connector and a PDF Writer Node, nothing else special.After the new installation from a fresh download I was forced to reinstall the oracle JDBC driver. That’s it, nothing else!

1 Like

Dear @aelama,

Thank you for providing more information regarding the problem you encoutnered.

To enlighten you about the issue with more details:
The main root of the problem was in the old R scripting extension from community extensions which is a dependency for the HCS Tools community extension:

If you had the old R scripting extension or the HCS Tools extension (which installs the old R scripting extension with it), then you could encounter the issue after updating to 5.2.2. Now, the issue is fixed with the R scripting extension and both extensions work fine.

I would like to ask if that makes sense regarding your problem as well or can you still reproduce the issue?

1 Like

Yes you are right, my problem seem to be caused by the “R - Scripting extension” it was installed (but not the HCS-Tools).

I started the “damaged” version today with the modern UI and still got:

but now a update of the “R - Scripting extension” was offered:

after the update the the new GUI works perfectly as usual.

2 Likes

I’m glad the problem is solved and thank you all again for reporting this issue very quickly :slight_smile:

1 Like

KNIME Analytics Platform 5.2.3 has been released, which fixes the root cause of the problem discussed above.

2 Likes

Internal ticket ID: NXT-2490
Fix version(s): 5.3.0, 5.2.3
Other related topic(s):