Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329136 - "jgit diff -h" fails with MissingResourceException
Summary: "jgit diff -h" fails with MissingResourceException
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 0.10.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Christian Halstrick CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 318286
  Show dependency tree
 
Reported: 2010-10-30 09:04 EDT by Matthias Sohn CLA
Modified: 2010-12-03 14:48 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Sohn CLA 2010-10-30 09:04:19 EDT
observed using jgit 33ae28b4 built locally with maven

"jgit diff -h" fails with the following exception

[d029788@wdfm00251943a jgit (fixdiff)]$ jgit diff -h
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key [myers | histogram]
	at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
	at java.util.ResourceBundle.getString(ResourceBundle.java:334)
	at org.kohsuke.args4j.spi.OptionHandler.getMetaVariable(OptionHandler.java:75)
	at org.kohsuke.args4j.spi.OptionHandler.getNameAndMeta(OptionHandler.java:85)
	at org.kohsuke.args4j.CmdLineParser.printSingleLineOption(CmdLineParser.java:622)
	at org.kohsuke.args4j.CmdLineParser.printSingleLineUsage(CmdLineParser.java:613)
	at org.eclipse.jgit.pgm.TextBuiltin.printUsageAndExit(TextBuiltin.java:190)
	at org.eclipse.jgit.pgm.TextBuiltin.printUsageAndExit(TextBuiltin.java:176)
	at org.eclipse.jgit.pgm.TextBuiltin.parseArguments(TextBuiltin.java:164)
	at org.eclipse.jgit.pgm.TextBuiltin.execute(TextBuiltin.java:138)
	at org.eclipse.jgit.pgm.Main.execute(Main.java:191)
	at org.eclipse.jgit.pgm.Main.run(Main.java:120)
	at org.eclipse.jgit.pgm.Main.main(Main.java:94)
Comment 1 Shawn Pearce CLA 2010-12-03 14:48:52 EST
Already fixed.