Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 6.0.5 GA
-
Fix Version/s: 6.1.0 CE RC1
-
Component/s: WCM
-
Labels:None
-
Environment:Resin 3.1.10; may be other as well
-
Branch Version/s:5.1.x, 5.2.x, 6.0.x
-
Backported to Branch:Committed
-
Similar Issues:
Description
GlobalStartupAction during intialization invokes Environment.setValue(Environment.PROP_BASE_FILE_DIR, tmpDir); this also initializes JAMWikis Environment class. Static block of this class fails with the:
Caused by: java.lang.NullPointerException
at org.jamwiki.Environment.retrieveDefaultRelativeUploadDirectory(Environment.java:368)
at org.jamwiki.Environment.initDefaultProperties(Environment.java:213)
at org.jamwiki.Environment.<init>(Environment.java:123)
at org.jamwiki.Environment.<clinit>(Environment.java:116)
This happens on Resin 3.1.10 during portal startup - the consequence of this behavior is that Resin starts the web application twice and second time portal fails because of closed Hibernate session (getCurrentSession() will not work).
Similar exception may happens on other servers.

see also: http://jamwiki.org/wiki/en/Bug_Reports#Error_at_deploying_on_JBoss