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 59979 - CVS: Log, Status throw exceptions
Summary: CVS: Log, Status throw exceptions
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: REGRESSION
Depends on:
Blocks: 59972
  Show dependency tree
 
Reported: 2005-06-15 08:22 UTC by Peter Pis
Modified: 2005-09-05 10:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (2.69 KB, text/plain)
2005-06-15 08:23 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2005-06-15 08:22:31 UTC
Product Version       = NetBeans IDE Dev (Build 200506142000)
Operating System      = Windows XP version 5.1 running on x86
Java; VM; Vendor      = 1.5.0_04; Java HotSpot(TM) Client VM 1.5.0_04-b05; Sun
Microsystems Inc.
Java Home             = d:\Java\jdk1.5.0_04\jre

Steps:
1. Checkout sources (cvs pserver, built-in client).
2. Select root node of the project in "Files" view and invoke "CVS | History |
Log" popup menu action.

Exception is thrown.

The situation is even worse if "CVS | History | Log" action is invoked on
"folder" node. Netbeans should be killed. 

Steps:
1. Check out sources.
2. Swith to Versioning view, select some folder node, and invoke "CVS | History
| Log" popup menu action.
3. Expand the node for "Log" tab in "Filter" section.
Comment 1 Peter Pis 2005-06-15 08:23:02 UTC
Created attachment 22669 [details]
exception
Comment 2 Peter Pis 2005-06-15 08:54:17 UTC
The same is in case of "Status" command.
Comment 3 Martin Entlicher 2005-06-15 09:57:04 UTC
Huh, how there can be P1 DEFECT, when I did not do ANY changes!?!

I'm going to check it....
Comment 4 Martin Entlicher 2005-06-15 10:27:08 UTC
It can not find "/org/openide/resources/defaultNode.gif" any more. But that
resource still exists under openide/nodes... but it seems that the module class
loader can not find it any more.

It's a regression caused by change outside of VCS modules!
Comment 5 Martin Entlicher 2005-06-15 10:57:40 UTC
Utilities.loadImage() is used instead of this.getClass().getResource():

/cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/visualizers/AbstractTreeInfoPanel.java,v
 <--  AbstractTreeInfoPanel.java
new revision: 1.13; previous revision: 1.12
Comment 6 Peter Pis 2005-06-15 14:48:35 UTC
This is showstopper. Please fix this issue in QBE200506142000 branch too.
Comment 7 Peter Pis 2005-06-16 10:58:37 UTC
Verified in NetBeans IDE Dev (Build 200506151800).
Comment 8 Martin Entlicher 2005-06-16 11:47:09 UTC
Done. The fix is merged into QBE200506142000 branch:

/cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/visualizers/AbstractTreeInfoPanel.java,v
 <--  AbstractTreeInfoPanel.java
new revision: 1.12.4.1; previous revision: 1.12