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

JDK-11 #612

Open
gulyx opened this issue Jun 4, 2020 · 0 comments
Open

JDK-11 #612

gulyx opened this issue Jun 4, 2020 · 0 comments

Comments

@gulyx
Copy link
Member

gulyx commented Jun 4, 2020

Compiling Learn PAd on JDK 11 it works.

Launching Learn PAd on JDK 11 it rises the following error on the UI:

Error number 4001 in 4: Error while evaluating velocity template colorThemeInit.vm
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while evaluating velocity template colorThemeInit.vm

which it is actually caused by an issue with JDK10+ on the version of JBoss linked by Infinispan

Caused by: org.infinispan.commons.CacheException: java.lang.ExceptionInInitializerError
at org.infinispan.interceptors.InterceptorChain.invoke(InterceptorChain.java:344)

Caused by: java.lang.ExceptionInInitializerError
at org.jboss.marshalling.river.RiverMarshaller.(RiverMarshaller.java:1233)

Latest version of XWiki already solved this issue as documented here:

Unfortunately the replacement of the current XWiki plarform with a one that solves this issue will require a major refactoring of the Learn PAd platform.
In addition, it was not found yed any other workaround that will automatically enable the dependency between the current version of XWiki and the Infinispan package which solves the issue (i.e. 9.x or higher).

The current solution is to launch Learn PAd with JDK8.

gulyx added a commit that referenced this issue Jun 4, 2020
This PR can merged, but it is important to keep in mind the current issue reported in #612 !!!
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

1 participant