Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-12362

Tiles 2.x: TilesConfigurer NPE when no definitions found

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.2.11
    • Fix Version/s: 3.2.12, 4.0.8, 4.1.2
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      We had two lines in the webmvc-config.xml for the TilesConfigurer

      <value>/WEB-INF/views/**/views.xml</value>
      <value>/WEB-INF/flows/**/views.xml</value>

      Then when we removed the last views.xml under the /WEB-INF/flows tree the application crashes at startup with an NPE caused by line 423 of the TilesConfigurer. See error-report with stack-trace attached.

        Attachments

          Activity

            People

            Assignee:
            juergen.hoeller Juergen Hoeller
            Reporter:
            ArnaudKleinveld Arnaud Kleinveld
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 30 weeks, 3 days ago