tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Kemnade (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAP5-2330) NullPointerException when returning a Zone with no clientId
Date Sat, 10 May 2014 22:15:22 GMT

     [ https://issues.apache.org/jira/browse/TAP5-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jochen Kemnade updated TAP5-2330:
---------------------------------

    Summary: NullPointerException when returning a Zone with no clientId  (was: NullPointerExceptionwhen
returning a Zone with no clientId)

> NullPointerException when returning a Zone with no clientId
> -----------------------------------------------------------
>
>                 Key: TAP5-2330
>                 URL: https://issues.apache.org/jira/browse/TAP5-2330
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core, tapestry-json
>    Affects Versions: 5.4
>            Reporter: Jochen Kemnade
>            Priority: Critical
>         Attachments: 0001-add-test-for-TAP5-2330.patch
>
>
> If a Zone update is performed via AjaxResponseRenderer and the Zone has no id parameter,
the RenderCommand creates a JSONArray with null as its first element. If assertions are disabled
for the JVM, this leads to a NullPointerException in JSONObject.printValue(JSONPrintSession,
Object).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message