Quantcast

Sonar Visual Basic analyzer hanging

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Sonar Visual Basic analyzer hanging

Vineet Bhatia
Hi,

I setup the Visual Basic analyzer as per documentation.
When I run the analyzer for 3 .bas files its hanging. What should I do?
Output of c:\sonar-runner-1.4\bin\sonar-runner.bat -X

09:12:52.163 INFO  .s.b.b.ProjectModule - -------------  Analyzing Dialogue <ProjectName>
09:12:52.382 INFO                    vb - vb plugin licensed to XXXX
09:12:52.444 INFO  .s.b.ProfileProvider - Selected quality profile : [name=Sonar Visual Basic 6 Way,language=vb]
09:12:52.491 INFO  nPluginsConfigurator - Configure maven plugins...
09:12:52.538 INFO        org.sonar.INFO - Compare to previous analysis
09:12:52.569 INFO        org.sonar.INFO - Compare over 5 days (2012-08-04)
09:12:52.569 INFO        org.sonar.INFO - Compare over 30 days (2012-07-10)
09:12:52.788 DEBUG .b.p.SensorsExecutor - Initializers : ProjectFileSystemLogger
09:12:52.788 INFO  .b.p.SensorsExecutor - Initializer ProjectFileSystemLogger...
09:12:52.788 INFO  jectFileSystemLogger - Source directories:
09:12:52.788 INFO  jectFileSystemLogger -   C:\somefolder\src
09:12:52.788 INFO  .b.p.SensorsExecutor - Initializer ProjectFileSystemLogger done: 0 ms
09:12:52.804 DEBUG p.PhasesTimeProfiler - Sensors : com.sonar.vb.plugin.D@5789f3 -> CpdSensor -> ProfileSensor -> ProfileEventsSensor -> VersionEventsSensor -> com.sonar.vb.plugin.C@f5e814
09:12:52.804 INFO  p.PhasesTimeProfiler - Sensor com.sonar.vb.plugin.D@5789f3...
09:12:53.148 INFO  p.PhasesTimeProfiler - Sensor com.sonar.vb.plugin.D@5789f3 done: 344 ms
09:12:53.148 INFO  p.PhasesTimeProfiler - Sensor CpdSensor...
09:12:53.148 INFO        org.sonar.INFO - SonarBridgeEngine is used
09:12:53.148 INFO  s.p.c.i.IndexFactory - Cross-project analysis disabled
09:12:53.148 DEBUG .c.SonarBridgeEngine - Populating index from C:\somefolder\src\filename1.bas
09:12:53.163 DEBUG .c.ChannelDispatcher - None of the channel has been able to handle character ',' (decimal value 44) at line 3, column 53
....
09:12:53.273 DEBUG .c.ChannelDispatcher - None of the channel has been able to handle character ',' (decimal value 44) at line 3100, column 99
09:12:53.304 DEBUG .c.SonarBridgeEngine - Populating index from C:\ACT_RWS\src\file2.bas
09:12:53.304 DEBUG .c.ChannelDispatcher - None of the channel has been able to handle character ',' (decimal value 44) at line 3, column 53
....
09:12:53.382 DEBUG .c.ChannelDispatcher - None of the channel has been able to handle character '>' (decimal value 62) at line 2178, column 77
09:12:53.382 DEBUG .c.SonarBridgeEngine - Detection of duplications for C:\somefolder\src\file1.bas
09:12:53.507 DEBUG .b.i.MemoryOptimizer - Remove data measure from memory: duplications_data, id=112351
09:12:53.507 DEBUG .c.SonarBridgeEngine - Detection of duplications for C:\somefolder\src\file2.bas
09:12:53.523 DEBUG .b.i.MemoryOptimizer - Remove data measure from memory: duplications_data, id=112352
09:12:53.523 DEBUG .c.SonarBridgeEngine - Detection of duplications for C:\somefolder\src\file3.bas
09:12:53.616 DEBUG .b.i.MemoryOptimizer - Remove data measure from memory: duplications_data, id=112353
09:12:53.616 INFO  p.PhasesTimeProfiler - Sensor CpdSensor done: 468 ms
09:12:53.616 INFO  p.PhasesTimeProfiler - Sensor ProfileSensor...
09:12:53.663 INFO  p.PhasesTimeProfiler - Sensor ProfileSensor done: 47 ms
09:12:53.663 INFO  p.PhasesTimeProfiler - Sensor ProfileEventsSensor...
09:12:53.694 INFO  p.PhasesTimeProfiler - Sensor ProfileEventsSensor done: 31 ms
09:12:53.694 INFO  p.PhasesTimeProfiler - Sensor VersionEventsSensor...
09:12:53.710 INFO  p.PhasesTimeProfiler - Sensor VersionEventsSensor done: 16 ms
09:12:53.710 INFO  p.PhasesTimeProfiler - Sensor com.sonar.vb.plugin.C@f5e814...
09:12:53.741 INFO   c.sonar.vb.plugin.C - Obeo analyzer...
09:12:53.741 INFO      com.sonar.vb.B.B - Prepare Obeo analyzer...
09:12:55.819 INFO      com.sonar.vb.B.B - Prepare Obeo analyzer done: 2078 ms
09:12:55.819 INFO  .u.c.CommandExecutor - Executing command: java -Xmx512m -jar C:\Documents and Settings\userId\Local Settings\Temp\sonar-vb2418482228045999574.jar -l TmFtZTogSGFub3ZlciBJbnN1cmFuY2UK
RXhwaXJhdGlvbjogMjAxMi0wOC0yNApLZXk6IDI3YzgwNmI2MmJhY2QwNTAxODQ1ZDIwMmI5Y2QyZDM2ZTA5NDY2OTk= C:\somefolder\src -mr C:\somefolder\.sonar\vb\obeo-metrics.xml -rr C:\somefolder\.sonar\vb\obeo-violations.xml -rs C
:\somefolder\.sonar\vb\config.ruleset

Thanks,
Vineet Bhatia
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Sonar Visual Basic analyzer hanging

David Racodon-2
Hi Vineet,

Could you switch to the commercial mailing-list?
Please provide also:
  • version of Sonar
  • version of Sonar VB6 plugin
  • a complete project sample to reproduce the issue
Thank you

Regards,

David RACODON | SonarSource
Senior Consultant



On 9 August 2012 15:25, Vineet Bhatia <[hidden email]> wrote:
Hi,

I setup the Visual Basic analyzer as per documentation.
When I run the analyzer for 3 .bas files its hanging. What should I do?
Output of c:\sonar-runner-1.4\bin\sonar-runner.bat -X

09:12:52.163 INFO  .s.b.b.ProjectModule - -------------  Analyzing Dialogue <ProjectName>
09:12:52.382 INFO                    vb - vb plugin licensed to XXXX
09:12:52.444 INFO  .s.b.ProfileProvider - Selected quality profile : [name=Sonar Visual Basic 6 Way,language=vb]
09:12:52.491 INFO  nPluginsConfigurator - Configure maven plugins...
09:12:52.538 INFO        org.sonar.INFO - Compare to previous analysis
09:12:52.569 INFO        org.sonar.INFO - Compare over 5 days (2012-08-04)
09:12:52.569 INFO        org.sonar.INFO - Compare over 30 days (2012-07-10)
09:12:52.788 DEBUG .b.p.SensorsExecutor - Initializers : ProjectFileSystemLogger
09:12:52.788 INFO  .b.p.SensorsExecutor - Initializer ProjectFileSystemLogger...
09:12:52.788 INFO  jectFileSystemLogger - Source directories:
09:12:52.788 INFO  jectFileSystemLogger -   C:\somefolder\src
09:12:52.788 INFO  .b.p.SensorsExecutor - Initializer ProjectFileSystemLogger done: 0 ms
09:12:52.804 DEBUG p.PhasesTimeProfiler - Sensors : com.sonar.vb.plugin.D@5789f3 -> CpdSensor -> ProfileSensor -> ProfileEventsSensor -> VersionEventsSensor -> com.sonar.vb.plugin.C@f5e814
09:12:52.804 INFO  p.PhasesTimeProfiler - Sensor com.sonar.vb.plugin.D@5789f3...
09:12:53.148 INFO  p.PhasesTimeProfiler - Sensor com.sonar.vb.plugin.D@5789f3 done: 344 ms
09:12:53.148 INFO  p.PhasesTimeProfiler - Sensor CpdSensor...
09:12:53.148 INFO        org.sonar.INFO - SonarBridgeEngine is used
09:12:53.148 INFO  s.p.c.i.IndexFactory - Cross-project analysis disabled
09:12:53.148 DEBUG .c.SonarBridgeEngine - Populating index from C:\somefolder\src\filename1.bas
09:12:53.163 DEBUG .c.ChannelDispatcher - None of the channel has been able to handle character ',' (decimal value 44) at line 3, column 53
....
09:12:53.273 DEBUG .c.ChannelDispatcher - None of the channel has been able to handle character ',' (decimal value 44) at line 3100, column 99
09:12:53.304 DEBUG .c.SonarBridgeEngine - Populating index from C:\ACT_RWS\src\file2.bas
09:12:53.304 DEBUG .c.ChannelDispatcher - None of the channel has been able to handle character ',' (decimal value 44) at line 3, column 53
....
09:12:53.382 DEBUG .c.ChannelDispatcher - None of the channel has been able to handle character '>' (decimal value 62) at line 2178, column 77
09:12:53.382 DEBUG .c.SonarBridgeEngine - Detection of duplications for C:\somefolder\src\file1.bas
09:12:53.507 DEBUG .b.i.MemoryOptimizer - Remove data measure from memory: duplications_data, id=112351
09:12:53.507 DEBUG .c.SonarBridgeEngine - Detection of duplications for C:\somefolder\src\file2.bas
09:12:53.523 DEBUG .b.i.MemoryOptimizer - Remove data measure from memory: duplications_data, id=112352
09:12:53.523 DEBUG .c.SonarBridgeEngine - Detection of duplications for C:\somefolder\src\file3.bas
09:12:53.616 DEBUG .b.i.MemoryOptimizer - Remove data measure from memory: duplications_data, id=112353
09:12:53.616 INFO  p.PhasesTimeProfiler - Sensor CpdSensor done: 468 ms
09:12:53.616 INFO  p.PhasesTimeProfiler - Sensor ProfileSensor...
09:12:53.663 INFO  p.PhasesTimeProfiler - Sensor ProfileSensor done: 47 ms
09:12:53.663 INFO  p.PhasesTimeProfiler - Sensor ProfileEventsSensor...
09:12:53.694 INFO  p.PhasesTimeProfiler - Sensor ProfileEventsSensor done: 31 ms
09:12:53.694 INFO  p.PhasesTimeProfiler - Sensor VersionEventsSensor...
09:12:53.710 INFO  p.PhasesTimeProfiler - Sensor VersionEventsSensor done: 16 ms
09:12:53.710 INFO  p.PhasesTimeProfiler - Sensor com.sonar.vb.plugin.C@f5e814...
09:12:53.741 INFO   c.sonar.vb.plugin.C - Obeo analyzer...
09:12:53.741 INFO      com.sonar.vb.B.B - Prepare Obeo analyzer...
09:12:55.819 INFO      com.sonar.vb.B.B - Prepare Obeo analyzer done: 2078 ms
09:12:55.819 INFO  .u.c.CommandExecutor - Executing command: java -Xmx512m -jar C:\Documents and Settings\userId\Local Settings\Temp\sonar-vb2418482228045999574.jar -l TmFtZTogSGFub3ZlciBJbnN1cmFuY2UK
RXhwaXJhdGlvbjogMjAxMi0wOC0yNApLZXk6IDI3YzgwNmI2MmJhY2QwNTAxODQ1ZDIwMmI5Y2QyZDM2ZTA5NDY2OTk= C:\somefolder\src -mr C:\somefolder\.sonar\vb\obeo-metrics.xml -rr C:\somefolder\.sonar\vb\obeo-violations.xml -rs C
:\somefolder\.sonar\vb\config.ruleset

Thanks,
Vineet Bhatia
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Loading...