Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1304

When using PropertyShadowBuilder to build a service, if the property is null, an immediate exception is needed (rather than a NullPointerException)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.2.2, 5.1
    • 5.2.2
    • tapestry-ioc
    • None

    Description

      Just saw another example of this on the mailing list:

      java.lang.NullPointerException
      at $Request_12ba6e8f229.getSession($Request_12ba6e8f229.java)
      at $Request_12ba6e8f207.getSession($Request_12ba6e8f207.java)
      at
      org.apache.tapestry5.internal.services.SessionApplicationStatePersistenceStrategy.exists(SessionApplicationStatePersistenceStrategy.java:80)
      at
      $ApplicationStatePersistenceStrategy_12ba6e8f228.exists($ApplicationStatePersistenceStrategy_12ba6e8f228.java)

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: