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 56178 - [41cat] missing resource exception
Summary: [41cat] missing resource exception
Status: RESOLVED INVALID
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
: 56587 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-10 15:46 UTC by gholmer
Modified: 2005-03-17 10:31 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 gholmer 2005-03-10 15:46:57 UTC
[ BUILD # : 200503061900 ]
[ JDK VERSION : 1.4.2_xx ]

When committing a file to CVS (built-in client), I get a MissingResourceException. It doesn't happen every time, and I don't have a reproducible use case. The error in the dialog is "MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key ACS_COMMAND_COMMIT_Reason_mnc", and the stack trace is

org.netbeans.modules.vcscore.util.VcsUtilities$3: MissingResourceException: Can't find resource for bundle org.openide.util.NbBundle$PBundle, key ACS_COMMAND_COMMIT_Reason_mnc
	at org.netbeans.modules.vcscore.util.VcsUtilities.getBundleString(VcsUtilities.java:721)
	at org.netbeans.modules.vcscore.util.VcsUtilities.getBundleString(VcsUtilities.java:655)
	at org.netbeans.modules.vcscore.util.VariableInputDescriptor.parseComponent(VariableInputDescriptor.java:525)
	at org.netbeans.modules.vcscore.util.VariableInputDescriptor.parseItems(VariableInputDescriptor.java:231)
	at org.netbeans.modules.vcscore.commands.CommandCustomizationSupport.createInputDialog(CommandCustomizationSupport.java:841)
	at org.netbeans.modules.vcscore.cmdline.UserCommandSupport.createCustomizer(UserCommandSupport.java:812)
	at org.netbeans.modules.vcscore.cmdline.UserCommandSupport.doCustomizationWithVars(UserCommandSupport.java:578)
	at org.netbeans.modules.vcscore.cmdline.UserCommandSupport.doCustomization(UserCommandSupport.java:526)
	at org.netbeans.modules.vcscore.cmdline.UserCommandSupport.doCustomization(UserCommandSupport.java:497)
	at org.netbeans.modules.vcscore.cmdline.UserCommandSupport.run(UserCommandSupport.java:453)
	at org.netbeans.spi.vcs.commands.CommandInvocationHandler.invoke(CommandInvocationHandler.java:152)
	at org.netbeans.modules.vcscore.cmdline.$Proxy19.run(Unknown Source)
	at org.netbeans.modules.vcscore.commands.CommandProcessor.showCustomizer(CommandProcessor.java:369)
	at org.netbeans.modules.vcscore.commands.CommandProcessor.doPreprocess2(CommandProcessor.java:287)
	at org.netbeans.modules.vcscore.commands.CommandProcessor.access$000(CommandProcessor.java:65)
	at org.netbeans.modules.vcscore.commands.CommandProcessor$1.run(CommandProcessor.java:265)
	at org.openide.util.Task.run(Task.java:189)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721)
Comment 1 Martin Entlicher 2005-03-14 17:24:30 UTC
You likely have an old CVS profile saved. That reasource is not referenced from
the code any more. If you did not do any significant changes to the profile,
please delete the cvs.xml file from <user dir>/config/vcs/config/ folder, or
change the profile to "CVS" in the Versioning Manager -> Edit (in case you named
the saved profile differently).
Comment 2 gholmer 2005-03-16 15:45:02 UTC
Shouldn't this be upgraded as part of switch from 4.0 to 4.1 (like projects
are)? I have over a dozen entries in the Versioning Manager, must I delete and
re-create all of them?
Comment 3 Martin Entlicher 2005-03-16 19:13:16 UTC
You do not have to delete and re-create all of them, if they are based just on
"CVS" profile, delete the <user dir>/config/vcs/config/cvs.xml file and you
should be fine.

BTW: I suppose that it's enough to have just one entry per CVS server. Is there
a reason you have dozens of entries there?
Comment 4 gholmer 2005-03-16 19:49:19 UTC
I have one entry for each project's src/ directory.

If I blow away my "miranda.xml" file, on next start of build 200503150955, I get
this:

java.lang.NullPointerException
  at org.netbeans.modules.vcscore.turbo.Repository.prepareMeta(Repository.java:264)
  at org.netbeans.modules.vcscore.turbo.Turbo.prepareMetaImpl(Turbo.java:138)
  at org.netbeans.modules.vcscore.turbo.Turbo.prepareMeta(Turbo.java:125)
  at
org.netbeans.modules.vcscore.caching.StatusFormat.getStatusAnnotation(StatusFormat.java:272)
  at
org.netbeans.modules.vcscore.caching.StatusFormat.getStatusAnnotation(StatusFormat.java:250)
  at
org.netbeans.modules.vcscore.VcsFileSystem.annotateName(VcsFileSystem.java:2427)
  at
org.netbeans.modules.masterfs.MasterFileSystem$StatusImpl.annotateName(MasterFileSystem.java:338)
  at org.openide.loaders.DataNode.getDisplayName(DataNode.java:171)
  at java.beans.FeatureDescriptor.getShortDescription(FeatureDescriptor.java:143)
  at org.openide.nodes.Node.setShortDescription(Node.java:335)
[catch] at org.netbeans.modules.java.JavaNode$3.run(JavaNode.java:574)
  at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
  at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
  at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

and when I then edit one of the existing Version Manager entries and click the
"Save As" button to re-create the XML file, I get this:

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
  at org.netbeans.modules.vcs.advanced.VcsCustomizer$3.run(VcsCustomizer.java:1116)
  at org.openide.util.Task.run(Task.java:189)
  at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721)
Comment 5 Martin Entlicher 2005-03-17 10:31:38 UTC
*** Issue 56587 has been marked as a duplicate of this issue. ***