Re: NPE on session invalidation

2018-05-17 Thread Rakesh A
Hi, Sorry for a delayed reply, didn't had chance to work on it till today. Martin Grigorov-4 wrote > You didn't answer my question (or I didn't understand your answer). > Why do you need to use "isSessionInvalidated()" in your cleanup method ? > Is the cleanup method called in some other cases ?

Re: NPE on session invalidation

2018-04-03 Thread Emond Papegaaij
I think it should be enough to change the javadoc. The method returns true when the session was invalidated *during the current request*. Without a request there is no way of telling whether the session is invalidated or not. IMHO throwing an exception is fine, but this behavior should be

Re: NPE on session invalidation

2018-04-03 Thread Martin Grigorov
On Tue, Apr 3, 2018 at 4:17 PM, Rakesh A wrote: > Actually, we've bit more complex scenario I should say; we've multiple > webapps running on tomcat with SSO valve configured; which means logout on > one application kills the session on other applications and we've

Re: NPE on session invalidation

2018-04-03 Thread Rakesh A
Actually, we've bit more complex scenario I should say; we've multiple webapps running on tomcat with SSO valve configured; which means logout on one application kills the session on other applications and we've session implementation class with logout & session invalidation handling. In both

Re: NPE on session invalidation

2018-04-03 Thread Martin Grigorov
Hi, On Tue, Apr 3, 2018 at 3:24 PM, Rakesh A wrote: > I see the ticket https://issues.apache.org/jira/browse/WICKET-6547 closed > as > 'resolved' with resolution 'not a problem'. Instead of reopening it I > wanted > to discuss the usecase here and decide on

Re: NPE on session invalidation

2018-04-03 Thread Rakesh A
I see the ticket https://issues.apache.org/jira/browse/WICKET-6547 closed as 'resolved' with resolution 'not a problem'. Instead of reopening it I wanted to discuss the usecase here and decide on re-opening. Is is allowed to call 'Session.isSessionInvalidated()' from 'WebSession.onInvalidate()' ?

Re: NPE on session invalidation

2018-03-30 Thread Rakesh A
Did a quick test and logged an issue https://issues.apache.org/jira/browse/WICKET-6547 -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail:

NPE on session invalidation

2018-03-30 Thread Rakesh A
in 'org.apache.wicket.protocol.http.WebSession.invalidate()' will result a NPE Regards, Rakesh.A -- 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

Re: NPE in org.apache.wicket.request.http.handler.RedirectRequestHandler.respond

2017-07-27 Thread Wayne W
Thanks Martin, I've put logging everywhere but still can't track it down. Its just this jetty instance causing not, not sure why. I'm going to side step the issue and upgrade to 7.8.10 as I need that replication fix live asap. Many thanks On Wed, Jul 26, 2017 at 11:51 AM, Martin Grigorov

Re: NPE in org.apache.wicket.request.http.handler.RedirectRequestHandler.respond

2017-07-26 Thread Martin Grigorov
I've added a check for 7.x and 8.x - https://git1-us-west.apache.org/repos/asf?p=wicket.git;a=commitdiff;h=5f3fc484;hp=3ec2c617f1e27f06df985032e233ca4799097b26 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jul 26, 2017 at 1:48 PM, Martin Grigorov

Re: NPE in org.apache.wicket.request.http.handler.RedirectRequestHandler.respond

2017-07-26 Thread Martin Grigorov
https://github.com/apache/wicket/blob/wicket-6.17.0/wicket-request/src/main/java/org/apache/wicket/request/http/handler/RedirectRequestHandler.java#L99 says that getRedirectUrl() returns null. So something calls RedirectRequestHandler's constructor with null url. Wicket doesn't instantiate this

Re: NPE in org.apache.wicket.request.http.handler.RedirectRequestHandler.respond

2017-07-26 Thread Wayne W
Still on 6.17.0 Martin. Not had the time/resources to move to 6.18 which I want because of that replication fix!! On Tue, Jul 25, 2017 at 7:55 PM, Martin Grigorov wrote: > Which version of Wicket do you use ? > > Martin Grigorov > Wicket Training and Consulting >

Re: After removing history from browser, refresh an unmounted stateful page trigger a NPE in PageProvider

2017-07-25 Thread Francois Meillet
m/mtgrigorov >>> >>> On Tue, Jul 25, 2017 at 4:12 PM, Francois Meillet < >>> francois.meil...@gmail.com> wrote: >>> >>>> Hi Devs, >>>> >&g

Re: After removing history from browser, refresh an unmounted stateful page trigger a NPE in PageProvider

2017-07-25 Thread Martin Grigorov
aining and Consulting > > https://twitter.com/mtgrigorov > > > > On Tue, Jul 25, 2017 at 4:12 PM, Francois Meillet < > > francois.meil...@gmail.com> wrote: > > > >> Hi Devs, > >> > >> If I perform a refresh on an unmounted stateful page

Re: After removing history from browser, refresh an unmounted stateful page trigger a NPE in PageProvider

2017-07-25 Thread Francois Meillet
t Training and Consulting > https://twitter.com/mtgrigorov > > On Tue, Jul 25, 2017 at 4:12 PM, Francois Meillet < > francois.meil...@gmail.com> wrote: > >> Hi Devs, >> >> If I perform a refresh on an unmounted stateful page after having cleaned >> the browser h

Re: After removing history from browser, refresh an unmounted stateful page trigger a NPE in PageProvider

2017-07-25 Thread Martin Grigorov
rform a refresh on an unmounted stateful page after having cleaned > the browser history, I get a NPE in PageProvider. > > This not happens on a mounted page. > > Wicket 8.0.0-SNAPSHOT > > Here the quickstart > > François > > > > > > --

Re: NPE in org.apache.wicket.request.http.handler.RedirectRequestHandler.respond

2017-07-25 Thread Martin Grigorov
Which version of Wicket do you use ? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Jul 25, 2017 at 5:52 PM, Wayne W wrote: > Hi, > > I've got a strange issue I cannot get to the bottom of. Basically we have > our app deployed

NPE in org.apache.wicket.request.http.handler.RedirectRequestHandler.respond

2017-07-25 Thread Wayne W
Hi, I've got a strange issue I cannot get to the bottom of. Basically we have our app deployed on jetty 9.2.1 with apache 2.4 in front. If I make calls to stateless pages its all good. However as soon as I try to make a call to a stateful page it does a 302 to the login page for our app, but then

Re: NPE in constructor of AbstractWebSocketProcessor

2017-02-01 Thread Maxim Solodovnik
>> wrote: > >> > >> > Hi Maxim, > >> > > >> > I've fixed a nasty bug related to session management few days ago. > >> > In case you use 8.0.0-M3 I'd suggest to try with 8.0.0-SNAPSHOT! > >> > > >> > On Feb 2, 201

Re: NPE in constructor of AbstractWebSocketProcessor

2017-02-01 Thread Martin Grigorov
ys ago. >> > In case you use 8.0.0-M3 I'd suggest to try with 8.0.0-SNAPSHOT! >> > >> > On Feb 2, 2017 6:32 AM, "Maxim Solodovnik" <solomax...@gmail.com> >> wrote: >> > >> > > Hello Martin, >> > > >> > >

Re: NPE in constructor of AbstractWebSocketProcessor

2017-02-01 Thread Martin Grigorov
32 AM, "Maxim Solodovnik" <solomax...@gmail.com> wrote: > > > > > Hello Martin, > > > > > > I have updated our application to wicket-8 and NPE is not reproducible > > > anymore > > > Now I have even more weird situation: on every second page relo

Re: NPE in constructor of AbstractWebSocketProcessor

2017-02-01 Thread Maxim Solodovnik
t; In case you use 8.0.0-M3 I'd suggest to try with 8.0.0-SNAPSHOT! > > On Feb 2, 2017 6:32 AM, "Maxim Solodovnik" <solomax...@gmail.com> wrote: > > > Hello Martin, > > > > I have updated our application to wicket-8 and NPE is not reproducible > > any

Re: NPE in constructor of AbstractWebSocketProcessor

2017-02-01 Thread Martin Grigorov
Hi Maxim, I've fixed a nasty bug related to session management few days ago. In case you use 8.0.0-M3 I'd suggest to try with 8.0.0-SNAPSHOT! On Feb 2, 2017 6:32 AM, "Maxim Solodovnik" <solomax...@gmail.com> wrote: > Hello Martin, > > I have updated our applic

Re: NPE in constructor of AbstractWebSocketProcessor

2017-02-01 Thread Maxim Solodovnik
Hello Martin, I have updated our application to wicket-8 and NPE is not reproducible anymore Now I have even more weird situation: on every second page reload I'm not getting WebSocketBehavior::onConnect messages (Chrome error console empty) I suspect this might be caused by my code :( The logic

Re: NPE in constructor of AbstractWebSocketProcessor

2017-01-31 Thread Martin Grigorov
.@gmail.com> >> >> wrote: >> >> >> >>> Forgot versions: >> >>> >> >>> Tomcat 8.5.9 >> >>> Wicket 7.6.0 >> >>> Chrome latest >> >>> Ubuntu 16.10 latest >> >>> >> >>> >&

Re: NPE in constructor of AbstractWebSocketProcessor

2017-01-31 Thread Martin Grigorov
test > >>> > >>> > >>> On Tue, Jan 31, 2017 at 12:06 AM, Maxim Solodovnik < > solomax...@gmail.com> > >>> wrote: > >>> > Hello All, > >>> > > >>> > I'm observing weird behavior: > >>&

Re: NPE in constructor of AbstractWebSocketProcessor

2017-01-31 Thread Maxim Solodovnik
>>> Chrome latest >>> Ubuntu 16.10 latest >>> >>> >>> On Tue, Jan 31, 2017 at 12:06 AM, Maxim Solodovnik <solomax...@gmail.com> >>> wrote: >>> > Hello All, >>> > >>> > I'm observing weird behavior: >>&g

Re: NPE in constructor of AbstractWebSocketProcessor

2017-01-31 Thread Maxim Solodovnik
gt;> >> On Tue, Jan 31, 2017 at 12:06 AM, Maxim Solodovnik <solomax...@gmail.com> >> wrote: >> > Hello All, >> > >> > I'm observing weird behavior: >> > I'm displaying wicket page in iframe >> > For some unknown reason I'm getting NPE

Re: NPE in constructor of AbstractWebSocketProcessor

2017-01-30 Thread Martin Grigorov
> Ubuntu 16.10 latest > > > On Tue, Jan 31, 2017 at 12:06 AM, Maxim Solodovnik <solomax...@gmail.com> > wrote: > > Hello All, > > > > I'm observing weird behavior: > > I'm displaying wicket page in iframe > > For some unknown reason I'm getting NPE in [1] if

Re: NPE in constructor of AbstractWebSocketProcessor

2017-01-30 Thread Maxim Solodovnik
Forgot versions: Tomcat 8.5.9 Wicket 7.6.0 Chrome latest Ubuntu 16.10 latest On Tue, Jan 31, 2017 at 12:06 AM, Maxim Solodovnik <solomax...@gmail.com> wrote: > Hello All, > > I'm observing weird behavior: > I'm displaying wicket page in iframe > For some unknown reason

NPE in constructor of AbstractWebSocketProcessor

2017-01-30 Thread Maxim Solodovnik
Hello All, I'm observing weird behavior: I'm displaying wicket page in iframe For some unknown reason I'm getting NPE in [1] if page is being reloaded both F5 and Shift+F5 Every second time I got NPE The method is being called from [2], every second time (HttpSession) userProperties.get("se

Re: NPE in AbstractSingleSelectChoice

2014-05-27 Thread Martin Grigorov
Improved to not fail with NPE with https://issues.apache.org/jira/browse/WICKET-5601 I think Wicket should warn you somehow when the returned idValue is null though. Because now it sets null as a model object and the client choice is being lost. @Sven, @Igor: what do you think ? Martin Grigorov

NPE in AbstractSingleSelectChoice

2014-05-25 Thread Lucio Crusca
I'm pretty sure it's my fault, but I can't spot it. I'm trying to use a DropDownChoice with custom renderer and a PropertyModel, without a Form. I get a NullPointerException in AbstractSingleSelectChoice, here is the quickstart: http://www.sulweb.org/download/sparsi/quickstart.zip

Re: NPE in AbstractSingleSelectChoice

2014-05-25 Thread Marco Springer
Haven't run the code but my guess is that the idValue returns a null instead of 0. Take a look at AbstractSingleSelectChoice.convertChoiceIdToChoice(String) line 281. (Wicket 6.15.0) if(renderer.getIdValue(choice, index).equals(id) This would trigger a NPE if a null is returned, which would

Re: NPE in AbstractSingleSelectChoice

2014-05-25 Thread Francois Meillet
When the DropDownChoice try to convert the submitted choice id back to the choice object there is an iteration over the choices. You get the NPE in this iteration because nullItem has no id. Have a look to AbstractSingleSelectChoice's setNullValid(true) method to include a null value. http

Re: Tests based on WicketTester: NPE in ConcatBundleResource.readAllResources

2013-09-09 Thread Martin Dietze
On Sat, September 07, 2013, Martin Grigorov wrote: Is there a chance that you create a bundle without any resource(reference) ? Not quite sure I understand this correctly, In YourApplication#init() you something like: getResourceBundles().addXyzBundle(Class, String,

Re: Tests based on WicketTester: NPE in ConcatBundleResource.readAllResources

2013-09-07 Thread Martin Grigorov
On Fri, Sep 6, 2013 at 8:11 PM, Martin Dietze d...@fh-wedel.de wrote: On Fri, September 06, 2013, Martin Grigorov wrote: Is there a chance that you create a bundle without any resource(reference) ? Not quite sure I understand this correctly, In YourApplication#init() you something like:

Tests based on WicketTester: NPE in ConcatBundleResource.readAllResources

2013-09-06 Thread Martin Dietze
the test code crashes with an NPE. Again, the test is real simple, it consists of rendering a page and checking for exceptions etc., this is the code: |public void setUp() { |this.tester = new TestNGWicketTester( new MyApplication() ); |} |public void testRender

Re: Tests based on WicketTester: NPE in ConcatBundleResource.readAllResources

2013-09-06 Thread Martin Grigorov
seems to be related to the fact that in our application all CSS and Javascript includes are handled by a ConcatBundeResource. At least that's the one where the test code crashes with an NPE. Again, the test is real simple, it consists of rendering a page and checking for exceptions etc

Re: Tests based on WicketTester: NPE in ConcatBundleResource.readAllResources

2013-09-06 Thread Martin Dietze
On Fri, September 06, 2013, Martin Grigorov wrote: Is there a chance that you create a bundle without any resource(reference) ? Not quite sure I understand this correctly, I tried avoiding the use of the ConcatBundleResource altogether by overriding the method that creates it in my Application

Re: Atmosphere NPE

2013-05-03 Thread Martin Grigorov
Hi, Please create a quickstart and attach it to a ticket in Jira. Thanks! On Fri, May 3, 2013 at 7:36 AM, Noven noven_...@yahoo.com wrote: Hi all, I have issue with atmosphere, below is the log: 2013-05-01 19:11:32.880602500 INFO - AtmosphereBehavior - Resuming the streaming

Atmosphere NPE

2013-05-02 Thread Noven
Hi all, I have issue with atmosphere, below is the log: 2013-05-01 19:11:32.880602500 INFO  - AtmosphereBehavior        - Resuming the streaming response from ip 127.0.0.101:41704 2013-05-01 19:11:32.880714500 INFO  - AtmosphereBehavior        - streaming connection dropped from ip

Re: Wicket 6.0.0-beta1: RangeValidator Issue (NPE)

2012-05-10 Thread Thomas Götz
I can confirm this, see this quickstart: http://decoded.de/wicket-quickstart.zip The NPE only occurs if there is a FeedbackPanel on the page. If you take it out - no exception. Besides, there is no WARN log if you are missing a FeedbackPanel and there are messages to be rendered, bug or feature

Re: Wicket 6.0.0-beta1: RangeValidator Issue (NPE)

2012-05-10 Thread Martin Grigorov
Guys, Please use Jira for bug reports. On Thu, May 10, 2012 at 9:28 AM, Thomas Götz t...@decoded.de wrote: I can confirm this, see this quickstart: http://decoded.de/wicket-quickstart.zip The NPE only occurs if there is a FeedbackPanel on the page. If you take it out - no exception

Re: Wicket 6.0.0-beta1: RangeValidator Issue (NPE)

2012-05-10 Thread Sebastien
this, see this quickstart: http://decoded.de/wicket-quickstart.zip The NPE only occurs if there is a FeedbackPanel on the page. If you take it out - no exception. Besides, there is no WARN log if you are missing a FeedbackPanel and there are messages to be rendered, bug or feature?! Cheers

Re: Wicket 6.0.0-beta1: RangeValidator Issue (NPE)

2012-05-10 Thread Thomas Götz
-quickstart.zip The NPE only occurs if there is a FeedbackPanel on the page. If you take it out - no exception. Besides, there is no WARN log if you are missing a FeedbackPanel and there are messages to be rendered, bug or feature?! Cheers, -Tom On 09.05.2012 at 22:49 Sebastien wrote

Re: Wicket 6.0.0-beta1: RangeValidator Issue (NPE)

2012-05-10 Thread Thomas Götz
Lol, first! Mine has WICKET-4548 ;) -Tom On 10.05.2012 at 09:50 Sebastien wrote: Hi Martin, Here we are: https://issues.apache.org/jira/browse/WICKET-4549 Sebastien. - To unsubscribe, e-mail:

Debugging a NPE from a ModelPropertyResolver

2011-11-17 Thread Jablow, Eric R
I am trying to use Igor's wicket-validation-bean project, and I've managed to make a mistake where I'm getting a NullPointerException from when ValidationForm attempts to add property validators. Unfortunately, I can't tell what property it's trying to attach validators for here, as the

Re: Debugging a NPE from a ModelPropertyResolver

2011-11-17 Thread Igor Vaynberg
it seems like there is a buggy implementation of IPropertyReflectionAwareModel somewhere. did you implement your own model that implements that interface? seems like there is a model somewhere that is a IPropertyReflectionAwareModel but it returns null for all getSetter/Getter/Field() methods...

RE: Debugging a NPE from a ModelPropertyResolver

2011-11-17 Thread Jablow, Eric R
a NPE from a ModelPropertyResolver it seems like there is a buggy implementation of IPropertyReflectionAwareModel somewhere. did you implement your own model that implements that interface? seems like there is a model somewhere that is a IPropertyReflectionAwareModel but it returns null for all

Re: Debugging a NPE from a ModelPropertyResolver

2011-11-17 Thread Igor Vaynberg
test class uses CompoundPropertyModel. From: Igor Vaynberg [igor.vaynb...@gmail.com] Sent: Thursday, November 17, 2011 7:24 PM To: users@wicket.apache.org Subject: Re: Debugging a NPE from a ModelPropertyResolver it seems like there is a buggy

[MIGRATE 1.5] NPE trying to use JavaScriptTemplate

2011-04-22 Thread Alexandros Karypidis
Hi, I've just started preparing for 1.5 and have been modifying my code in order to conform with the new API. I've managed to get my application to compile and launch, but in my first attempt to render a page I get an NPE as follows: java.lang.NullPointerException

Re: [MIGRATE 1.5] NPE trying to use JavaScriptTemplate

2011-04-22 Thread Pedro Santos
. I've managed to get my application to compile and launch, but in my first attempt to render a page I get an NPE as follows: java.lang.NullPointerException at org.apache.wicket.util.template.TextTemplateDecorator.setLastModified(TextTemplateDecorator.java:195

Simple Download from StringResourceStream cause NPE wicket 1.5M3 (possible bug??)

2010-11-23 Thread jcgarciam
Hi Folks, Probably im doing it wrong, but please bear with me, currently i'm trying to do a very simple download operation in wicket 1.5M3, but it fails with a NPE in (ResourceStreamResource.java line 72), because it seems is always expecting that any IResourceStream implementation set

Re: Simple Download from StringResourceStream cause NPE wicket 1.5M3 (possible bug??)

2010-11-23 Thread Martin Grigorov
, currently i'm trying to do a very simple download operation in wicket 1.5M3, but it fails with a NPE in (ResourceStreamResource.java line 72), because it seems is always expecting that any IResourceStream implementation set the lastModifiedTime in the underlying stream before calling

Re: Simple Download from StringResourceStream cause NPE wicket 1.5M3 (possible bug??)

2010-11-23 Thread Martin Grigorov
jcgarc...@gmail.com wrote: Hi Folks, Probably im doing it wrong, but please bear with me, currently i'm trying to do a very simple download operation in wicket 1.5M3, but it fails with a NPE in (ResourceStreamResource.java line 72), because it seems is always expecting that any

Re: Simple Download from StringResourceStream cause NPE wicket 1.5M3 (possible bug??)

2010-11-23 Thread jcgarciam
, but please bear with me, currently i'm trying to do a very simple download operation in wicket 1.5M3, but it fails with a NPE in (ResourceStreamResource.java line 72), because it seems is always expecting that any IResourceStream implementation set the lastModifiedTime in the underlying

Re: Simple Download from StringResourceStream cause NPE wicket 1.5M3 (possible bug??)

2010-11-23 Thread Martin Grigorov
, Probably im doing it wrong, but please bear with me, currently i'm trying to do a very simple download operation in wicket 1.5M3, but it fails with a NPE in (ResourceStreamResource.java line 72), because it seems is always expecting that any IResourceStream implementation

Re: Simple Download from StringResourceStream cause NPE wicket 1.5M3 (possible bug??)

2010-11-23 Thread jcgarciam
[hidden email] http://user/SendEmail.jtp?type=nodenode=3056080i=1 wrote: Hi Folks, Probably im doing it wrong, but please bear with me, currently i'm trying to do a very simple download operation in wicket 1.5M3, but it fails with a NPE

[wicketstuff-push] NPE when CometdService.initBayeux()

2010-07-21 Thread smallufo
Hi , I am trying Wicketstuff-push with a small chat program , but encounter this problem : org.apache.wicket.WicketRuntimeException: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = sayForm]] threw an

Re: Guice LazyInitProxyFactory : NPE when calling, first, public fields

2010-03-08 Thread Uwe Schäfer
Uwe Schäfer schrieb: To me this does not feel like necessarily the right behaviour. I do not see a tremendous advantage in this resolving being done lazily. for the record: we could change to doing it non-lazy, but it does not solve this particular issue, as the value of public field is

Guice LazyInitProxyFactory : NPE when calling, first, public fields

2010-02-17 Thread Joseph Pachod
waits for the first method call to do the actual injection. So, currently, when calling directly some members on guice injected bean in wicket, I get a NPE. I fear I've missed something obvious, but I don't find an easy way out... Any suggestion ? thanks in advance -- Joseph Pachod

Re: Why I'm getting NPE?

2009-04-30 Thread Johan Compagner
What is the stacktrace when group is null? On 29/04/2009, HHB hubaghd...@yahoo.ca wrote: Hey, I'm trying to employ DataTable in our application. * public class SortableContactDataProvider extends SortableDataProvider { @SpringBean private Service

Why I'm getting NPE?

2009-04-29 Thread HHB
Hey, I'm trying to employ DataTable in our application. * public class SortableContactDataProvider extends SortableDataProvider { @SpringBean private Service service; private Group group; public SortableContactDataProvider(Group group) { if

Re: Why I'm getting NPE?

2009-04-29 Thread HHB
Actually, thats what I'm doing (you can check my code). The NPE is regarding the Group object instance, not Spring bean. Willis Blackburn wrote: Hi, The @SpringBean annotation is only resolved by Component and its subclasses. (Actually it's resolved by SpringComponentInjector

Re: Why I'm getting NPE?

2009-04-29 Thread Willis Blackburn
Hi, The @SpringBean annotation is only resolved by Component and its subclasses. (Actually it's resolved by SpringComponentInjector--but that only works with components.) You can call InjectorHolder.getInjector().inject(whatever) to resolve @SpringBean annotations in the whatever

Re: Why I'm getting NPE?

2009-04-29 Thread nino martinez wael
Hmm I have something similar, though not getting npe (from 1.3 project) : /** * * */ public class SortableSearchDataProvider extends SortableDataProvider { private SearchParameters searchParameters; /** * constructor */ public

Re: Why I'm getting NPE?

2009-04-29 Thread nino martinez wael
Short answer, group is set but the list are null? 2009/4/29 nino martinez wael nino.martinez.w...@gmail.com: Hmm I have something similar, though not getting npe (from 1.3 project) : /**  *  *  */ public class SortableSearchDataProvider extends SortableDataProvider {        private

NPE : Exception in rendering component

2009-04-02 Thread HHB
Hey, I created this panel: html head wicket:head wicket:link /wicket:link /wicket:head /head body wicket:panel div id=accordion h3a href=#First header/a/h3 divFirst content/div h3 a href=#Second header/a /h3

Re: NPE : Exception in rendering component

2009-04-02 Thread HHB
- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://www.nabble.com/NPE-%3A-Exception-in-rendering-component

NPE thrown from CheckBoxMultipleChoice when submitting a form.

2009-02-25 Thread Ned Collyer
After update to rc2 - I am getting an NPE on a CheckBoxMultipleChoice when submitting a form. The NPE is thrown from the same area that the following Jira addresses. https://issues.apache.org/jira/browse/WICKET-1270 This patch does not appear in 1.4-rc2. The stack I'm getting is Caused

Re: NPE thrown from CheckBoxMultipleChoice when submitting a form.

2009-02-25 Thread Timo Rantalaiho
On Wed, 25 Feb 2009, Ned Collyer wrote: After update to rc2 - I am getting an NPE on a CheckBoxMultipleChoice when submitting a form. The NPE is thrown from the same area that the following Jira addresses. https://issues.apache.org/jira/browse/WICKET-1270 This patch does not appear

Re: NPE when wicket:link embedding input type=image src...

2008-12-12 Thread Jeremy Thomerson
@wicket.apache.org Subject: NPE when wicket:link embedding input type=image src... hi at all.. works: wicket:link lt;img src=resources/prev.png /wicket:link doesn't work: wicket:link input type=image src=resources/prev.png / /wicket:link ErrorLog: WicketMessage

Re: NPE when wicket:link embedding input type=image src...

2008-12-12 Thread James Carman
Message- From: danielt [mailto:daniel.te...@web.de] Sent: Thursday, December 11, 2008 11:34 AM To: users@wicket.apache.org Subject: NPE when wicket:link embedding input type=image src... hi at all.. works: wicket:link lt;img src=resources/prev.png /wicket:link

Re: NPE when wicket:link embedding input type=image src...

2008-12-12 Thread Jeremy Thomerson
@wicket.apache.org Subject: NPE when wicket:link embedding input type=image src... hi at all.. works: wicket:link lt;img src=resources/prev.png /wicket:link doesn't work: wicket:link input type=image src=resources/prev.png / /wicket:link ErrorLog

RE: NPE when wicket:link embedding input type=image src...

2008-12-11 Thread Bruno Cesar Borges
Subject: NPE when wicket:link embedding input type=image src... hi at all.. works: wicket:link lt;img src=resources/prev.png /wicket:link doesn't work: wicket:link input type=image src=resources/prev.png / /wicket:link ErrorLog: WicketMessage: Exception in rendering component

RE: NPE when wicket:link embedding input type=image src...

2008-12-11 Thread danielt
? :-) -Original Message- From: danielt [mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2008 11:34 AM To: users@wicket.apache.org Subject: NPE when wicket:link embedding input type=image src... hi at all.. works: wicket:link lt;img src=resources/prev.png /wicket:link doesn't

NPE when redeploying

2008-12-10 Thread Adriano dos Santos Fernandes
Hi! With Eclipse+Tomcat, that problems happens often when redeploying an application. Is it something that can be fixed? I'm using 1.4-rc1. Adriano WicketMessage: Exception in rendering component: [MarkupContainer [Component id = _header_0]] Root cause: java.lang.NullPointerException at

NPE

2008-08-07 Thread Uwe Schäfer
Hi the current (1.4-m3) impl of ComponentStringResourceLoader.loadStringResource(Class,String,Locale,String) throws an NPE, that i am not sure of. I´d suggest: public String loadStringResource(Class clazz, final String key, final Locale locale, final String style

Re: NPE

2008-08-07 Thread Igor Vaynberg
whats the stacktrace for the npe? -igor 2008/8/7 Uwe Schäfer [EMAIL PROTECTED]: Hi the current (1.4-m3) impl of ComponentStringResourceLoader.loadStringResource(Class,String,Locale,String) throws an NPE, that i am not sure of. I´d suggest: public String loadStringResource(Class clazz

Re: NPE

2008-08-07 Thread Uwe Schäfer
Igor Vaynberg schrieb: whats the stacktrace for the npe? java.lang.NullPointerException at org.apache.wicket.resource.loader.ComponentStringResourceLoader.loadStringResource(ComponentStringResourceLoader.java:129) so // Move to the next superclass clazz = clazz.getSuperclass

Re: NPE

2008-08-07 Thread Igor Vaynberg
i patched it in 1.3.x and trunk -igor On Thu, Aug 7, 2008 at 10:30 AM, Uwe Schäfer [EMAIL PROTECTED] wrote: Igor Vaynberg schrieb: whats the stacktrace for the npe? java.lang.NullPointerException at org.apache.wicket.resource.loader.ComponentStringResourceLoader.loadStringResource

Re: NPE

2008-08-07 Thread Uwe Schäfer
Igor Vaynberg schrieb: i patched it in 1.3.x and trunk thanks, igor! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: IntelliJ WicketForge issue: NPE when trying to use New Wicket Page to create both Java and markup

2008-03-13 Thread Kurt R. Hoehn
source files, and choose New/New Wicket Page 3. Check Create associated markup file 4. Click OK 5. NPE error What is the expected output? What do you see instead? The Java file is created. The HTML file is not. What version of the product are you using? On what operating system

Re: IntelliJ WicketForge issue: NPE when trying to use New Wicket Page to create both Java and markup

2008-03-13 Thread Kevin Murphy
Kurt R. Hoehn wrote: That can happen if the html directory is different then the source directory and the html directory has not been created yet. I'm a Wicket and IDEA newbie working with the Wicket QuickStart structure. I don't even know how to make the HTML and component directories

IntelliJ WicketForge issue: NPE when trying to use New Wicket Page to create both Java and markup

2008-03-11 Thread Kevin Murphy
Wicket Page 3. Check Create associated markup file 4. Click OK 5. NPE error What is the expected output? What do you see instead? The Java file is created. The HTML file is not. What version of the product are you using? On what operating system? WicketForge 0.3.1 with IntelliJ IDEA 7.0.3

Re: IntelliJ WicketForge issue: NPE when trying to use New Wicket Page to create both Java and markup

2008-03-11 Thread Nick Heudecker
to Project View Popup Menu via Customizations 2. Right-click on a folder containing Wicket source files, and choose New/New Wicket Page 3. Check Create associated markup file 4. Click OK 5. NPE error What is the expected output? What do you see instead? The Java file is created. The HTML

NPE in FormTester.submit

2007-11-26 Thread Jason Anderson
Am i doing something wrong here? i couldn't find much docs on testing besides the javadoc and a page on the wiki... tester = new WicketTester(new MyApplication()); public void testLogin() throws Exception { tester.startPage(HomePage.class);

Re: NPE in FormTester.submit

2007-11-26 Thread Timo Rantalaiho
On Mon, 26 Nov 2007, Jason Anderson wrote: tester.startPage(HomePage.class); I'm not sure if it changes anything here, but we've typically done tester.startPage(new ITestPageSource()... instead. from a quick peek thru the code it looks like the request cycle is detaching the

Re: NPE in FormTester.submit

2007-11-26 Thread Jason Anderson
the form is not ajax, its pretty much a standard form with just login and password fields and an onsubmit callback to send the page back to the originally requested url or homepage much like you would find in the login page included with the wicket-auth-roles classes i'm not sure that storing the

Re: NPE in FormTester.submit

2007-11-26 Thread Timo Rantalaiho
On Mon, 26 Nov 2007, Jason Anderson wrote: and the code for MockHttpServletResponse: public void sendRedirect(String location) throws IOException { // If the location starts with ../ if (location.startsWith(../)) {

Re: NPE in FormTester.submit

2007-11-26 Thread Jason Anderson
i made a quickstart and attached it to the following issue https://issues.apache.org/jira/browse/WICKET-1187 thanks for the help On Nov 26, 2007 8:57 PM, Timo Rantalaiho [EMAIL PROTECTED] wrote: On Mon, 26 Nov 2007, Jason Anderson wrote: and the code for MockHttpServletResponse: