Clover 1.0 RC1
Hello,
I have a problem with Clover 1.0 RC1 running on Idea 4.5.2
When I compile my program I get the stack trace shown below, then no code coverage data is recorded when I run.
I tried to specify the database file name manually, but it never gets created.
It seems that there are problems creating some file needed by clover.
Thank you in advance for your help,
ERROR - lication.impl.LaterInvocatorEx -
ERROR - lication.impl.LaterInvocatorEx - IntelliJ IDEA 4.5.2 Build #2244
ERROR - lication.impl.LaterInvocatorEx - JDK: 1.4.2_03
ERROR - lication.impl.LaterInvocatorEx - VM: Java HotSpot(TM) Client VM
ERROR - lication.impl.LaterInvocatorEx - Vendor: Sun Microsystems Inc.
ERROR - lication.impl.LaterInvocatorEx - OS: SunOS
ERROR - lication.impl.LaterInvocatorEx - Last Action: Compile
ERROR - lication.impl.LaterInvocatorEx -
java.lang.IllegalArgumentException: Prefix string too short
at java.io.File.createTempFile(File.java:1392)
at java.io.File.createTempFile(File.java:1439)
at com.intellij.openapi.util.io.FileUtil.createTempDirectory(FileUtil.java:167)
at com.intellij.compiler.f.a.b.b(b.java:13)
at com.intellij.compiler.f.a.b.a(b.java:254)
at com.intellij.compiler.f.a.b.access$700(b.java:288)
at com.intellij.compiler.f.a.b$10.run(b$10.java:2)
at com.intellij.openapi.d.a.c.runWriteAction(c.java:292)
at com.intellij.compiler.f.a.b$9.run(b$9.java:2)
at com.intellij.openapi.d.a.d$0.run(d$0.java:2)
at com.intellij.openapi.d.a.d$b_.run(d$b_.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.t.b(t.java:21)
at com.intellij.ide.t.a(t.java:107)
at com.intellij.ide.t.dispatchEvent(t.java:12)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at com.intellij.openapi.g.a.a$d_.show(a$d_.java:0)
at com.intellij.openapi.g.a.a.show(a.java:117)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:711)
at com.intellij.compiler.a.b$2.run(b$2.java:6)
at com.intellij.openapi.d.a.d$b_.run(d$b_.java:2)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at com.intellij.ide.t.b(t.java:21)
at com.intellij.ide.t.a(t.java:107)
at com.intellij.ide.t.dispatchEvent(t.java:12)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Please sign in to leave a comment.
Hello,
I posted the same question to the cenqua forums
http://www.cenqua.com/forums/thread.jspa?messageID=7798Ṷ
and got the following response:
Hi Mamado,
Can I ask how many characters are in the name of your IDEA project?
There is an known issue within IDEA that is triggered by the Clover integration. This issue relates to the size of the project name. If its less then 3 characters, then you see the exception that you are seeing.
The only known 'workaround' for this issue is increasing the length of your project name. Let me know how you go.
Cheers,
-Daniel
http://www.cenqua.com
Which exactly was my problem, when I created a new project with name more than 3 chars every thing works fine.
I hope this helps someone.
Best Regards,
Mamado
Just as a followup, here are the full details for anyone interested.
http://www.intellij.net/forums/thread.jsp?forum=13&thread=105902
Cheers,
-Daniel
http://www.cenqua.com