Skip to content

JDK-11 #612

@gulyx

Description

@gulyx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions