[
https://issues.jboss.org/browse/GTNPORTAL-3387?page=com.atlassian.jira.pl...
]
Lucas Ponce commented on GTNPORTAL-3387:
----------------------------------------
Root cause is defined in:
https://jira.exoplatform.org/browse/KER-276
But a valid workaround can be:
if (cache.getCacheSize() > 0)
at POMSessionManager.
This workaround only is valid for 3.6.x branch as 2.4.8.GA is not release yet.
Once 2.4.8.GA is out, this workaround can be reverted as original issue is defined on
exo.kernel.component.ext.cache.impl.jboss.v3-2.4.6-GA.jar component.
Workaround - POMSessionManager: Unexpected error when clearing pom
cache: java.lang.NullPointerException
--------------------------------------------------------------------------------------------------------
Key: GTNPORTAL-3387
URL:
https://issues.jboss.org/browse/GTNPORTAL-3387
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.6.3.Final
Reporter: Lucas Ponce
Assignee: Lucas Ponce
Fix For: 3.6.4.Final
Description of problem:
When starting portal in cluster mode I can see errors like this in the log:
ERROR [org.exoplatform.portal.pom.config.POMSessionManager] (MSC service thread 1-5)
Unexpected error when clearing pom cache: java.lang.NullPointerException
at
org.exoplatform.services.cache.impl.jboss.AbstractExoCache.select(AbstractExoCache.java:343)
...
Steps to Reproduce:
1. start portal in cluster mode:
a) start H2 DB:
java -jar ./modules/system/layers/base/com/h2database/h2/main/h2-1.3.168-redhat-2.jar
-tcp -web -pg
b) start portal:
./standalone -c standalone-ha.xml -Djboss.node.name=node1 -u 239.23.42.2
Additional info:
JDK 1.7.0_17 and 1.7.0_25
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira