On Wed, Oct 17, 2012 at 12:45 PM, seba.wag...@gmail.com
<seba.wag...@gmail.com> wrote:
> Hi Martin,
>
> thanks for committing a patch that fast!
> I see your patch at: http://markmail.org/message/ntjpnxce6uw44ejt
> But I don't know what SNAPSHOTs are compiled from that one.
> Will this fix be in the next 6.2.0-SNAPSHOT or 6.0.0-SNAPSHOT ?

6.2.0-SNAPSHOT is the current one.
Next week when 6.2.0 is released (if all goes well) the version will
be 6.3.0-SNAPSHOT

>
> We sync our dependencies from:
> https://repository.apache.org/content/groups/snapshots/org/apache/wicket/wicket/
>
> Where is your
>
> Thanks!
> Sebastian
>
> 2012/10/17 Martin Grigorov <mgrigo...@apache.org>
>
>> There was a response from Maxim from OpenMeetings team, but
>> users@wicket.apache.org was not in CC:
>>
>> <copy>
>> Hello Martin,
>>
>> I have modified the code and have removed AjaxDownloader (since it is not
>> really necessary).
>> NullPointerException somehow happens while post parameters parsing
>> (getCallbackURL) is not working anymore.
>>
>> I believe this is somehow connected with custom HomePageMapper
>>
>>
>> https://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/app/Application.java?revision=1384647&view=markup
>>
>> line 62 and below.
>> Maybe you can help me with this?
>>
>> I have added HomePageMapper to implement "single page application" and
>> remove all URL parameters automaticatilly being added by Wicket.
>>
>> Thanks in advance
>>
>> </copy>
>>
>>
>> Hi Maxim,
>>
>> The NullPointerException is while Wicket tries to read the POST
>> parameters. The request mappers manipulate only the GET parameters, so
>> I think it is not related.
>> I've just checked Jetty 7.6.3 sources and they return String[0] so it
>> should be OK in this particular version of Jetty. But I'll add the
>> check anyway with https://issues.apache.org/jira/browse/WICKET-4818
>>
>> On Wed, Oct 17, 2012 at 9:16 AM, Martin Grigorov <mgrigo...@apache.org>
>> wrote:
>> > Hi,
>> >
>> > On Tue, Oct 16, 2012 at 7:59 PM, seba.wag...@gmail.com
>> > <seba.wag...@gmail.com> wrote:
>> >> Hi,
>> >>
>> >> I did follow this tutorial to create a download via Ajax in a form:
>> >>
>> https://cwiki.apache.org/confluence/display/WICKET/AJAX+update+and+file+download+in+one+blow
>> >>
>> >> The slightly modified code can be seen here:
>> >>
>> https://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/components/admin/backup/BackupPanel.java?view=markup
>> >> Line 127 "download.initialize(target);" is called.
>> >
>> > It seems you have modified BackupPanel. There is no code like
>> > "download.initialize(target)"
>> >
>> >>
>> >> The rest seems to me similar to the example, except for that I set the
>> File
>> >> is set dynamically with every Ajax request.
>> >>
>> >> The File itself does exist and is created correctly.
>> >>
>> >> However Wicket throws this wired exception:
>> >> http://pastebin.com/raw.php?i=Fijqjd5y
>> >
>> > NullPointerException is not something one should expect so it is a bug.
>> > According to
>> https://github.com/apache/wicket/blob/build/wicket-6.0.0/wicket-core/src/main/java/org/apache/wicket/protocol/http/servlet/ServletWebRequest.java#L321
>> > its cause is that HttpServletRequest.getParametersMap() returns a Map
>> > with an entry with value == null. I'm not sure in what cases this can
>> > happen but I'll add a check for null there.
>> >
>> >>
>> >> The trace seems to be an internal Wicket error. Is this a Bug inside
>> Wicket?
>> >>
>> >> Sebastian
>> >> --
>> >> Sebastian Wagner
>> >> https://twitter.com/#!/dead_lock
>> >> http://www.webbase-design.de
>> >> http://www.wagner-sebastian.com
>> >> seba.wag...@gmail.com
>> >
>> >
>> >
>> > --
>> > Martin Grigorov
>> > jWeekend
>> > Training, Consulting, Development
>> > http://jWeekend.com
>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wag...@gmail.com



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to