This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 88226 - GTK and the Subversion - Diffs do not appear
Summary: GTK and the Subversion - Diffs do not appear
Status: RESOLVED DUPLICATE of bug 85316
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords: GTK
Depends on:
Blocks: 72440
  Show dependency tree
 
Reported: 2006-10-30 12:40 UTC by Josef Holy
Modified: 2006-11-05 09:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Weird behavior - when using the Subverion on the GTK, diff just doesn't appear at all. (14.55 KB, image/png)
2006-10-30 12:43 UTC, Josef Holy
Details
Not using the GTK - Desired state - diff normally appears as it should. (28.85 KB, image/png)
2006-10-30 12:44 UTC, Josef Holy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Holy 2006-10-30 12:40:51 UTC
Problem with GTK and the Subversion support (reported by David Coldrick on the
netbeans-feedback mailing list):
Diffs simply do not appear. If I choose Diff all changes, I get the
drop-down for the different source files that have changed, but nothing
is displayed after I choose one: See attached pngs. If I click on the little
stop button in the lower right of the Gtk example, I get a NPE. See below

java.lang.NullPointerException
    at
org.netbeans.modules.subversion.ui.diff.MultiDiffView.addPropertyChangeListener(MultiDiffView.java:277)
    at
javax.swing.plaf.synth.SynthPanelUI.installListeners(SynthPanelUI.java:49)
    at javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:38)
    at javax.swing.JComponent.setUI(JComponent.java:668)
    at javax.swing.JPanel.setUI(JPanel.java:136)
    at javax.swing.JPanel.updateUI(JPanel.java:109)
    at javax.swing.JPanel.<init>(JPanel.java:69)
    at javax.swing.JPanel.<init>(JPanel.java:92)
    at javax.swing.JPanel.<init>(JPanel.java:100)
    at
org.netbeans.modules.subversion.ui.diff.MultiDiffView.<init>(MultiDiffView.java:95)
    at
org.netbeans.modules.subversion.ui.diff.DiffMainPanel$DiffPrepareTask.run(DiffMainPanel.java:660)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Josef Holy 2006-10-30 12:43:25 UTC
Created attachment 35627 [details]
Weird behavior - when using the Subverion on the GTK, diff just doesn't appear at all.
Comment 2 Josef Holy 2006-10-30 12:44:12 UTC
Created attachment 35628 [details]
Not using the GTK - Desired state - diff normally appears as it should.
Comment 3 Josef Holy 2006-10-30 12:46:30 UTC
Additional discussion at the nb-gtk mailing list:
Marek Slama: I checked source and yes in it problem in MultiDiffView: It
receives property change event before field 'support' is created.
Either check must be added or listener must be registered AFTER 'support' field
is created. First solution is necessary here
as listener is registered by UI class. 
Comment 4 Peter Pis 2006-11-05 09:00:47 UTC

*** This issue has been marked as a duplicate of 85316 ***