Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2294

JSPUI: unable to edit item (with Java 8)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: JSPUI
    • Labels:
      None
    • Environment:
      Oracle JDK 1.8.0_25, Tomcat 7.0.56, compilerSourceVM=1.7, compilerTargetVM=1.7
    • Attachments:
      1
    • Comments:
      12
    • Documentation Status:
      Not Required

      Description

      On demo, trying to edit any item throws an Internal Server Error with the following stacktrace (full stacktrace attached):

      javax.servlet.ServletException: java.lang.VerifyError: Inconsistent stackmap frames at branch target 7315
      Exception Details:
      Location:
      org/apache/jsp/tools/edit_002ditem_002dform_jsp._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V @7315: return
      Reason:
      Type 'org/dspace/content/BitstreamFormat' (current frame, locals[53]) is not assignable to integer (stack map, locals[53])
      ...

      I was wondering whether this could be related to DS-2249, but compilerSourceVM and compilerTargetVM have already been set to 1.7 in tomcat's web.xml.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kstamatis Kostas Stamatis
                Reporter:
                helix84 Ivan Masár
                Reviewer:
                Hardy Pottinger (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: