Re: NPE in PropertyResolver.getGetAndSetter()

2007-06-20 Thread Igor Vaynberg
led. erm. initializer should always be called, they are non-optional as well -igor So 100% correct to move that to an internalInit. Jan. -- View this message in context: http://www.nabble.com/NPE-in-PropertyResolver.getGetAndSetter%28%29-tf3946346.html#a11212249 Sent from the Wicket - Dev m

Re: NPE in PropertyResolver.getGetAndSetter()

2007-06-20 Thread Johan Compagner
can't we call the class resolver? for this? OSGI is supposed to implement this and then the defaults are also better johan On 6/20/07, Al Maw <[EMAIL PROTECTED]> wrote: Jan Vermeulen wrote: > So my question is now: is that 'wicket.properties' file meant to be a > resource that's always withi

Re: NPE in PropertyResolver.getGetAndSetter()

2007-06-20 Thread Jan Vermeulen
View this message in context: http://www.nabble.com/NPE-in-PropertyResolver.getGetAndSetter%28%29-tf3946346.html#a11212249 Sent from the Wicket - Dev mailing list archive at Nabble.com.

Re: NPE in PropertyResolver.getGetAndSetter()

2007-06-20 Thread Al Maw
Jan Vermeulen wrote: So my question is now: is that 'wicket.properties' file meant to be a resource that's always within the Wicket 'bundle' ? If so, would it not be better to use the latter code to lookup resources, so that it works in environments with multiple classloaders ? Yes, it will alw

Re: NPE in PropertyResolver.getGetAndSetter()

2007-06-20 Thread Jan Vermeulen
; } catch (ClassNotFoundException e) { return (getClass().getClassLoader().getResource(path)); } } Jan. -- View this message in context: http://www.nabble.com/NPE-in-PropertyResolver.getGetAndSetter%28%29-tf3946346.html#a11209399 Sent from the Wicket - Dev mailing list archive at Nabble.com.

Re: NPE in PropertyResolver.getGetAndSetter()

2007-06-19 Thread Jan Vermeulen
Actually, if I get the resource file (wicket.properties) out of the wicket jar, and put it direclty in the classpath of the web application, then it is correctly loaded and processed. So it's a classloader problem with OSGI. Jan. -- View this message in context: http://www.nabble.com/N

Re: NPE in PropertyResolver.getGetAndSetter()

2007-06-19 Thread Eelco Hillenius
Someone has had any problems with loading resources in OSGI ? I have no experience with it, but I know that plenty of people are using Wicket + OSGi. Hope they are reading with us? Eelco

Re: NPE in PropertyResolver.getGetAndSetter()

2007-06-19 Thread Jan Vermeulen
le within the enumeration instance, but the hasNextElement() returns 'false'. Someone has had any problems with loading resources in OSGI ? Jan. -- View this message in context: http://www.nabble.com/NPE-in-PropertyResolver.getGetAndSetter%28%29-tf3946346.html#a11196540 Sent from the W

Re: NPE in PropertyResolver.getGetAndSetter()

2007-06-19 Thread Johan Compagner
elements, although we see that the resource file is available, and this code has not been changed lately. So what is happening here ? Jan. -- View this message in context: http://www.nabble.com/NPE-in-PropertyResolver.getGetAndSetter%28%29-tf3946346.html#a11194510 Sent from the Wicket - Dev ma

NPE in PropertyResolver.getGetAndSetter()

2007-06-19 Thread Jan Vermeulen
.. In the code above (Application.initializeComponents()), the enum does not seem to have any elements, although we see that the resource file is available, and this code has not been changed lately. So what is happening here ? Jan. -- View this message in context: http://www.na