When I do the local analysis in sonar eclipse plugin, I'm getting the following output in the console
Registered 104 metrics
Registered repository findbugs/java with 384 rules
Registered repository checkstyle/java with 122 rules
Registered repository pmd/java with 224 rules
Registered repository squid/java with 12 rules
and then an error
An internal error occurred during: "Sonar Analysis". org.sonar.wsclient.connectors.ConnectionException: Can not read response
Can anyone help me out with this?
Edit:I tried in both modes "Run as normal user" and "Run as administrator". One more thing is it is working in Windows7 and not in Vista. Is it OS problem?
Edit:Getting this stack trace in the sonar console
jvm 1 | 2012-03-27 04:30:49.146:INFO::org.mortbay.io.nio.SelectorManager$Sele
ctSet@a0199a JVM BUG(s) - recreating selector 1 times, canceled keys 0 times
jvm 1 | 2012-03-27 04:31:14.306:WARN:/:Error: Couldn't handle error: response
committed
jvm 1 | org.jruby.exceptions.RaiseException: Native Exception: 'class org.mor
tbay.jetty.EofException'; Message: timeout; StackTrace: org.mortbay.jetty.EofExc
eption: timeout<|?at org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(A
bstractGenerator.java:547)<|?at org.mortbay.jetty.AbstractGenerator$Output.flush
(AbstractGenerator.java:571)<|?at org.mortbay.jetty.HttpConnection$Output.flush(
HttpConnection.java:1010)<|?at org.mortbay.jetty.AbstractGenerator$Output.write(
AbstractGenerator.java:650)<|?at org.mortbay.jetty.AbstractGenerator$Output.writ
e(AbstractGenerator.java:590)<|?at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)<|?at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<
|?at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<|?at java.l
ang.reflect.Method.invoke(Unknown Source)<|?at org.jruby.javasupport.JavaMethod.
invokeDirectWithExceptionHandling(JavaMethod.java:525)<|
jvm 1 | at org.mortbay.jetty.AbstractGenerator$Output.blockForOutput(Abs
tractGenerator.java:547)
jvm 1 | at org.mortbay.jetty.AbstractGenerator$Output.flush(AbstractGene
rator.java:571)
jvm 1 | at org.mortbay.jetty.HttpConnection$Output.flush(HttpConnection.
java:1010)
jvm 1 | at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGene
rator.java:650)
jvm 1 | at org.mortbay.jetty.AbstractGenerator$Output.write(AbstractGene
rator.java:590)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc
e)
jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHan
dling(JavaMethod.java:525)
Edit: Tried by changing database from derby to mysql but of no use. But Java Runner is working okay. Why the eclipse plug-in is failing?