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 96794 - java.lang.NullPointerException when doing a diff
Summary: java.lang.NullPointerException when doing a diff
Status: RESOLVED DUPLICATE of bug 85316
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 5.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 15:58 UTC by jenarros
Modified: 2007-02-28 16:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jenarros 2007-02-28 15:58:52 UTC
When the look and feel:

com.sun.java.swing.plaf.gtk.GTKLookAndFeel

specified to netbeans with the arguments:

--laf  com.sun.java.swing.plaf.gtk.GTKLookAndFeel

I can not realize a diff operation with the subversion plugin, I obtain the
following exception:

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)

I hope this helps, thanks a lot for all the great work you are doing.

Eduardo Narros
Comment 1 Peter Pis 2007-02-28 16:08:39 UTC

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