so, what do the surefire reports tell ?

They at least show where it breakes and on what method-call.

-Matthias

On Dec 4, 2007 10:16 PM, Scott O'Bryan <[EMAIL PROTECTED]> wrote:
> Yeah, I'm running the same platform also Andrew and it's breaking for me
> as well.
>
>
> Andrew Robinson wrote:
> > I tried with a bare settings.xml and an empty .m2/repository -- same error
> >
> > I am on Xubuntu gutsy Linux, what is your platform (perhaps it is
> > environment related)?
> >
> > contents of 
> > trinidad-impl/target/surefire-reports/org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafUtilsTest.txt:
> > -------------------------------------------------------------------------------
> > Battery: 
> > org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafUtilsTest
> > -------------------------------------------------------------------------------
> > Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.028 sec
> >
> > testEscapeInQuoteJS(org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafUtilsTest)
> >  Time elapsed: 0.024 sec  <<< ERROR!
> >
> > [ stdout ] ---------------------------------------------------------------
> >
> >
> >
> > [ stderr ] ---------------------------------------------------------------
> >
> >
> >
> > [ stacktrace ] -----------------------------------------------------------
> >
> > java.lang.ExceptionInInitializerError
> >       at 
> > org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafUtils.escapeJS(XhtmlLafUtils.java:712)
> >       at 
> > org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafUtilsTest.testEscapeInQuoteJS(XhtmlLafUtilsTest.java:43)
> >       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:585)
> >       at junit.framework.TestCase.runTest(TestCase.java:154)
> >       at junit.framework.TestCase.runBare(TestCase.java:127)
> >       at junit.framework.TestResult$1.protect(TestResult.java:106)
> >       at junit.framework.TestResult.runProtected(TestResult.java:124)
> >       at junit.framework.TestResult.run(TestResult.java:109)
> >       at junit.framework.TestCase.run(TestCase.java:118)
> >       at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >       at junit.framework.TestSuite.run(TestSuite.java:203)
> >       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:585)
> >       at 
> > org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242)
> >       at 
> > org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216)
> >       at 
> > org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
> >       at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
> >       at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
> >       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:585)
> >       at 
> > org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:313)
> >       at 
> > org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:221)
> >       at 
> > org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:371)
> >       at 
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> >       at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> >       at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> >       at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
> >       at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> >       at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> >       at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> >       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> >       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> >       at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> >       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:585)
> >       at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >       at 
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > Caused by: java.lang.NullPointerException
> >       at 
> > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.LocaleInfoScriptlet.getSupportedLocaleVariant(LocaleInfoScriptlet.java:154)
> >       at 
> > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.NamedLocaleInfoScriptlet.<init>(NamedLocaleInfoScriptlet.java:62)
> >       at 
> > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.NamedLocaleInfoScriptlet.registerNamedLocales(NamedLocaleInfoScriptlet.java:47)
> >       at 
> > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.jsLibs.XhtmlScriptletFactory.registerAllScriptlets(XhtmlScriptletFactory.java:75)
> >       at 
> > org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlUtils.<clinit>(XhtmlUtils.java:531)
> >       ... 48 more
> >
> > testDoubleEscapeInQuoteJS(org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafUtilsTest)
> >  Time elapsed: 0 sec  <<< ERROR!
> >
> > [ stdout ] ---------------------------------------------------------------
> >
> >
> >
> > [ stderr ] ---------------------------------------------------------------
> >
> >
> >
> > [ stacktrace ] -----------------------------------------------------------
> >
> > java.lang.NoClassDefFoundError
> >       at 
> > org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafUtils.escapeJS(XhtmlLafUtils.java:726)
> >       at 
> > org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafUtilsTest.testDoubleEscapeInQuoteJS(XhtmlLafUtilsTest.java:54)
> >       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:585)
> >       at junit.framework.TestCase.runTest(TestCase.java:154)
> >       at junit.framework.TestCase.runBare(TestCase.java:127)
> >       at junit.framework.TestResult$1.protect(TestResult.java:106)
> >       at junit.framework.TestResult.runProtected(TestResult.java:124)
> >       at junit.framework.TestResult.run(TestResult.java:109)
> >       at junit.framework.TestCase.run(TestCase.java:118)
> >       at junit.framework.TestSuite.runTest(TestSuite.java:208)
> >       at junit.framework.TestSuite.run(TestSuite.java:203)
> >       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:585)
> >       at 
> > org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242)
> >       at 
> > org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216)
> >       at 
> > org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
> >       at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
> >       at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
> >       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:585)
> >       at 
> > org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:313)
> >       at 
> > org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:221)
> >       at 
> > org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:371)
> >       at 
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> >       at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> >       at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> >       at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
> >       at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> >       at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> >       at 
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> >       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> >       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> >       at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> >       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:585)
> >       at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >       at 
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >
> >
> >
> >
> > On Dec 4, 2007 1:06 PM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> >
> >> Oh,
> >> and this was behind the firewall.
> >>
> >> can check outside of corp-network later.
> >>
> >> -M
> >>
> >> On Dec 4, 2007 9:02 PM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>> [INFO] 
> >>> ------------------------------------------------------------------------
> >>> [INFO] Reactor Summary:
> >>> [INFO] 
> >>> ------------------------------------------------------------------------
> >>> [INFO] Apache MyFaces Trinidad ............................... SUCCESS 
> >>> [16.734s]
> >>> [INFO] Apache MyFaces Trinidad Build ......................... SUCCESS 
> >>> [15.766s]
> >>> [INFO] Apache MyFaces Trinidad API ........................... SUCCESS 
> >>> [55.578s]
> >>> [INFO] Apache MyFaces Trinidad Impl .......................... SUCCESS
> >>> [3:04.844s]
> >>> [INFO] Apache MyFaces Trinidad Blank Demo .................... SUCCESS 
> >>> [6.703s]
> >>> [INFO] Apache MyFaces Trinidad Demo .......................... SUCCESS 
> >>> [31.766s]
> >>> [INFO] Apache MyFaces Trinidad Examples ...................... SUCCESS 
> >>> [5.250s]
> >>> [INFO] 
> >>> ------------------------------------------------------------------------
> >>> [INFO] 
> >>> ------------------------------------------------------------------------
> >>> [INFO] BUILD SUCCESSFUL
> >>> [INFO] 
> >>> ------------------------------------------------------------------------
> >>> [INFO] Total time: 5 minutes 18 seconds
> >>> [INFO] Finished at: Tue Dec 04 20:01:08 UTC 2007
> >>> [INFO] Final Memory: 22M/83M
> >>> [INFO] 
> >>> ------------------------------------------------------------------------
> >>>
> >>>
> >>> On Dec 4, 2007 8:40 PM, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> >>>
> >>>> I'm trying to test the 1.2.x trunk and it is not building. I pulled
> >>>> down the latest trunk and the problem is there as well. Is someone
> >>>> working on this, or is it my environment?
> >>>>
> >>>> [surefire] Running
> >>>> org.apache.myfaces.trinidadinternal.ui.laf.base.xhtml.XhtmlLafUtilsTest
> >>>> [surefire] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.065
> >>>> sec <<<<<<<< FAILURE !!
> >>>>
> >>>> [surefire] Running
> >>>> org.apache.myfaces.trinidadinternal.renderkit.CoreRenderKitTest
> >>>> [surefire] Tests run: 775, Failures: 0, Errors: 754, Time elapsed:
> >>>> 12.426 sec <<<<<<<< FAILURE !!
> >>>>
> >>>> This is in the impl
> >>>>
> >>>> -Andrew
> >>>>
> >>>>
> >>>
> >>> --
> >>> Matthias Wessendorf
> >>>
> >>> further stuff:
> >>> blog: http://matthiaswessendorf.wordpress.com/
> >>> sessions: http://www.slideshare.net/mwessendorf
> >>> mail: matzew-at-apache-dot-org
> >>>
> >>>
> >>
> >> --
> >> Matthias Wessendorf
> >>
> >> further stuff:
> >> blog: http://matthiaswessendorf.wordpress.com/
> >> sessions: http://www.slideshare.net/mwessendorf
> >> mail: matzew-at-apache-dot-org
> >>
> >>
> >
> >
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Reply via email to