You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/01/20 20:18:45 UTC
[jira] Resolved: (WICKET-3355) Devutils breaks applications if
session size is not available for any reason
[ https://issues.apache.org/jira/browse/WICKET-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-3355.
-------------------------------------
Resolution: Fixed
Fixed with r1061176
> Devutils breaks applications if session size is not available for any reason
> ----------------------------------------------------------------------------
>
> Key: WICKET-3355
> URL: https://issues.apache.org/jira/browse/WICKET-3355
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-M3
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 1.5-RC2
>
>
> Trying to upload file the multiupload wicket example fails with:
> Caused by: java.lang.IllegalArgumentException: 'bytes' cannot be negative.
> at org.apache.wicket.util.lang.Bytes.<init>(Bytes.java:111)
> at org.apache.wicket.util.lang.Bytes.bytes(Bytes.java:124)
> at org.apache.wicket.devutils.inspector.SessionSizeModel.load(SessionSizeModel.java:36)
> at org.apache.wicket.devutils.inspector.SessionSizeModel.load(SessionSizeModel.java:24)
> at org.apache.wicket.model.LoadableDetachableModel.getObject(LoadableDetachableModel.java:119)
> at org.apache.wicket.devutils.debugbar.SessionSizeDebugPanel$2.getObject(SessionSizeDebugPanel.java:75)
> at org.apache.wicket.devutils.debugbar.SessionSizeDebugPanel$2.getObject(SessionSizeDebugPanel.java:79)
> at org.apache.wicket.Component.getDefaultModelObject(Component.java:1675)
> .....
> The problem is that WicketObjects.sizeOf() may return -1 if an exception happens during the calculation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.