java - Unable to run Code Coverage since update 14.1.1 in IntelliJ -


since update intellij 14.1.1, unable run code coverage.

i can run test without problem, code coverage button gives me error :

fatal error in native method: processing of -javaagent failed java.lang.reflect.invocationtargetexception     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:483)     @ sun.instrument.instrumentationimpl.loadclassandstartagent(instrumentationimpl.java:386)     @ sun.instrument.instrumentationimpl.loadclassandcallpremain(instrumentationimpl.java:401) caused by: java.lang.reflect.invocationtargetexception     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:483)     @ com.intellij.rt.coverage.main.coveragepremain.premain(coveragepremain.java:66)     ... 6 more caused by: java.io.ioexception: le chemin d’accès spécifié est introuvable     @ java.io.winntfilesystem.createfileexclusively(native method)     @ java.io.file.createnewfile(file.java:1012)     @ com.intellij.rt.coverage.data.projectdata.createprojectdata(projectdata.java:92)     @ com.intellij.rt.coverage.instrumentation.instrumentator.premain(instrumentator.java:75)     ... 11 more exception in thread "main"  process finished exit code 1 

i thought @ first did wrong when updating , reinstalled it, it's still not working.

https://youtrack.jetbrains.com/issue/ideabkl-5941#comment=27-421957 can help

workaround: add line

-djava.io.tmpdir=c:\temp

to idea.exe.vmoptions file (in c:\program files\ideaiu-11.1.4\bin) , make sure c:\temp exists.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -