Yep, clean install "fixed" it.

Regards,

Ernesto

On Sun, Jul 10, 2011 at 5:14 PM, Martin Grigorov <[email protected]> wrote:
> There must be something wrong at your side.
> Are you sure you cleaned the old .class-es before the build ?
> Both Args and WebXmlFileTest (WXFT) are in wicket-util but it seems
> WXFT sees old build of Args.
>
> On Sun, Jul 10, 2011 at 4:58 PM, Ernesto Reinaldo Barreiro
> <[email protected]> wrote:
>> -------------------------------------------------------------------------------
>> Test set: org.apache.wicket.util.file.WebXmlFileTest
>> -------------------------------------------------------------------------------
>> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.058
>> sec <<< FAILURE!
>> test_filter(org.apache.wicket.util.file.WebXmlFileTest)  Time elapsed:
>> 0.04 sec  <<< ERROR!
>> java.lang.NoSuchMethodError:
>> org.apache.wicket.util.lang.Args.notEmpty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
>>        at 
>> org.apache.wicket.util.xml.CustomEntityResolver$EntityKey.<init>(CustomEntityResolver.java:98)
>>        at 
>> org.apache.wicket.util.xml.CustomEntityResolver$EntityKey.<init>(CustomEntityResolver.java:91)
>>        at 
>> org.apache.wicket.util.xml.CustomEntityResolver.getPreloaded(CustomEntityResolver.java:50)
>>        at 
>> org.apache.wicket.util.file.WebXmlFile.getFilterPath(WebXmlFile.java:213)
>>        at 
>> org.apache.wicket.util.file.WebXmlFile.getUniqueFilterPath(WebXmlFile.java:130)
>>        at 
>> org.apache.wicket.util.file.WebXmlFileTest.filterOrServlet(WebXmlFileTest.java:69)
>>        at 
>> org.apache.wicket.util.file.WebXmlFileTest.test_filter(WebXmlFileTest.java:42)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at junit.framework.TestCase.runTest(TestCase.java:168)
>>        at junit.framework.TestCase.runBare(TestCase.java:134)
>>        at junit.framework.TestResult$1.protect(TestResult.java:110)
>>        at junit.framework.TestResult.runProtected(TestResult.java:128)
>>        at junit.framework.TestResult.run(TestResult.java:113)
>>        at junit.framework.TestCase.run(TestCase.java:124)
>>        at junit.framework.TestSuite.runTest(TestSuite.java:243)
>>        at junit.framework.TestSuite.run(TestSuite.java:238)
>>        at 
>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>>        at 
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>>        at 
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
>>        at 
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
>>        at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at 
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>>        at 
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>>
>> test_servlet(org.apache.wicket.util.file.WebXmlFileTest)  Time
>> elapsed: 0.003 sec  <<< ERROR!
>> java.lang.NoSuchMethodError:
>> org.apache.wicket.util.lang.Args.notEmpty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
>>        at 
>> org.apache.wicket.util.xml.CustomEntityResolver$EntityKey.<init>(CustomEntityResolver.java:98)
>>        at 
>> org.apache.wicket.util.xml.CustomEntityResolver$EntityKey.<init>(CustomEntityResolver.java:91)
>>        at 
>> org.apache.wicket.util.xml.CustomEntityResolver.getPreloaded(CustomEntityResolver.java:50)
>>        at 
>> org.apache.wicket.util.file.WebXmlFile.getFilterPath(WebXmlFile.java:213)
>>        at 
>> org.apache.wicket.util.file.WebXmlFile.getUniqueFilterPath(WebXmlFile.java:130)
>>        at 
>> org.apache.wicket.util.file.WebXmlFileTest.filterOrServlet(WebXmlFileTest.java:69)
>>        at 
>> org.apache.wicket.util.file.WebXmlFileTest.test_servlet(WebXmlFileTest.java:53)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at junit.framework.TestCase.runTest(TestCase.java:168)
>>        at junit.framework.TestCase.runBare(TestCase.java:134)
>>        at junit.framework.TestResult$1.protect(TestResult.java:110)
>>        at junit.framework.TestResult.runProtected(TestResult.java:128)
>>        at junit.framework.TestResult.run(TestResult.java:113)
>>        at junit.framework.TestCase.run(TestCase.java:124)
>>        at junit.framework.TestSuite.runTest(TestSuite.java:243)
>>        at junit.framework.TestSuite.run(TestSuite.java:238)
>>        at 
>> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
>>        at 
>> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
>>        at 
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
>>        at 
>> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
>>        at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at 
>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
>>        at 
>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
>>
>>
>>
>>
>> On Sun, Jul 10, 2011 at 4:19 PM, Martin Grigorov <[email protected]> 
>> wrote:
>>> and the stack trace ?
>>>
>>> On Sun, Jul 10, 2011 at 3:55 PM, Ernesto Reinaldo Barreiro
>>> <[email protected]> wrote:
>>>> windows, jdk 1.6.0_23-b05, locale es_ES
>>>>
>>>> Regards,
>>>>
>>>> Ernesto
>>>>
>>>> On Sun, Jul 10, 2011 at 1:53 PM, Martin Grigorov <[email protected]> 
>>>> wrote:
>>>>> Works OK for us since a long.
>>>>> More details ?
>>>>> jdk version, locale, ...
>>>>>
>>>>> On Sun, Jul 10, 2011 at 1:40 PM, Ernesto Reinaldo Barreiro
>>>>> <[email protected]> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> Trying to build trunk I get WebXMLFileTest failing on tests
>>>>>> "test_filter" and "test_serlvet".
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Ernesto
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Martin Grigorov
>>>>> jWeekend
>>>>> Training, Consulting, Development
>>>>> http://jWeekend.com
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Martin Grigorov
>>> jWeekend
>>> Training, Consulting, Development
>>> http://jWeekend.com
>>>
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>

Reply via email to