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:
      6.0.x, 5.2.x, 5.1.x
    • Backported to Branch:
      Committed

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 45 weeks, 6 days ago