radar-netbeans - plugin detail

Radar is a plugin for java projects to navigate SonarQube issues right from Netbeans IDE.

NetBeans Plugin - radar-netbeans
Plugin owner: hmvictor
Website: https://github.com/hmvictor/radar-netbeans
Added: 2013-11-05
License: Apache License, Version 2.0
Category: Programming Languages
Downloaded: 9,963 times
Rating:
 4.41, by 5 users

Plugin Log Show log

Versions available

Download plugin   Download size: 11.47 MB   Last Update: 2017-06-22

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Version 3.0.1
  • Supports SonarQube 6.4.
  • Remote issues can be organized by type (Bug, Vulnerability, Code Smell)
  • Supports sonar properties if they are present in the pom file for maven projects or sonar.properties for other types.
  • Uses Java 8


Verifications for NetBeans versions

8.2 verification PASSED See verification details
Download plugin   Download size: 8.53 MB   Last Update: 2016-05-04

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

  • Support for SonarQube 5.4.
  • Add editor annotations for issues.
  • Autocomplete in project chooser for remote SonarQube connection.


Verifications for NetBeans versions

8.1 verification PASSED See verification details
Download plugin   Download size: 6.03 MB   Last Update: 2015-09-26

What's new in this version

Changes in 2.4:

Fixes in configuration when invoking sonar-runner.



Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 2.21 MB   Last Update: 2014-04-23

What's new in this version

Version 1.1 has support for action plans. Minor fixes.

Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: 2.20 MB   Last Update: 2013-11-05

What's new in this version



Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

Features:

  • Displays the number of issues by severity.
  • Displays each issue individually so you can navigate to the proper file location.
  • Filter of issues by action plan.
  • Shows information about a specific rule.
  • Support for local analysis with sonar runner.

How to use

Select the main project. If is a multi module project, select the main parent.

  • Version 2.6: Right click in your project, SonarQube item and choose Get Issues From Server or Get Issues with Sonar Runner.
  • Version 2.5 or less: Right click in your project, or from Source menu, and choose Get Issues From Server or Get Issues with Sonar Runner.

[ You have to be logged in to be able to comment. ]

User Comments

  

List of projects incomplete

The list of projects from our remote server is incomplete anyone seen this before?
Posted by rob-cost on Jul 05, 2017
  

SonarQube 6.4

I have uploaded a fix to support SonarQube 6.4. Verification is still pending but meanwhile can be downloaded from this page.
Posted by hmvictor on Jun 22, 2017
  

Does not seem to work with SonarQube 6.4

Using https with a reverse proxy I get always a "javax.ws.rs.NotFoundException: HTTP 404 Not Found". It is a private project, with a browser it is accessible providing the appropriate credentials.

Pattern: https://myserver.com:9443/sonarqube/
With or without trailing slash makes no difference.
Posted by jiai on Jun 15, 2017
  

Re: Not Working with sonarqube 6.3

There's work in progress to support the current version of SonarQube.

Meanwhile you can try from the repo.

https://github.com/hmvictor/radar-netbeans/tree/Radar-3.0
Posted by hmvictor on May 12, 2017
  

Not Working with sonarqube 6.3

The plugin is not working with sonarqube 6.3

java.lang.IllegalArgumentException: No enum constant qubexplorer.runner.SonarRunnerProccess.AnalysisMode.ISSUES
at java.lang.Enum.valueOf(Enum.java:238)
at qubexplorer.runner.SonarRunnerProccess$AnalysisMode.valueOf(SonarRunnerProccess.java:37)
at qubexplorer.ui.summary.SonarRunnerTask.execute(SonarRunnerTask.java:97)
at qubexplorer.ui.summary.SonarRunnerTask.execute(SonarRunnerTask.java:37)
at qubexplorer.ui.task.TaskExecutor$TaskWorker.doInBackground(TaskExecutor.java:71)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[catch] at java.lang.Thread.run(Thread.java:745)
Posted by oers on Apr 20, 2017
  

Allow analysis to run against a single file

It would be great if it were possible to run the analysis against a single file. Is this something that is currently being worked on? That way when refactoring a class for any reason the sonar items could all be cleared out too.
Posted by idclaar on Mar 13, 2017
  

Thanks!

Thank you hmvictor, it's so great to see Sonar issues directly in the IDE!!
Posted by Pesso on Jan 05, 2017
  

https still not working.

Unfortunately the plugin is not working for me because of the https url that we have. Here are more details: https://github.com/hmvictor/radar-netbeans/issues/35
Posted by ChrisLE on May 11, 2016
  

Plugin now in the Netbeans Plugin Update Center

Hi, neuman.ben. Version 2.6 is now listed in the Update Center for installation from within IDE.

Thank you for your feedback.
Posted by hmvictor on May 06, 2016
  

Plugin not listed in NetBean IDE

Minor issue. The plugin is not listed in available plugins in the NetBeans IDE 8.1 (Tools>Plugins). Would be convenient to have it there and would give your plugin more exposure.

Thanks for providing this!
Posted by neuman.ben on May 04, 2016
  

Does the download work?

It is failing to download.
Posted by ibeaumont on Nov 11, 2015
  

Sonar radar

I have found a couple of issues that I see. First when you run a local analysis you only get the first src file in the list. Not the entire src list. Second when you use the remote servers list. The pathing seems to be a little screwy. So if i have a /path/to/my/trunk/project/ direct/me/to/file/my.java that has an error. I try to navigate to this file, I then get this path: /path/to/my/trunk/project/trunk/project/direct/me/to/file/my.java
Posted by btodd_22 on Oct 06, 2015
  

Re: using the sonar-project.properties

Currently there is no way to load external properties from radar plugin. I'm considering adding this feature in a near release.
Posted by hmvictor on Sep 18, 2015
  

using the sonar-project.properties

I am trying to customize the sonar-runner a little bit using the sonar-project.property file. But I don't seem to know where to put this file. I tried putting it inside my the main project file, but that doesn't seem to do me any good. Is there any place I can put this file that the sonar runner will automatically pick it up?
Posted by btodd_22 on Sep 17, 2015
  

Exception occured

java.lang.ClassCastException: org.jdesktop.swingx.treetable.DefaultTreeTableModel cannot be cast to qubexplorer.ui.SummaryModel
at qubexplorer.ui.SonarIssuesTopComponent$6.itemStateChanged(SonarIssuesTopComponent.java:204)
at javax.swing.AbstractButton.fireItemStateChanged(AbstractButton.java:2046)
at javax.swing.AbstractButton$Handler.itemStateChanged(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireItemStateChanged(DefaultButtonModel.java:455)
at javax.swing.JToggleButton$ToggleButtonModel.setSelected(JToggleButton.java:272)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:289)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Posted by hexin on Mar 09, 2015
  

Re: Click on issue does not work

It seems like a bug. Could you fill an issue in https://code.google.com/p/radar-netbeans/ and attach your project o an example to reproduce the problem?

Please indicate the sonar qube version that you're using.

Thank you so much for you feedback.
Posted by hmvictor on Jan 14, 2015
  

Click on issue does not work

Hello,

First I would like to say thanks for this plugin. It is really useful to have Sonar issues in Netbeans. No need to deal with multiple windows anymore. The plugin is really simple to use.

But I encountered an problem. When I right-click "Go to source" on an issue in the list, nothing happens. Even if I double-click on it.

I did not filled a bug report, because I don't know if it is a misuse or not.

Thanks.

Julien BENOIT.
Posted by jbenoit2011 on Jan 13, 2015
  

Re: gradle port?

I'm abstracting away the mvn dependency so the analysis can be made in a non-mvn javaproject.

https://code.google.com/p/radar-netbeans/issues/detail?id=32
Posted by hmvictor on Jan 07, 2015
  

gradle port?

Is there any chance this could be used in gradle projects currently or in the near future? We have a bit of a mishmash or project types where I'm at currently, and the decision to move to gradle has been put in place, and I'd like to keep using NB if possible, but without being able to use sonarqube I might have to switch to Eclipse for a while. Thanks!
Posted by idclaar on Dec 12, 2014
  

NullPointerException at qubexplorer.ui.IssueLocation.getProjectOwner

https://netbeans.org/bugzilla/show_bug.cgi?id=249047
Posted by elennaro on Dec 01, 2014
  

Update Center

Please upload to Update Center, otherwise I wouldn't get updates automatically
Posted by tomzi on Oct 24, 2014
  

Re: Upload Issues Reported by Sonar Local Runner

Ok, it's clear, thanks for your answer hmvictor.

Regards.
Posted by john.osorio on Sep 17, 2014
  

Re: Upload Issues Reported by Sonar Local Runner

Sorry, john.osorio. For uploading, you have to do it directly with Sonar Sunner. I use the sonar maven plugin for sending results to the server.
Posted by hmvictor on Sep 16, 2014
  

Upload Issues Reported by Sonar Local Runner

Can I with this component upload the results obtained by Sonar Local Runner to Sonar Server?

Thanks,
Posted by john.osorio on Sep 16, 2014
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo