Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3486

NullPointerException on struts initialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Not A Problem
    • 2.1.8.1, 2.2.1
    • None
    • Plugin - Convention
    • None
    • Tomcat 5.5.26 jdk 1.6.0_01-b06 struts 2.2.1

    • Patch, Important

    Description

      When migrate from 2.1.8.1 to 2.2.1 the same project fails in initialization, in the convention plugin PackageBasedconfigBuilder method buildconfiguration line 592 it seems the method getPackge() return null. I solve the problem replace convention-plugin 2.2.1 for 2.1.8.1.

      I dont make extensive test but works fine replacing the library.

      Attachments

        1. struts.xml
          0.7 kB
          David Altenhof
        2. WW-3486.patch
          1 kB
          Maurizio Cucchiara

        Activity

          People

            lukaszlenart Lukasz Lenart
            hugorobayo Hugo Robayo
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: