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

NPE on org.apache.tapestry5.json.JSONObject.printValue(JSONObject.java:950)

    XMLWordPrintableJSON

Details

    Description

      Caused by: java.lang.NullPointerException: null
      at org.apache.tapestry5.json.JSONObject.printValue(JSONObject.java:950) ~[tapestry-json-5.4-beta-5.jar:na]
      at org.apache.tapestry5.json.JSONArray.print(JSONArray.java:464) ~[tapestry-json-5.4-beta-5.jar:na]
      at org.apache.tapestry5.json.JSONObject.printValue(JSONObject.java:922) ~[tapestry-json-5.4-beta-5.jar:na]
      at org.apache.tapestry5.json.JSONArray.print(JSONArray.java:464) ~[tapestry-json-5.4-beta-5.jar:na]
      at org.apache.tapestry5.json.JSONObject.printValue(JSONObject.java:922) ~[tapestry-json-5.4-beta-5.jar:na]
      at org.apache.tapestry5.json.JSONObject.print(JSONObject.java:893) ~[tapestry-json-5.4-beta-5.jar:na]
      at org.apache.tapestry5.json.JSONObject.printValue(JSONObject.java:916) ~[tapestry-json-5.4-beta-5.jar:na]
      at org.apache.tapestry5.json.JSONObject.print(JSONObject.java:893) ~[tapestry-json-5.4-beta-5.jar:na]
      at org.apache.tapestry5.json.JSONCollection.print(JSONCollection.java:96) ~[tapestry-json-5.4-beta-5.jar:na]
      at org.apache.tapestry5.internal.services.AjaxPartialResponseRendererImpl$1.perform(AjaxPartialResponseRendererImpl.java:92) ~[tapestry-core-5.4-beta-5.jar:na]
      at org.apache.tapestry5.internal.services.AjaxPartialResponseRendererImpl$1.perform(AjaxPartialResponseRendererImpl.java:73) ~[tapestry-core-5.4-beta-5.jar:na]
      at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.perform(OperationTrackerImpl.java:107) ~[tapestry-ioc-5.4-beta-5.jar:na]
      ... 72 common frames omitted

      http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/Tapestry-5-3-6-JSONObject-No-null-checking-leads-to-NPE-in-Palette-component-td5723454.html
      http://markmail.org/message/cbtowahbstccc5vv

      http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/svn-commit-r944571-in-tapestry-tapestry5-trunk-tapestry-core-src-main-java-org-apache-tapestry5-main-td2469979.html

      http://mail-archives.apache.org/mod_mbox/tapestry-users/201310.mbox/%3CCAN7Z0vSCL9+Sz11h3BPoVu8J2eRq6oaCLv4XeBXiJsKpT7k1tg@mail.gmail.com%3E
      http://web.archiveorange.com/archive/v/IKzu7D6rCfDUfiEiOl2K

      Attachments

        1. JSONObject_printValue_NPE_fix2.patch
          31 kB
          Basile Chandesris

        Issue Links

          Activity

            People

              thiagohp Thiago Henrique De Paula Figueiredo
              based2 Basile Chandesris
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: