It seems AjaxRequestHandler is not serializable, why is it being serialized
in DEVELOPMENT mode?
will try to create quickstart for this

On Tue, Oct 27, 2015 at 3:57 PM, Maxim Solodovnik <[email protected]>
wrote:

> Surprisingly this error is caused by "Not serializable
> component org.apache.wicket.ajax.AjaxRequestHandler$1@ef915bc3"
> not sure how to find what is wrong
> The issue is not reproducible in DEPLOYMENT mode
>
>
> On Tue, Oct 27, 2015 at 1:11 PM, Maxim Solodovnik <[email protected]>
> wrote:
>
>> Works as expected using simple quickstart
>> Will try to debug serialization process
>>
>> On Tue, Oct 27, 2015 at 9:42 AM, Maxim Solodovnik <[email protected]>
>> wrote:
>>
>>> Hello,
>>>
>>> I'm getting weird NPE in wicket 7.1.0 debug bar, here is the stack trace:
>>>
>>> java.lang.RuntimeException: An error occurred while getting the model 
>>> object for Component: [Component id = data, page = 
>>> org.apache.openmeetings.web.pages.MainPage, path = 
>>> 0:dev:content:contributors:3:contrib:link:data.Label, isVisible = true, 
>>> isVersioned = true, markup = [markup = 
>>> jar:file:/home/solomax/work/openmeetings/branches/3.0.x/dist/red5/webapps/openmeetings/WEB-INF/lib/wicket-devutils-jar-7.1.0.jar!/org/apache/wicket/devutils/debugbar/StandardDebugPanel.html
>>> <span wicket:id="data"></span>, index = 0, current =  '<span 
>>> wicket:id="data">' (line 0, column 0)]]
>>>      at 
>>> org.apache.wicket.Component.getDefaultModelObject(Component.java:1631)
>>>      at 
>>> org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1654)
>>>      at 
>>> org.apache.wicket.markup.html.basic.Label.onComponentTagBody(Label.java:115)
>>>      at 
>>> org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:70)
>>>
>>>
>>> full log: http://pastebin.com/u9N6Kbe0
>>>
>>> According to the debugger page is being serialized to the null byte array :(
>>>
>>> Would appreciate any help on investigating this
>>>
>>>
>>> Sorry for the raising this too late, but I had no time to test RC2 for
>>> 7.1.0 :(
>>>
>>>
>>> --
>>> WBR
>>> Maxim aka solomax
>>>
>>
>>
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>
>
>
> --
> WBR
> Maxim aka solomax
>



-- 
WBR
Maxim aka solomax

Reply via email to