Tests based on WicketTester: NPE in ConcatBundleResource.readAllResources

2013-09-06 Thread Martin Dietze
I am currently trying to repair some old tests (which I did not even write myself) based on AbstractWicketTest and WicketTester. At the moment all tests derived from AbstractWicketTest or using TestNGWicketTester fail with some exception inside Wicket. Since I am rather unfamiliar with the wicket

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

2013-09-06 Thread Martin Grigorov
Hi, Is there a chance that you create a bundle without any resource(reference) ? On Fri, Sep 6, 2013 at 3:43 PM, Martin Dietze wrote: > I am currently trying to repair some old tests (which I did not > even write myself) based on AbstractWicketTest and WicketTester. > At the moment all tests d

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: 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 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: getResour

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