[
https://jira.codehaus.org/browse/MCHRONOS-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Connolly moved MOJO-1343 to MCHRONOS-9:
-----------------------------------------------
Complexity: (was: Intermediate)
Fix Version/s: (was: chronos-maven-plugin-1.0-SNAPSHOT)
Component/s: (was: chronos)
Key: MCHRONOS-9 (was: MOJO-1343)
Project: Mojo's Chronos Maven Plugins (was: Mojo)
> Nested httpSample elements breaks jmeter performance reporting
> --------------------------------------------------------------
>
> Key: MCHRONOS-9
> URL: https://jira.codehaus.org/browse/MCHRONOS-9
> Project: Mojo's Chronos Maven Plugins
> Issue Type: Bug
> Environment: WIndows XP
> Apache Jmeter (2.3.2 r665936)
> Reporter: william josephson
> Assignee: Arnaud Heritier
> Attachments: jmeterlog-performancetest.jtl,
> JMeterSAXFileHandler.patch, pom.xml, workloadJIRA50.jmx
>
>
> Using the chronos:report on the attached .jtl file causes an excpetion. This
> is due to httpSample elements nested within a parent httpSample element.
> [INFO] Searching repository for plugin with prefix: 'site'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Release Engineering Tools Distribution
> [INFO] task-segment: [site:site]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing chronos:report
> [INFO] [resources:resources]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources,
> i.e. build is platform dependent!
> [INFO] Copying 2 resources
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [resources:testResources]
> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
> resources,
> i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory C:\Documents and
> Settings\wjosephson\
> mvn-jmeter\src\test\resources
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [jar:jar]
> [INFO] [chronos:jmeter {execution: default}]
> [INFO] jtl file C:\Documents and
> Settings\wjosephson\mvn-jmeter\target\chronos\j
> meterlog-performancetest.jtl up-to-date, skipping...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> at
> org.codehaus.mojo.chronos.jmeter.Jtl21Sample.getSampleName(Jtl21Sampl
> e.java:61)
> at
> org.codehaus.mojo.chronos.jmeter.JMeterSAXFileHandler.endElement(JMet
> erSAXFileHandler.java:118)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
> nt(AbstractSAXParser.java:633)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
> l.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
> l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
> at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
> l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
> ML11Configuration.java:834)
> at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
> ML11Configuration.java:764)
> at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
> java:148)
> at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
> stractSAXParser.java:1242)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:311)
> at
> org.codehaus.mojo.chronos.jmeter.JMeterLogParser.parseJMeterLog(JMete
> rLogParser.java:79)
> at
> org.codehaus.mojo.chronos.jmeter.JMeterTestMojo.parseJmeterLog(JMeter
> TestMojo.java:212)
> at
> org.codehaus.mojo.chronos.jmeter.JMeterTestMojo.execute(JMeterTestMoj
> o.java:171)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:483)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:678)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:540)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecy
> cle(DefaultLifecycleExecutor.java:1168)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(Def
> aultLifecycleExecutor.java:1009)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:647)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> Goal(DefaultLifecycleExecutor.java:553)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:523)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:371)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:332)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:181)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email