Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] CDT does not recognize binary files

Thanks, it wasn't on;-). I turned on and then I started getting a different set of errors and a warning, which I cut and pasted below. Btw I am on a 64-bit AIX, is it possible that causes troubles with XCoff32?

Thanks in advance!

Warning:
=========
Could not load library: libcore_2_1_0b.a. This library provides platform-specific optimizations for certain file system operations. This library is not present on all platforms, so this may not be an error. The resources plug-in will safely fall back to using java.io.File functionality.

Error:
=========
java.lang.NullPointerException
   at org.eclipse.cdt.utils.xcoff.XCoff32.commonSetup(XCoff32.java:707)
   at org.eclipse.cdt.utils.xcoff.XCoff32.<init>(XCoff32.java:690)
   at org.eclipse.cdt.utils.xcoff.XCoff32.<init>(XCoff32.java:685)
at org.eclipse.cdt.utils.xcoff.parser.XCOFFBinaryObject.getXCoff32(XCOFFBinaryObject.java:133) at org.eclipse.cdt.utils.xcoff.parser.XCOFFBinaryObject.loadInfo(XCOFFBinaryObject.java:152) at org.eclipse.cdt.utils.xcoff.parser.XCOFFBinaryObject.getBinaryObjectInfo(XCOFFBinaryObject.java:90) at org.eclipse.cdt.utils.BinaryObjectAdapter.getCPU(BinaryObjectAdapter.java:83)
   at org.eclipse.cdt.internal.core.model.Binary.getCPU(Binary.java:93)
at org.eclipse.cdt.internal.ui.viewsupport.CElementLabels.getElementLabel(CElementLabels.java:321) at org.eclipse.cdt.internal.ui.viewsupport.CElementLabels.getElementLabel(CElementLabels.java:271) at org.eclipse.cdt.internal.ui.viewsupport.CElementLabels.getTextLabel(CElementLabels.java:259) at org.eclipse.cdt.internal.ui.viewsupport.CUILabelProvider.getText(CUILabelProvider.java:150) at org.eclipse.cdt.internal.ui.cview.CViewLabelProvider.getText(CViewLabelProvider.java:74) at org.eclipse.jface.viewers.DecoratingLabelProvider.getText(DecoratingLabelProvider.java:107) at org.eclipse.jface.viewers.DecoratingLabelProvider.updateLabel(DecoratingLabelProvider.java:204) at org.eclipse.jface.viewers.TreeViewer.doUpdateItem(TreeViewer.java:106) at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:83) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java(Compiled Code))
   at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:464) at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:128) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java(Compiled Code))
   at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:1374) at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:1358) at org.eclipse.jface.viewers.StructuredViewer.update(StructuredViewer.java:1286) at org.eclipse.jface.viewers.StructuredViewer.handleLabelProviderChanged(StructuredViewer.java:674) at org.eclipse.cdt.internal.ui.util.ProblemTreeViewer.handleLabelProviderChanged(ProblemTreeViewer.java:113) at org.eclipse.jface.viewers.ContentViewer$1.labelProviderChanged(ContentViewer.java:74) at org.eclipse.ui.internal.decorators.DecoratorManager$1.run(DecoratorManager.java:203) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java(Compiled Code))
   at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.decorators.DecoratorManager.fireListeners(DecoratorManager.java:201) at org.eclipse.ui.internal.decorators.DecorationScheduler$2.runInUIThread(DecorationScheduler.java:369)
   at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:93)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2916)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2645)
   at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
   at org.eclipse.jface.window.Window.open(Window.java:648)
at org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:295) at org.eclipse.jface.util.SafeRunnable.handleException(SafeRunnable.java:52) at org.eclipse.core.internal.runtime.InternalPlatform.handleException(InternalPlatform.java(Compiled Code)) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java(Compiled Code))
   at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:464) at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:128) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java(Compiled Code))
   at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:1374) at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:1537) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1043) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1050) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1050) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1018) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:981) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:969) at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:924) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:862) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:922) at org.eclipse.cdt.ui.CElementContentProvider$3.run(CElementContentProvider.java:294)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2916)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2645)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
   at java.lang.reflect.Method.invoke(Method.java:386)
   at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
   at org.eclipse.core.launcher.Main.run(Main.java:704)
   at org.eclipse.core.launcher.Main.main(Main.java:688)


Krasilnikov, Oleg wrote:
Have you enabled AIX binary parser in your project's properties ? -----------------------------------
With best regards, Oleg Krasilnikov
Software designer, Eclipse team.


-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Ivan Popivanov
Sent: Tuesday, June 07, 2005 5:41 AM
To: CDT General developers list.
Subject: Re: [cdt-dev] CDT does not recognize binary files

Any suggestions as how to investigate?

Thanks!

Ivan Popivanov wrote:

Hi,

I have been trying to run CDT on AIX. When I start eclipse, I get the error message which I pasted at the end of this note, but Eclipse starts. Then I created a simple C++ project, compiled and tried to run. When I try to run, I open the dialog box to browse for the executable, go to the Debug directory and try to select the executable, for all files however I have the warning saying that I need to pick a binary file. I tried to type the file path, but the "Run" button remained grayed. The executable exists and I can run it from the command line. Any suggestions what's wrong?

My second question is how to debug a problem like that :-) ... Thanks!

Ivan


------------------------------------------------------------------------
-------------------------------------
java.lang.UnsatisfiedLinkError: Can't find library spawner (libspawner.a or .so) in sun.boot.library.path or
java.library.path
sun.boot.library.path=/usr/java14/jre/bin

java.library.path=/usr/java14/jre/bin:/usr/java14/jre/bin/classic:/usr/j
ava14/jre/bin:/usr/lib
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1914)
      at java.lang.Runtime.loadLibrary0(Runtime.java:823)
      at java.lang.System.loadLibrary(System.java:905)
at
org.eclipse.cdt.utils.spawner.ProcessFactory.<init>(ProcessFactory.java:
35)
at
org.eclipse.cdt.utils.spawner.ProcessFactory.getFactory(ProcessFactory.j
ava:47)
at
org.eclipse.cdt.utils.spawner.EnvironmentReader.getEnvVars(EnvironmentRe
ader.java:49)
at
org.eclipse.cdt.core.CommandLauncher.getEnvironment(CommandLauncher.java
:67)
at
org.eclipse.cdt.make.internal.core.scannerconfig.DefaultExternalScannerI
nfoProvider.setEnvironment(DefaultExternalScannerInfoProvider.java:228)
at
org.eclipse.cdt.make.internal.core.scannerconfig.DefaultExternalScannerI
nfoProvider.invokeProvider(DefaultExternalScannerInfoProvider.java:111)
at
org.eclipse.cdt.managedbuilder.internal.scannerconfig.ManagedBuildCPathE
ntryContainer$1.run(ManagedBuildCPathEntryContainer.java:184)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.
java(Compiled
Code))
      at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.cdt.managedbuilder.internal.scannerconfig.ManagedBuildCPathE
ntryContainer.calculateEntriesDynamically(ManagedBuildCPathEntryContaine
r.java:193)
at
org.eclipse.cdt.managedbuilder.internal.scannerconfig.ManagedBuildCPathE
ntryContainer.getPathEntries(ManagedBuildCPathEntryContainer.java:218)
at
org.eclipse.cdt.internal.core.model.PathEntryManager.getResolvedPathEntr
ies(PathEntryManager.java:175)
at
org.eclipse.cdt.internal.core.model.PathEntryManager.getResolvedPathEntr
ies(PathEntryManager.java:159)
at
org.eclipse.cdt.core.model.CoreModel.getResolvedPathEntries(CoreModel.ja
va:724)
at
org.eclipse.cdt.internal.core.model.CProject.getResolvedPathEntries(CPro
ject.java:400)
at
org.eclipse.cdt.internal.core.model.CProject.computeSourceRoots(CProject
.java:595)
at
org.eclipse.cdt.internal.core.model.CProject.getAllSourceRoots(CProject.
java:502)
at
org.eclipse.cdt.internal.core.model.CModelManager.create(CModelManager.j
ava:276)
      at
org.eclipse.cdt.core.model.CoreModel.create(CoreModel.java:69)
at
org.eclipse.cdt.internal.ui.editor.CDocumentProvider.createTranslationUn
it(CDocumentProvider.java:770)
at
org.eclipse.cdt.internal.ui.editor.CDocumentProvider.createFileInfo(CDoc
umentProvider.java:799)
at
org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDoc
umentProvider.java:462)
at
org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEdit
or.java:2869)
at
org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.j
ava:173)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(Abstrac
tDecoratedTextEditor.java:1073)
at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:287) at
org.eclipse.cdt.internal.ui.editor.CEditor.doSetInput(CEditor.java:221)
at
org.eclipse.ui.texteditor.AbstractTextEditor$15.run(AbstractTextEditor.j
ava:2233)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext
.java:303)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253) at
org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:
588)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:58
5)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1653) at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEd
itor.java:2247)
at
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.jav
a:2265)
at
org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:719)
at
org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.j
ava:788)
at
org.eclipse.ui.internal.EditorManager.access$12(EditorManager.java:774)
at org.eclipse.ui.internal.EditorManager$9.run(EditorManager.java:959) at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.
java:616)
      at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.ui.internal.EditorManager.busyRestoreEditor(EditorManager.ja
va:933)
at org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:926) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at
org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:9
22)
at
org.eclipse.ui.internal.EditorManager.restoreEditorState(EditorManager.j
ava:1498)
at
org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:88
5)
at
org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:24
70)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.jav
a:1372)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1224) at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1185)
      at
org.eclipse.ui.internal.Workbench$13.run(Workbench.java:1096)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.
java:616)
      at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1029) at
org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfig
urer.java:167)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor
.java:652)
      at org.eclipse.ui.internal.Workbench.init(Workbench.java:819)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1325)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:2
54)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActiva
tor.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
129)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:41)
      at java.lang.reflect.Method.invoke(Method.java:386)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
      at org.eclipse.core.launcher.Main.run(Main.java:704)
      at org.eclipse.core.launcher.Main.main(Main.java:688)

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev





_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev






Back to the top