Hi, I'm new to CCS5.1 from CCS3.3 and am having trouble with a new executable project I created in 5.1 from scratch. My CCS version is:
Version: 5.1.0.201108111000
Build id: N201108111000
The problem is that, in the beginning, I was able to add, subtract, and change include paths under the C6000 compiler include options in the project properties. Then it began acting strange. It would not let me change them. I could go into the include dialog, change/delete/add something, the change was reflected in the window, hit 'ok', but when you open it again, the changes have not been applied and it goes back to whatever it was previously.
First there is a pop up that says "Operation In Progress...", and then for like a femto-second, a window with a red 'x' pops up with something about a 'An error ...' and 'nullPointer' - not long enough to actually read (i've tried several times). When you go back to properties, the changes did not take effect. I found a log with lots of errors which may give a clue that seem to be related. Here is the recurring line:
"Problems occurred when invoking code from plug-in: "org.eclipse.jface"."
Including event information below:
The strange thing about the behavior is that it did not do this in the beginning. I can make other changes to the project ok, like adding source or .cmd files.
Now that I try it, other areas of the properties dialog are not writable either. For instance, I checked the box under Assembler Options to keep the generated assembly, hit ok, and that did not stick either. Selecting Release or Debug configuration does not matter.
I'm starting over with the project today, making better initial estimates at the include files, but I think it will probably happen again. Any ideas?
Thanks,
Matt
this is from the event dialog found in the error log view:
eclipse.buildId=M20110909-1335
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.cpp.product
This is a continuation of log file D:\Profiles\ems019\workspace_v5_1\.metadata\.bak_0.log
Created Time: 2011-10-28 15:41:14.345
java.lang.NullPointerException
at org.eclipse.jface.dialogs.DialogPage.getShell(DialogPage.java:295)
at org.eclipse.cdt.ui.newui.AbstractPage.handleResize(AbstractPage.java:830)
at org.eclipse.cdt.ui.newui.AbstractPage.dispose(AbstractPage.java:985)
at com.ti.common.project.ui.properties.ConfigurationPropertiesPage.dispose(ConfigurationPropertiesPage.java:94)
at org.eclipse.jface.preference.PreferenceNode.disposeResources(PreferenceNode.java:173)
at org.eclipse.jface.preference.PreferenceDialog$2.run(PreferenceDialog.java:301)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jface.preference.PreferenceDialog.close(PreferenceDialog.java:315)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.close(FilteredPreferenceDialog.java:697)
at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:986)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:944)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:447)
at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:233)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:158)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
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:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)