prabalpratap123 / radar-netbeans

Automatically exported from code.google.com/p/radar-netbeans
0 stars 0 forks source link

Display issue in code not working #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. "See sonar issues"
2. Navigate to any issue you want to investigate
3. Double click on the issue => does not navigate to corresponding line

What is the expected output? What do you see instead?
Current line displayed in code

What version of the product are you using? On what operating system?
Windows 8.1 64-bit (latest update) / Netbeans 8

Please provide any additional information below.

Netbeans shows an error
java.lang.IllegalArgumentException: Called DataObject.find on null
    at org.openide.loaders.DataObject.find(DataObject.java:551)
    at qubexplorer.ui.SonarIssuesTopComponent.openFile(SonarIssuesTopComponent.java:319)
    at qubexplorer.ui.SonarIssuesTopComponent.issuesTableMouseClicked(SonarIssuesTopComponent.java:272)
    at qubexplorer.ui.SonarIssuesTopComponent.access$500(SonarIssuesTopComponent.java:69)
    at qubexplorer.ui.SonarIssuesTopComponent$7.mouseClicked(SonarIssuesTopComponent.java:216)
    at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
    at java.awt.Component.processMouseEvent(Component.java:6508)
    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:4501)
    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)

Original issue reported on code.google.com by Stijn.va...@gmail.com on 28 Apr 2014 at 7:34

GoogleCodeExporter commented 8 years ago

Original comment by hmvic...@gmail.com on 29 Apr 2014 at 12:46

GoogleCodeExporter commented 8 years ago
I have found this problem when the file is already deleted.

Going to check if this is the case.

Original comment by hmvic...@gmail.com on 29 Apr 2014 at 12:47

GoogleCodeExporter commented 8 years ago
Error reproduced for the case already mentioned in #2.

Original comment by hmvic...@gmail.com on 29 Apr 2014 at 2:29

GoogleCodeExporter commented 8 years ago
A message will appear indicating that the file does not exists.

The fix is now on the repository and will be present in the next release (1.2).

Original comment by hmvic...@gmail.com on 29 Apr 2014 at 2:31

GoogleCodeExporter commented 8 years ago
Re-open. The bug appears with SonarQube 4.2

Original comment by hmvic...@gmail.com on 1 May 2014 at 4:07

GoogleCodeExporter commented 8 years ago
There's a change in the format of the issues' component-key returned by the web 
service.

Need to check web service docs to apply a fix.

Original comment by hmvic...@gmail.com on 1 May 2014 at 4:22

GoogleCodeExporter commented 8 years ago
Fix for SonarQube 4.2. Included for release 1.2

Original comment by hmvic...@gmail.com on 1 May 2014 at 6:06