Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-467

Enable name of JSPWiki.jar to be changed without breaking webapp

Bulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.8.1, 2.8.2
    • 3.0
    • None
    • Fedora 9 x86, Tomcat 6.0.18

    Description

      I prefer that .jar files I deploy have a version number in the name, i.e. instead of JSPWiki.jar, jspwiki-2.8.2svn4.jar.

      If I build JSPWiki and give my choice of name to the JSPWiki.jar file in the webapp's WEB-INF/lib I can't use the UserPreferences.jsp anymore.

      The error displayed in the browser is:

      JSPWiki has detected an error

      Error Message
      in is null
      Exception
      java.lang.NullPointerException
      Place where detected
      java.util.zip.ZipInputStream.(), line 56

      Renaming the .jar file back to JSPWiki.jar eliminates the problem.

      No stack trace or any other related output appears in the jspwiki log file or the tomcat log files.

      I'd love to know why this happens. I've grep'd the JSPWiki source code for uses of ZipInputStream and found none. Very odd.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            shanghaiscott Scott Douglass
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment