Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358219 - Project > Prepare ChangeLog crashes
Summary: Project > Prepare ChangeLog crashes
Status: CLOSED FIXED
Alias: None
Product: Linux Tools
Classification: Tools
Component: ChangeLog (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: 1.2.1   Edit
Assignee: Jeff Johnston CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 07:38 EDT by Jörg Rebenstorf CLA
Modified: 2013-05-08 14:48 EDT (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 Jörg Rebenstorf CLA 2011-09-20 07:38:14 EDT
Build Identifier: 20110615-0604

Invoking "Project > Prepare ChangeLog" does an IllegalArgumentException.

!SESSION 2011-09-20 12:53:22.627 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.linuxtools.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.linuxtools.product -debug -consolelog
Invoking the Project > Prepare ChangeLog

!ENTRY org.eclipse.linuxtools.changelog.core 4 4 2011-09-20 12:55:06.937
!MESSAGE 
!STACK 0
java.lang.reflect.InvocationTargetException
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:477)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
	at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.doRun(PrepareChangeLogAction.java:152)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler$1.run(PrepareChangelogKeyHandler.java:138)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler.execute(PrepareChangelogKeyHandler.java:142)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler.run(PrepareChangelogKeyHandler.java:182)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
	at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: java.lang.IllegalArgumentException
	at org.eclipse.ui.part.FileEditorInput.<init>(FileEditorInput.java:92)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.guessFunctionNames(PrepareChangeLogAction.java:531)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.prepareChangeLog(PrepareChangeLogAction.java:386)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.access$0(PrepareChangeLogAction.java:267)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction$1.run(PrepareChangeLogAction.java:143)
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
	... 35 more
Root exception:
java.lang.IllegalArgumentException
	at org.eclipse.ui.part.FileEditorInput.<init>(FileEditorInput.java:92)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.guessFunctionNames(PrepareChangeLogAction.java:531)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.prepareChangeLog(PrepareChangeLogAction.java:386)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.access$0(PrepareChangeLogAction.java:267)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction$1.run(PrepareChangeLogAction.java:143)
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
	at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.doRun(PrepareChangeLogAction.java:152)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler$1.run(PrepareChangelogKeyHandler.java:138)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler.execute(PrepareChangelogKeyHandler.java:142)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler.run(PrepareChangelogKeyHandler.java:182)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
	at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)


Reproducible: Always

Steps to Reproduce:
1.Install Eclipse Indigo
2.Install ChangeLog plugin via the Eclipse menu
3.Use a project under svn (subclipse plugin) with local changes and invoke "Project > Prepare ChangeLog"

This is expected to create a Changelog file and open it in an editor view but does not. Please note that the "Edit > ChangeLog Entry" functionality works as expected.
Comment 1 Jeff Johnston CLA 2011-09-28 17:51:17 EDT
(In reply to comment #0)


> Reproducible: Always
> 
> Steps to Reproduce:
> 1.Install Eclipse Indigo
> 2.Install ChangeLog plugin via the Eclipse menu
> 3.Use a project under svn (subclipse plugin) with local changes and invoke
> "Project > Prepare ChangeLog"
> 
> This is expected to create a Changelog file and open it in an editor view but
> does not. Please note that the "Edit > ChangeLog Entry" functionality works as
> expected.

You appear to be using the EPP for C/C++ Linux developers.  This EPP contains ChangeLog and the Subversive plug-ins already installed.  I am using the current EPP on the download site which is SR1 and checked out the Mesquite project: see http://mesquiteproject.org/mesquite/download/source.html

For the project, I added an empty ChangeLog at the top-level as it does not have one.

Subversive and ChangeLog work together fine and do not cause the exception to occur.  There is an unrelated bug with ChangeLog showing the project name in the entries and clipping the first character, but this appears to be because the project name ended up with a blank in it.  Renaming the project to change the blank to underscore fixes the problem and the project name is removed from the entry.

Now, I install Subclipse from http://subclipse.tigris.org/update_1.6.x

and re-check out the same project.  It works exactly the same.

If you are not using the SR1 EPP, could you please try it?  

There was an old issue whereby ChangeLog required a specific version of CDT and higher.  If you have an older EPP, you could consider updating your CDT and then upgrading your ChangeLog, either from the Indigo update site or our Linux tools update site as both have recently been updated.

If you are still experiencing problems, please provide some more details so I may reproduce the situation.  I am using:  ChangeLog Management Tools (Incubation)	2.7.0.201108301805 feature.
Comment 2 Jörg Rebenstorf CLA 2011-10-06 07:58:24 EDT
I installed another eclipse and now I am using ...

Eclipse IDE for C/C++ Developers
Version: Indigo Service Release 1
Build id: 20110916-0149

... from an EPP that does not include subversive nor changelog (it is the "Eclipse IDE for C/C++ Developers", not the "Eclipse IDE for C/C++ Linux Developers (includes Incubating components)" and installed some plug-ins. The complete list of installed plug-ins is: ...

  ChangeLog Management Tools (Incubation)	2.7.0.201109262035	org.eclipse.linuxtools.changelog.feature.group	Eclipse Linux Tools
  CollabNet Merge Client	2.2.4	com.collabnet.subversion.merge.feature.feature.group	CollabNet
  Eclipse IDE for C/C++ Developers	1.4.1.20110909-1818	epp.package.cpp	null
  JNA Library	3.2.7	com.sun.jna.feature.group	null
  Subclipse (Required)	1.6.18	org.tigris.subversion.subclipse.feature.group	tigris.org
  Subclipse Integration for Mylyn 3.x (Optional)	3.0.0	org.tigris.subversion.subclipse.mylyn.feature.group	tigris.org
  Subversion Client Adapter (Required)	1.6.12	org.tigris.subversion.clientadapter.feature.feature.group	tigris.org
  Subversion JavaHL Native Library Adapter (Required)	1.6.17	org.tigris.subversion.clientadapter.javahl.feature.feature.group	tigris.org
  SVNKit Client Adapter (Not required)	1.6.15	org.tigris.subversion.clientadapter.svnkit.feature.feature.group	tigris.org
  SVNKit Library	1.3.5.7406	org.tmatesoft.svnkit.feature.group	TMate Software

... and it still does not work. The exception does not occur in the Mesquite java project but nevertheless no changelog message box for file selection and no changelog file occur. No editor is opened for the changelog. I also get ...

!ENTRY org.eclipse.jface 2 0 2011-10-06 13:22:06.290
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2011-10-06 13:22:06.290
!MESSAGE A conflict occurred for ALT+CTRL+C:
Binding(ALT+CTRL+C,
	ParameterizedCommand(Command(org.eclipse.linuxtools.changelog.core.actions.KeyActionCommand,Insert ChangeLog entry,
		Insert a ChangeLog entry,
		Category(org.eclipse.linuxtools.changelog,Changelog,Changelog key bindings,true),
		ActionDelegateHandlerProxy(null,org.eclipse.linuxtools.changelog.core.actions.InsertChangeLogKeyHandler),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+C,
	ParameterizedCommand(Command(org.eclipse.linuxtools.changelog.core.actions.KeyActionCommand,Insert ChangeLog entry,
		Insert a ChangeLog entry,
		Category(org.eclipse.linuxtools.changelog,Changelog,Changelog key bindings,true),
		ActionDelegateHandlerProxy(null,org.eclipse.linuxtools.changelog.core.actions.InsertChangeLogKeyHandler),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.compare.compareEditorScope,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2011-10-06 13:22:06.290
!MESSAGE A conflict occurred for ALT+CTRL+P:
Binding(ALT+CTRL+P,
	ParameterizedCommand(Command(org.eclipse.linuxtools.changelog.core.preparechangelog,Prepare Changelog,
		Prepares Changelog,
		Category(org.eclipse.linuxtools.changelog,Changelog,Changelog key bindings,true),
		ActionDelegateHandlerProxy(null,org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,,system)
Binding(ALT+CTRL+P,
	ParameterizedCommand(Command(org.eclipse.linuxtools.changelog.core.preparechangelog2,Prepare Changelog In Editor,
		Prepares ChangeLog in an editor,
		Category(org.eclipse.linuxtools.changelog,Changelog,Changelog key bindings,true),
		ActionDelegateHandlerProxy(null,org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.textEditorScope,,,system)
Binding(ALT+CTRL+P,
	ParameterizedCommand(Command(org.eclipse.linuxtools.changelog.core.preparechangelog2,Prepare Changelog In Editor,
		Prepares ChangeLog in an editor,
		Category(org.eclipse.linuxtools.changelog,Changelog,Changelog key bindings,true),
		ActionDelegateHandlerProxy(null,org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.compare.compareEditorScope,,,system)

!ENTRY org.eclipse.ui.workbench 2 0 2011-10-06 13:28:52.471
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2011-10-06 13:28:52.471
!MESSAGE Conflict for 'org.eclipse.ltk.ui.refactor.create.refactoring.script':
HandlerActivation(commandId=org.eclipse.ltk.ui.refactor.create.refactoring.script,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.jdt.internal.ui.refactoring.actions.CreateRefactoringScriptAction),
	expression=AndExpression(ActionSetExpression(org.eclipse.jdt.ui.CodingActionSet,org.eclipse.ui.internal.WorkbenchWindow@1f42731),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f42731)),sourcePriority=16640)
HandlerActivation(commandId=org.eclipse.ltk.ui.refactor.create.refactoring.script,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.ltk.ui.refactoring.actions.CreateRefactoringScriptAction),
	expression=AndExpression(ActionSetExpression(org.eclipse.cdt.ui.CodingActionSet,org.eclipse.ui.internal.WorkbenchWindow@1f42731),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f42731)),sourcePriority=16640)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2011-10-06 13:28:52.471
!MESSAGE Conflict for 'org.eclipse.ltk.ui.refactor.show.refactoring.history':
HandlerActivation(commandId=org.eclipse.ltk.ui.refactor.show.refactoring.history,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.jdt.internal.ui.refactoring.actions.ShowRefactoringHistoryAction),
	expression=AndExpression(ActionSetExpression(org.eclipse.jdt.ui.CodingActionSet,org.eclipse.ui.internal.WorkbenchWindow@1f42731),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f42731)),sourcePriority=16640)
HandlerActivation(commandId=org.eclipse.ltk.ui.refactor.show.refactoring.history,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.ltk.ui.refactoring.actions.ShowRefactoringHistoryAction),
	expression=AndExpression(ActionSetExpression(org.eclipse.cdt.ui.CodingActionSet,org.eclipse.ui.internal.WorkbenchWindow@1f42731),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f42731)),sourcePriority=16640)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2011-10-06 13:28:52.471
!MESSAGE Conflict for 'org.eclipse.ltk.ui.refactor.apply.refactoring.script':
HandlerActivation(commandId=org.eclipse.ltk.ui.refactor.apply.refactoring.script,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.jdt.internal.ui.refactoring.actions.ApplyRefactoringScriptAction),
	expression=AndExpression(ActionSetExpression(org.eclipse.jdt.ui.CodingActionSet,org.eclipse.ui.internal.WorkbenchWindow@1f42731),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f42731)),sourcePriority=16640)
HandlerActivation(commandId=org.eclipse.ltk.ui.refactor.apply.refactoring.script,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.ltk.ui.refactoring.actions.ApplyRefactoringScriptAction),
	expression=AndExpression(ActionSetExpression(org.eclipse.cdt.ui.CodingActionSet,org.eclipse.ui.internal.WorkbenchWindow@1f42731),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1f42731)),sourcePriority=16640)
!SESSION 2011-10-06 13:39:29.217 -----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.cpp.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.cpp.product

!ENTRY org.eclipse.ui.workbench 2 0 2011-10-06 13:39:36.616
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2011-10-06 13:39:36.616
!MESSAGE Conflict for 'org.eclipse.ltk.ui.refactor.create.refactoring.script':
HandlerActivation(commandId=org.eclipse.ltk.ui.refactor.create.refactoring.script,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.ltk.ui.refactoring.actions.CreateRefactoringScriptAction),
	expression=AndExpression(ActionSetExpression(org.eclipse.cdt.ui.CodingActionSet,org.eclipse.ui.internal.WorkbenchWindow@1bbd3e2),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1bbd3e2)),sourcePriority=16640)
HandlerActivation(commandId=org.eclipse.ltk.ui.refactor.create.refactoring.script,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.jdt.internal.ui.refactoring.actions.CreateRefactoringScriptAction),
	expression=AndExpression(ActionSetExpression(org.eclipse.jdt.ui.CodingActionSet,org.eclipse.ui.internal.WorkbenchWindow@1bbd3e2),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1bbd3e2)),sourcePriority=16640)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2011-10-06 13:39:36.616
!MESSAGE Conflict for 'org.eclipse.ltk.ui.refactor.show.refactoring.history':
HandlerActivation(commandId=org.eclipse.ltk.ui.refactor.show.refactoring.history,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.jdt.internal.ui.refactoring.actions.ShowRefactoringHistoryAction),
	expression=AndExpression(ActionSetExpression(org.eclipse.jdt.ui.CodingActionSet,org.eclipse.ui.internal.WorkbenchWindow@1bbd3e2),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1bbd3e2)),sourcePriority=16640)
HandlerActivation(commandId=org.eclipse.ltk.ui.refactor.show.refactoring.history,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.ltk.ui.refactoring.actions.ShowRefactoringHistoryAction),
	expression=AndExpression(ActionSetExpression(org.eclipse.cdt.ui.CodingActionSet,org.eclipse.ui.internal.WorkbenchWindow@1bbd3e2),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1bbd3e2)),sourcePriority=16640)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2011-10-06 13:39:36.616
!MESSAGE Conflict for 'org.eclipse.ltk.ui.refactor.apply.refactoring.script':
HandlerActivation(commandId=org.eclipse.ltk.ui.refactor.apply.refactoring.script,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.ltk.ui.refactoring.actions.ApplyRefactoringScriptAction),
	expression=AndExpression(ActionSetExpression(org.eclipse.cdt.ui.CodingActionSet,org.eclipse.ui.internal.WorkbenchWindow@1bbd3e2),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1bbd3e2)),sourcePriority=16640)
HandlerActivation(commandId=org.eclipse.ltk.ui.refactor.apply.refactoring.script,
	handler=ActionDelegateHandlerProxy(null,org.eclipse.jdt.internal.ui.refactoring.actions.ApplyRefactoringScriptAction),
	expression=AndExpression(ActionSetExpression(org.eclipse.jdt.ui.CodingActionSet,org.eclipse.ui.internal.WorkbenchWindow@1bbd3e2),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1bbd3e2)),sourcePriority=16640)

... and when trying to generate a changelog for my C project I still get the same exception ...

!ENTRY org.eclipse.linuxtools.changelog.core 4 4 2011-10-06 13:46:22.896
!MESSAGE 
!STACK 0
java.lang.reflect.InvocationTargetException
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:477)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
	at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.doRun(PrepareChangeLogAction.java:152)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler$1.run(PrepareChangelogKeyHandler.java:138)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler.execute(PrepareChangelogKeyHandler.java:142)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler.run(PrepareChangelogKeyHandler.java:182)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
	at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: java.lang.IllegalArgumentException
	at org.eclipse.ui.part.FileEditorInput.<init>(FileEditorInput.java:92)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.guessFunctionNames(PrepareChangeLogAction.java:531)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.prepareChangeLog(PrepareChangeLogAction.java:386)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.access$0(PrepareChangeLogAction.java:267)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction$1.run(PrepareChangeLogAction.java:143)
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
	... 35 more
Root exception:
java.lang.IllegalArgumentException
	at org.eclipse.ui.part.FileEditorInput.<init>(FileEditorInput.java:92)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.guessFunctionNames(PrepareChangeLogAction.java:531)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.prepareChangeLog(PrepareChangeLogAction.java:386)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.access$0(PrepareChangeLogAction.java:267)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction$1.run(PrepareChangeLogAction.java:143)
	at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
	at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangeLogAction.doRun(PrepareChangeLogAction.java:152)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler$1.run(PrepareChangelogKeyHandler.java:138)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler.execute(PrepareChangelogKeyHandler.java:142)
	at org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler.run(PrepareChangelogKeyHandler.java:182)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
	at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

I don't know how to install the older ChangeLog Management Tools
(Incubation)    2.7.0.201108301805 feature that you are using. I can only install the latest.
Comment 3 Jörg Rebenstorf CLA 2011-10-06 08:14:38 EDT
Unfortunately I am confused about the eclipse version that you are using.
Please tell me how to identify it and where to download exactly.

You said you are using "current EPP on the download site which is SR1". What is "current"? Which download URL? What is included? What is the full EPP name?
Comment 4 Jeff Johnston CLA 2011-10-06 15:08:13 EDT
(In reply to comment #3)
> Unfortunately I am confused about the eclipse version that you are using.
> Please tell me how to identify it and where to download exactly.
> 
> You said you are using "current EPP on the download site which is SR1". What is
> "current"? Which download URL? What is included? What is the full EPP name?

The current EPP is the Indigo SR1 version.  You have that version.  The latest ChangeLog is from our 0.8.1 site and is dated 09/26.  You also have that as well.

The version of ChangeLog in 0.8.1 is missing a fix that allows CTRL+ALT+P  (Prepare ChangeLog) to create the ChangeLog if it is missing.  So, that is why I manually created the ChangeLog in my example. You will have to do the same.

You appear to be using Subclipse.  I did File->Import...->SVN->Checkout Projects from SVN

I specified a new repository and put in: http://svn.mesquiteproject.org:8080/repository/mesquite/releases/current/

I hit Next and selectd the Mesquite Project and eventually hit Finish.  It created a project called "Mesquite Project".  I made sure I was in the Java Perspective and selected the project.  I then did File->New->File and created the ChangeLog file.

I opened the project and under the Source directory under the Mesquite Project and chose one of the mesquite.xxxx packages.  I opened it until I found a .java file and double-clicked on the Java file to open the editor.  I added a comment to one of the methods in the file and then hit CTRL+ALT+P from the editor.

This brought up a brief dialog from Prepare ChangeLog and then the contents of ChangeLog were updated with the results.  The ChangeLog entries there had a problem with the project name being included without the first character.  Renaming the project name without a blank fixes this and this is a separate issue.

The messages about the key bindings can be ignored.  It is a known issue.  There is no registering short-cut sequences so plug-ins may end up picking the same sequences that can apply at the same time.  In this case, the team providers and ChangeLog plug-in have collided.  When you go to use the sequence, you will be prompted.  The sequences can be changed in the Preferences->General->Keys page if desired.

Does the previous sequence work for you in the Mesquite project (i.e. after adding the ChangeLog manually)?

If yes, is it possible for you to give a location where your C project can be checked out from and the steps you did right up to the CTRL+ALT+P?  Did you check out your C project directly into the workspace or did you specify the location of a C project that was checked out outside of the workspace?
Comment 5 Alexander Kurtakov CLA 2013-01-14 17:42:53 EST
Is this bug present nowadays?
Comment 6 Jeff Johnston CLA 2013-01-14 18:11:30 EST
(In reply to comment #5)
> Is this bug present nowadays?

AFAICT, no.  I am able to use Juno C/C++ EPP with Subversive installed and I am able to check-out the xmlrpc-c project via SVN.  I alter one file and do a Prepare ChangeLog CTRL+ALT+P and it works fine.  It finds the one change I made plus the new files added by the C project (.cproject and .project files).

I am going to close this bug as fixed.  If the reporter is still having problems, please open a new bug with additional details regarding the source project if possible.