Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Buggy install of CDT 4.0.1 from "Archive site"

Title: RE: [cdt-dev] Buggy install of CDT 4.0.1 from "Archive site"
Hi Mikhail,
               the MakefileGnenerator().initialize sets up the build folder structure for the build process. I guess we can do this elsewhere rather than in the initialize method it it interferes.  I check this out.  Should I close the bug 203740?
 
Thanks
Mikhail


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Sennikovsky, Mikhail
Sent: Tuesday, September 18, 2007 1:59 PM
To: CDT General developers list.
Subject: RE: [cdt-dev] Buggy install of CDT 4.0.1 from "Archive site"

Hi Kurvin,

 

Seems like I see the reason for the failure: while the project settings initialization your buildfile generator is called for the build output path information.

The generator in its turn is performing the “Resource.refrechLocal()” which in its turn results in the resource delata being fired and thus all listeners are receiving the incompletely initialized project settings.

        at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1433)
        at buildProcess.core.internal.cdtLink.CDTMakefileGenerator.initialize(CDTMakefileGenerator.java:123)

 

Is there any reason why you need to perform workspace modification from your  CDTMakefileGenerator.initialize() ?

 

Mikhail

 


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Canaye, Kurvin
Sent: Tuesday, September 18, 2007 3:48 PM
To: CDT General developers list.
Subject: RE: [cdt-dev] Buggy install of CDT 4.0.1 from "Archive site"

 

Hi Mikhail,

               I've opened bug 203740 for the CDT-core team since its from where the bug seems to come from.  However I don't know how to reproduce the bug and it hasn't occured again since I sent the message about it, all I've got is the stack trace, hope its helps.

 

Kurvin

 


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Sennikovsky, Mikhail
Sent: Tuesday, September 18, 2007 1:32 PM
To: CDT General developers list.
Subject: RE: [cdt-dev] Buggy install of CDT 4.0.1 from "Archive site"

Hi Kurvin,

 

This seems like a bug. Could you create a bugzilla regarding this?

 

Thanks,

Mikhila

 


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Canaye, Kurvin
Sent: Monday, September 17, 2007 4:43 PM
To: CDT General developers list.
Subject: RE: [cdt-dev] Buggy install of CDT 4.0.1 from "Archive site"

 

Hi All,
        I do get a NPE sometimes when I launch my workspace.  I do not get the error Message box however. The NPE does not occur each time; it occurs mostly when i click on a project just after launching my workspace and that some background initialisation is being done.

Below is the stack trace for the NPE I get
java.lang.NullPointerException
        at org.eclipse.cdt.core.settings.model.util.PathEntryTranslator.collectEntries(PathEntryTranslator.java:2516)
        at org.eclipse.cdt.core.settings.model.util.PathEntryTranslator.access$11(PathEntryTranslator.java:2515)
        at org.eclipse.cdt.core.settings.model.util.PathEntryTranslator$2.visit(PathEntryTranslator.java:2503)
        at org.eclipse.cdt.core.settings.model.util.PathSettingsContainer.doAccept(PathSettingsContainer.java:514)
        at org.eclipse.cdt.core.settings.model.util.PathSettingsContainer.accept(PathSettingsContainer.java:510)
        at org.eclipse.cdt.core.settings.model.util.PathEntryTranslator.collectEntries(PathEntryTranslator.java:2496)
        at org.eclipse.cdt.internal.core.settings.model.ConfigBasedPathEntryStore.getEntries(ConfigBasedPathEntryStore.java:223)
        at org.eclipse.cdt.internal.core.settings.model.ConfigBasedPathEntryStore.getRawPathEntries(ConfigBasedPathEntryStore.java:105)
        at org.eclipse.cdt.internal.core.model.PathEntryStoreProxy.getRawPathEntries(PathEntryStoreProxy.java:93)
        at org.eclipse.cdt.internal.core.model.PathEntryManager.getRawPathEntries(PathEntryManager.java:620)
        at org.eclipse.cdt.internal.core.model.PathEntryManager.getResolvedPathEntries(PathEntryManager.java:520)
        at org.eclipse.cdt.internal.core.model.PathEntryManager.getResolvedPathEntries(PathEntryManager.java:504)
        at org.eclipse.cdt.internal.core.model.PathEntryManager.getResolvedPathEntries(PathEntryManager.java:491)
        at org.eclipse.cdt.internal.core.model.PathEntryStoreChangedOperation.executeOperation(PathEntryStoreChangedOperation.java:39)
        at org.eclipse.cdt.internal.core.model.CModelOperation.execute(CModelOperation.java:342)
        at org.eclipse.cdt.internal.core.model.CModelOperation.run(CModelOperation.java:607)
        at org.eclipse.cdt.internal.core.model.CModelOperation.runOperation(CModelOperation.java:635)
        at org.eclipse.cdt.internal.core.model.PathEntryManager.pathEntryStoreChanged(PathEntryManager.java:1289)
        at org.eclipse.cdt.internal.core.model.PathEntryStoreProxy.notifyListeners(PathEntryStoreProxy.java:65)
        at org.eclipse.cdt.internal.core.model.PathEntryStoreProxy.fireContentChangedEvent(PathEntryStoreProxy.java:58)
        at org.eclipse.cdt.internal.core.model.PathEntryStoreProxy.postProcessProviderChange(PathEntryStoreProxy.java:133)
        at org.eclipse.cdt.internal.core.settings.model.AbstractCExtensionProxy.checkUpdateProvider(AbstractCExtensionProxy.java:121)
        at org.eclipse.cdt.internal.core.settings.model.AbstractCExtensionProxy.providerRequested(AbstractCExtensionProxy.java:38)
        at org.eclipse.cdt.internal.core.model.PathEntryStoreProxy.getRawPathEntries(PathEntryStoreProxy.java:92)
        at org.eclipse.cdt.internal.core.model.PathEntryManager.getRawPathEntries(PathEntryManager.java:620)
        at org.eclipse.cdt.internal.core.model.PathEntryManager.getResolvedPathEntries(PathEntryManager.java:520)
        at org.eclipse.cdt.internal.core.model.PathEntryManager.getResolvedPathEntries(PathEntryManager.java:504)
        at org.eclipse.cdt.internal.core.model.PathEntryManager.getResolvedPathEntries(PathEntryManager.java:491)
        at org.eclipse.cdt.core.model.CoreModel.getResolvedPathEntries(CoreModel.java:942)
        at org.eclipse.cdt.internal.core.model.CProject.getResolvedPathEntries(CProject.java:402)
        at org.eclipse.cdt.internal.core.model.CProject.getOutputEntries(CProject.java:520)
        at org.eclipse.cdt.internal.core.model.CProject.isOnOutputEntry(CProject.java:557)
        at org.eclipse.cdt.internal.core.model.CModelManager.create(CModelManager.java:328)
        at org.eclipse.cdt.internal.core.model.CModelManager.create(CModelManager.java:235)
        at org.eclipse.cdt.internal.core.model.DeltaProcessor.createElement(DeltaProcessor.java:93)
        at org.eclipse.cdt.internal.core.model.DeltaProcessor.traverseDelta(DeltaProcessor.java:459)
        at org.eclipse.cdt.internal.core.model.DeltaProcessor.traverseDelta(DeltaProcessor.java:480)
        at org.eclipse.cdt.internal.core.model.DeltaProcessor.traverseDelta(DeltaProcessor.java:480)
        at org.eclipse.cdt.internal.core.model.DeltaProcessor.traverseDelta(DeltaProcessor.java:480)
        at org.eclipse.cdt.internal.core.model.DeltaProcessor.processResourceDelta(DeltaProcessor.java:440)
        at org.eclipse.cdt.internal.core.model.CModelManager.resourceChanged(CModelManager.java:783)
        at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:282)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:276)
        at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
        at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:311)
        at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1018)
        at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1433)
        at buildProcess.core.internal.cdtLink.CDTMakefileGenerator.initialize(CDTMakefileGenerator.java:123)
        at org.eclipse.cdt.managedbuilder.internal.core.Builder.getDefaultBuildPath(Builder.java:1755)
        at org.eclipse.cdt.managedbuilder.internal.core.Builder.getBuildPath(Builder.java:1723)
        at org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildBuildData.getBuilderCWD(BuildBuildData.java:34)
        at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultBuildData.copySettingsFrom(CDefaultBuildData.java:54)
        at org.eclipse.cdt.internal.core.settings.model.CBuildSettingCache.<init>(CBuildSettingCache.java:43)
        at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.copyBuildData(CConfigurationDescriptionCache.java:194)
        at org.eclipse.cdt.core.settings.model.extension.impl.CDefaultConfigurationData.copySettingsFrom(CDefaultConfigurationData.java:106)
        at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.loadData(CConfigurationDescriptionCache.java:99)
        at org.eclipse.cdt.internal.core.settings.model.CProjectDescription.loadDatas(CProjectDescription.java:194)
        at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.loadProjectDescription(CProjectDescriptionManager.java:1037)
        at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:538)
        at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:514)
        at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:506)
        at org.eclipse.cdt.internal.core.pdom.PDOMManager.isFullyCreated(PDOMManager.java:668)
        at org.eclipse.cdt.internal.core.pdom.PDOMManager.access$0(PDOMManager.java:667)
        at org.eclipse.cdt.internal.core.pdom.PDOMManager$3.run(PDOMManager.java:629)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Makefile Generator() 

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Eric Noulard
Sent: Monday, September 17, 2007 1:57 PM
To: CDT General developers list.
Subject: [cdt-dev] Buggy install of CDT 4.0.1 from "Archive site"

Hi All,

I wanted to give a try  to CDT refactoring
(http://ifs.hsr.ch/cdtrefactoring/updatesite/)
which seems to need the bleeding edge forthcoming CDT 4.0.1
so I did update my Eclipse Europa + CDT 4.0.0
following instruction on:
http://download.eclipse.org/tools/cdt/builds/4.0.1/I.I200709170100/index.html

"To use this zip file, in the menu Help->SoftwareUpdates->Find and
Install..., select Search for new features to install, click New
Archived Site..., and point at the zip file. The Update Manager will
start up and you can select the features you want to install. You will
at nead require the C/C++ Development Tooling feature which is the CDT
runtime."

I checked all features.
Now on Eclipse Start I have an error box saying:
"Initialize Indexing"
JavaPointerNullException

(screenshot attached)

How can I fix this?
Did I do something wrong?

--
Erk

--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: 125252, Moscow, Russian Federation, 
Chapayevsky Per, 14.
 
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
--------------------------------------------------------------------
Closed Joint Stock Company Intel A/O
Registered legal address: 125252, Moscow, Russian Federation, 
Chapayevsky Per, 14.

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Back to the top