Comments (5)
Just FYI, trying to run line 139 of FileStats.java in a debugger, with the above mentioned path pattern, would have this exception:
>Exception occurred in target VM: URI has a fragment component java.lang.IllegalArgumentException: URI has a fragment component
at java.io.File.<init>(File.java:399)
at org.stringtemplate.v4.misc.ObjectModelAdaptor.throwNoSuchProperty(ObjectModelAdaptor.java:112)
at org.stringtemplate.v4.misc.ObjectModelAdaptor.getProperty(ObjectModelAdaptor.java:68)
at org.stringtemplate.v4.Interpreter.getObjectProperty(Interpreter.java:1115)
at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:208)
at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:143)
at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:691)
at org.stringtemplate.v4.Interpreter.writeIterator(Interpreter.java:721)
at org.stringtemplate.v4.Interpreter.writeObject(Interpreter.java:696)
at org.stringtemplate.v4.Interpreter.writeObjectWithOptions(Interpreter.java:653)
at org.stringtemplate.v4.Interpreter._exec(Interpreter.java:290)
at org.stringtemplate.v4.Interpreter.exec(Interpreter.java:143)
at org.stringtemplate.v4.ST.write(ST.java:388)
at org.stringtemplate.v4.ST.write(ST.java:421)
at org.stringtemplate.v4.ST.write(ST.java:392)
at com.github.timurstrekalov.saga.core.CoverageGenerator.writeRunStats(CoverageGenerator.java:321)
at com.github.timurstrekalov.saga.core.CoverageGenerator.run(CoverageGenerator.java:179)
at com.github.timurstrekalov.saga.maven.SagaMojo.execute(SagaMojo.java:85)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
<
from saga.
In case someone also encounters this, I am using this work-around in the configuration:
<noInstrumentPatterns>
<pattern>.+\(eval\)</pattern>
</noInstrumentPatterns>
from saga.
Thanks for the report and the workaround, will be fixed in the next release
from saga.
@timurstrekalov You are welcome, and thanks for the great work on Saga :)
from saga.
Should be fixed as of 1.1.1
from saga.
Related Issues (20)
- Add total coverage stats to CSV report HOT 1
- lcov and cobertura reports sources paths HOT 5
- Non instrumented sources still affect execution time. HOT 7
- Can not run by PhantomJS
- Jasmine Angularjs Services code coverage don't work HOT 1
- No instrumentation inside iframes
- GenericInstrumentingBrowser doesn't stop proxy
- WARN com.github.timurstrekalov.saga.core.TestRunCoverageStatisticsCallable - Error running test ... null HOT 2
- Saga is looking for a new maintainer HOT 5
- xml output format
- Generating 1% coverage although unit tests runs normally HOT 1
- If -DskipJasmineTests flag is specified, then code coverage is not skipped HOT 1
- TypeError during run
- Using a jasmine custom runner and jasmine-maven-plugin? HOT 1
- running saga without using maven HOT 2
- could not execute reports for jasmine - backbone application
- Fails with newer versions of htmlunit HOT 2
- Not generating coverage for all files
- saga does not generate correct report for jasmine test cases
- How to define webDriverCapabilities ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from saga.