Re: Wicket 8.1 + PAX Wicket 5 ConcurrentModificationException

2019-01-07 Thread nino martinez wael
Hi again, I've checked our own code again.. And on our team decided to have
a seperate list of wicket components in a wicket page.. After refactoring
this to use IVisitor it went away.. So please disregard previous mail:)

On Mon, Jan 7, 2019 at 11:00 AM nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

> Hi everyone, im one of the maintainers of pax wicket, and since we have
> upgraded to wicket 8.1 I am regularly getting this, the project I am
> getting this on are not using apache commons LinkedMap:
>
> 2019-01-07T09:58:04,024 | ERROR |
> org.ops4j.pax.wicket.util.serialization.PaxWicketObjectOutputStream |
> Wicket-AsyncPageStore-PageSavingThread | PaxWicketObjectOutputStream  |
> 166 - org.ops4j.pax.wicket.service - 5.0.0 | error writing object [Page
> class = dk.netdesign.wallboard.frontend.pages.ViewerPage, id = 0, render
> count = 2848]: null
> java.util.ConcurrentModificationException: null
> at java.util.ArrayList.writeObject(Unknown Source) ~[?:?]
> at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) ~[?:?]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
> at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
> at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source) ~[?:?]
> at java.io.ObjectOutputStream.writeSerialData(Unknown Source) ~[?:?]
> at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) ~[?:?]
> at java.io.ObjectOutputStream.writeObject0(Unknown Source) ~[?:?]
> at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) ~[?:?]
> at java.io.ObjectOutputStream.writeSerialData(Unknown Source) ~[?:?]
> at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) ~[?:?]
> at java.io.ObjectOutputStream.writeObject0(Unknown Source) ~[?:?]
> at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) ~[?:?]
> at java.io.ObjectOutputStream.writeSerialData(Unknown Source) ~[?:?]
> at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) ~[?:?]
> at java.io.ObjectOutputStream.writeObject0(Unknown Source) ~[?:?]
> at java.io.ObjectOutputStream.writeObject(Unknown Source) ~[?:?]
> at
> org.apache.commons.collections4.map.AbstractHashedMap.doWriteObject(AbstractHashedMap.java:1234)
> ~[?:?]
> at
> org.apache.commons.collections4.map.LinkedMap.writeObject(LinkedMap.java:124)
> ~[?:?]
> at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source) ~[?:?]
>
> which points me to a little down the stack trace to
>
> https://github.com/ops4j/org.ops4j.pax.wicket/blob/master/service/src/main/java/org/ops4j/pax/wicket/util/serialization/PaxWicketObjectOutputStream.java#L58
>
> Im wondering if this implemementation are wrong?
>
> I can see that Wicket are using the LinkedMap here and are wondering why
> it could throw ConcurrentModificationException:
>
>
> https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java#L1172
>
>
> (thanks for helping out)
> --
> Best regards / Med venlig hilsen
> Nino Martinez
>


-- 
Best regards / Med venlig hilsen
Nino Martinez


Re: WicketModal customization

2019-01-07 Thread Entropy
I wasn't aware of that library, thanks!  


--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

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



Re: An open source git server written with Wicket

2019-01-07 Thread Francois Meillet
https://twitter.c
https://twitter.com/apache_wicket/status/1052796668012310528 


om/apache_wicket/status/1052796668012310528z
18 Oct 2018



François



> Le 7 janv. 2019 à 13:29, Andrea Del Bene  a écrit :
> 
> Very nice and interesting! Congrats to all develop team! I will explore
> your project deeper as soon as possible.
> 
> On Mon, Jan 7, 2019, 12:25 AM Robin Shen  
>> Dear wicket user,
>> 
>> 
>> I'd like to introduce an open source project - OneDev. It is a self-hosted
>> git server with unique features. The technology stack used is Wicket +
>> JQuery. Welcome any contributions.
>> 
>> 
>> Learn more at https://onedev.io
>> 
>> 
>> Regards
>> 
>> Robin
>> 



Re: An open source git server written with Wicket

2019-01-07 Thread Andrea Del Bene
Very nice and interesting! Congrats to all develop team! I will explore
your project deeper as soon as possible.

On Mon, Jan 7, 2019, 12:25 AM Robin Shen  Dear wicket user,
>
>
> I'd like to introduce an open source project - OneDev. It is a self-hosted
> git server with unique features. The technology stack used is Wicket +
> JQuery. Welcome any contributions.
>
>
> Learn more at https://onedev.io
>
>
> Regards
>
> Robin
>


Re: An open source git server written with Wicket

2019-01-07 Thread Martijn Dashorst
Looks really great! Good initiative.

Martijn

On Mon, Jan 7, 2019 at 12:25 AM Robin Shen  wrote:
>
> Dear wicket user,
>
>
> I'd like to introduce an open source project - OneDev. It is a self-hosted 
> git server with unique features. The technology stack used is Wicket + 
> JQuery. Welcome any contributions.
>
>
> Learn more at https://onedev.io
>
>
> Regards
>
> Robin



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com

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



Re: An open source git server written with Wicket

2019-01-07 Thread Robin Shen
We did not do that as it contains private branches not ready to public yet.


Regards

Robin


From: Sebastien Briquet 
Sent: Monday, January 7, 2019 7:31:30 PM
To: users@wicket.apache.org
Subject: Re: An open source git server written with Wicket

Very nice work, congrats !!

You should add onedev.io repo to the demo though :)
>

Good point, haha! :)


Re: An open source git server written with Wicket

2019-01-07 Thread Sebastien Briquet
Very nice work, congrats !!

You should add onedev.io repo to the demo though :)
>

Good point, haha! :)


Re: FileUploadField in a form in a modalWindow

2019-01-07 Thread Martin Grigorov
https://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpServletResponse.html
in an interface that is implemented by Glassfish, Tomcat, Jetty, and such.
If it is not Wicket that calls its #sendError() method then it is something
else. By putting a breakpoint at Glassfish
HttpServletResponseImpl#sendError() methods you can see from the stacktrace
who and why calls it. This will help you resolve your issue.

On Mon, Jan 7, 2019 at 12:28 PM JavaTraveler  wrote:

> I tried the first part and no when I click the button, none of those is
> called.
>
> But I don't undestand what you mean by debugging glassfish's
> ServletHttpResponse implementation.
> Could you be more specific ?
>
> --
> Sent from:
> http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: FileUploadField in a form in a modalWindow

2019-01-07 Thread JavaTraveler
I tried the first part and no when I click the button, none of those is
called.

But I don't undestand what you mean by debugging glassfish's
ServletHttpResponse implementation.
Could you be more specific ?

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

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



Wicket 8.1 + PAX Wicket 5 ConcurrentModificationException

2019-01-07 Thread nino martinez wael
Hi everyone, im one of the maintainers of pax wicket, and since we have
upgraded to wicket 8.1 I am regularly getting this, the project I am
getting this on are not using apache commons LinkedMap:

2019-01-07T09:58:04,024 | ERROR |
org.ops4j.pax.wicket.util.serialization.PaxWicketObjectOutputStream |
Wicket-AsyncPageStore-PageSavingThread | PaxWicketObjectOutputStream  |
166 - org.ops4j.pax.wicket.service - 5.0.0 | error writing object [Page
class = dk.netdesign.wallboard.frontend.pages.ViewerPage, id = 0, render
count = 2848]: null
java.util.ConcurrentModificationException: null
at java.util.ArrayList.writeObject(Unknown Source) ~[?:?]
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source) ~[?:?]
at java.io.ObjectOutputStream.writeSerialData(Unknown Source) ~[?:?]
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) ~[?:?]
at java.io.ObjectOutputStream.writeObject0(Unknown Source) ~[?:?]
at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) ~[?:?]
at java.io.ObjectOutputStream.writeSerialData(Unknown Source) ~[?:?]
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) ~[?:?]
at java.io.ObjectOutputStream.writeObject0(Unknown Source) ~[?:?]
at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source) ~[?:?]
at java.io.ObjectOutputStream.writeSerialData(Unknown Source) ~[?:?]
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source) ~[?:?]
at java.io.ObjectOutputStream.writeObject0(Unknown Source) ~[?:?]
at java.io.ObjectOutputStream.writeObject(Unknown Source) ~[?:?]
at
org.apache.commons.collections4.map.AbstractHashedMap.doWriteObject(AbstractHashedMap.java:1234)
~[?:?]
at
org.apache.commons.collections4.map.LinkedMap.writeObject(LinkedMap.java:124)
~[?:?]
at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source) ~[?:?]

which points me to a little down the stack trace to
https://github.com/ops4j/org.ops4j.pax.wicket/blob/master/service/src/main/java/org/ops4j/pax/wicket/util/serialization/PaxWicketObjectOutputStream.java#L58

Im wondering if this implemementation are wrong?

I can see that Wicket are using the LinkedMap here and are wondering why it
could throw ConcurrentModificationException:

https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/MarkupContainer.java#L1172


(thanks for helping out)
-- 
Best regards / Med venlig hilsen
Nino Martinez