Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-2153

Upgrade to Struts 2.5.21 when released

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0
    • Labels:
      None

      Description

      Upgrade to 2.5.21 before releasing Roller 6.

      Upgrading may elimniate the error message below, which is seen when running Roller 6 via Docker Compose but does not prevent Roller from functioning properly:

      roller_1      | 22:21:58.976 [main] ERROR org.apache.struts2.convention.DefaultClassFinder - Unable to read class [org.apache.roller.weblogger.ui.struts2.editor.EntryEdit]
      roller_1      | java.lang.UnsupportedOperationException: This feature requires ASM7
      roller_1      | 	at org.objectweb.asm.ClassVisitor.visitNestMember(ClassVisitor.java:236) ~[asm-7.0.jar:7.0]
      roller_1      | 	at org.objectweb.asm.ClassReader.accept(ClassReader.java:651) ~[asm-7.0.jar:7.0]
      roller_1      | 	at org.objectweb.asm.ClassReader.accept(ClassReader.java:391) ~[asm-7.0.jar:7.0]
      roller_1      | 	at org.apache.struts2.convention.DefaultClassFinder.readClassDef(DefaultClassFinder.java:462) ~[struts2-convention-plugin-2.5.20.jar:2.5.20]
      roller_1      | 	at org.apache.struts2.convention.DefaultClassFinder.<init>(DefaultClassFinder.java:93) [struts2-convention-plugin-2.5.20.jar:2.5.20]
      roller_1      | 	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildClassFinder(PackageBasedActionConfigBuilder.java:395) [struts2-convention-plugin-2.5.20.jar:2.5.20]
      roller_1      | 	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:377) [struts2-convention-plugin-2.5.20.jar:2.5.20]
      roller_1      | 	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConf
      

      If upgrading does not fix this, then we should document the above issue as a "known issue"

        Attachments

          Activity

            People

            • Assignee:
              djohnson David Johnson
              Reporter:
              djohnson David Johnson
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: