Community
Participate
Working Groups
3.5 M2. I found these two errors in the .log: !ENTRY org.eclipse.pde.api.tools 4 0 2008-09-22 10:37:05.218 !MESSAGE Could not locate method CompletionProposal()V !ENTRY org.eclipse.pde.api.tools 4 0 2008-09-22 10:37:05.280 !MESSAGE Could not locate method BuildContext()V No further info got logged. Sorry, but no further info.
I20081014-1600. When I do a full build I get my log swamped with the entries listed below. I see nothing special/bad in the UI but have no clue at this point whether API tooling is still functional. Marking as 'major' since I have errors in my log and no clue what to do about them. My setup is to have lots of stuff in source from CVS and all required bundles imported as binary. !ENTRY org.eclipse.pde.api.tools 4 0 2008-10-15 10:55:33.495 !MESSAGE Could not locate method CompletionProposal()V !ENTRY org.eclipse.pde.api.tools 4 0 2008-10-15 10:55:33.605 !MESSAGE Could not locate method BuildContext()V !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.686 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.IBasePluginWizard !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.686 !MESSAGE Could not find package org.eclipse.jface.wizard in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.701 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.IBundleContentWizard !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.701 !MESSAGE Could not find package org.eclipse.jface.wizard in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.701 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.IExtensionEditorWizard !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.701 !MESSAGE Could not find package org.eclipse.jface.wizard in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.701 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.IExtensionWizard !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.701 !MESSAGE Could not find package org.eclipse.jface.wizard in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.701 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.IPluginContentWizard !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.701 !MESSAGE Could not find package org.eclipse.jface.wizard in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.717 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.IProvisionerWizard !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.717 !MESSAGE Could not find package org.eclipse.jface.wizard in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.717 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.AbstractLaunchShortcut !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.717 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.733 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.AbstractLauncherTab !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.733 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.733 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.AbstractPDELaunchConfiguration !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.733 !MESSAGE Could not find package org.eclipse.debug.core.model in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.733 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.AbstractPDELaunchConfigurationTabGroup !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.733 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.748 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.BundlesTab !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.748 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.764 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.ConfigurationTab !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.764 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.780 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.EclipseApplicationLaunchConfiguration !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.780 !MESSAGE Could not find package org.eclipse.debug.core.model in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.780 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.EclipseLaunchShortcut !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.780 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.780 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.EclipseLauncherTabGroup !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.780 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.795 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.EquinoxLaunchConfiguration !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.795 !MESSAGE Could not find package org.eclipse.debug.core.model in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.795 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.EquinoxPluginsTab !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.795 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.795 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.EquinoxSettingsTab !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.795 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.826 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.JUnitTabGroup !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.826 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.826 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.JUnitWorkbenchLaunchShortcut !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.826 !MESSAGE Could not find package org.eclipse.jdt.junit.launcher in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.826 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.MainTab !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.826 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.826 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.OSGiLaunchConfigurationDelegate !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.826 !MESSAGE Could not find package org.eclipse.debug.core.model in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.842 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.OSGiLaunchShortcut !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.842 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.842 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.OSGiLauncherTabGroup !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.842 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.842 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.OSGiSettingsTab !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.842 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.858 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.PDESourcePathProvider !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.858 !MESSAGE Could not find package org.eclipse.jdt.launching in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.858 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.PluginJUnitMainTab !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.858 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.873 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.PluginsTab !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.873 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.873 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.launcher.TracingTab !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.873 !MESSAGE Could not find package org.eclipse.debug.ui in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.889 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.templates.AbstractNewPluginTemplateWizard !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.889 !MESSAGE Could not find package org.eclipse.jface.wizard in profile workspace from component org.eclipse.pde.ui during type lookup !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.889 !MESSAGE Could not find package org.eclipse.jface.wizard in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.920 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.templates.NewPluginTemplateWizard !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.920 !MESSAGE Could not find package org.eclipse.jface.wizard in profile workspace from component org.eclipse.pde.ui during type lookup !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.920 !MESSAGE Could not find package org.eclipse.jface.wizard in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.936 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.templates.OptionTemplateWizardPage !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.936 !MESSAGE Could not find package org.eclipse.jface.wizard in profile workspace from component org.eclipse.pde.ui during type lookup !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-15 11:03:53.983 !MESSAGE Problems encountered comparing class file: org.eclipse.pde.ui.templates.PluginReference !SUBENTRY 1 org.eclipse.pde.ui 4 0 2008-10-15 11:03:53.983 !MESSAGE Could not find package org.eclipse.pde.core.plugin in profile workspace from component org.eclipse.pde.ui during type lookup
Ok, I think I found the cause of the problem. When we tried to resolve a type from a package that is located in multiple components, we could not resolve the type if it was not in the first component from the list of components that contains the corresponding package. The two errors about methods that could not be located is related to the default constructor being added. In these two cases, a constructor with arguments has been removed, but no constructor without any argument has been added. So we end up with the default constructor being added for free by the compiler. When we try to find the corresponding member to check the @since tag, we cannot find any since it has no corresponding source.
Created attachment 115810 [details] Proposed fix
Released for 3.5M3. Darin, please verify.
Daniel, If you could try to reproduce with your workspace, or tell me what you have from source and from binaries in your workspace, it would be helpful. Thanks.
Olivier, the steps from bug 251679 give me this in the .log: !ENTRY org.eclipse.pde.api.tools 4 0 2008-10-22 12:03:06.483 !MESSAGE Unable to resolve method signature: org.eclipse.ltk.ui.refactoring.LanguageElementNode#void internalAddChild(ChildNode) Maybe that's related to this bug?
It is not related to this bug. I think it is a separate issue.
OK. I did a restart and rebuild (clean) and can only see those using I20081022-0905: !ENTRY org.eclipse.pde.api.tools 4 0 2008-10-22 16:11:14.736 !MESSAGE Could not locate method CompletionProposal()V !ENTRY org.eclipse.pde.api.tools 4 0 2008-10-22 16:11:14.876 !MESSAGE Could not locate method BuildContext()V !ENTRY org.eclipse.pde.api.tools 4 0 2008-10-22 16:14:16.051 !MESSAGE Unable to resolve method signature: org.eclipse.ltk.ui.refactoring.LanguageElementNode#void internalAddChild(ChildNode) ==> no steps for this !MESSAGE Problems encountered comparing class file: ...
(In reply to comment #8) > OK. I did a restart and rebuild (clean) and can only see those using > I20081022-0905: > !ENTRY org.eclipse.pde.api.tools 4 0 2008-10-22 16:11:14.736 > !MESSAGE Could not locate method CompletionProposal()V > !ENTRY org.eclipse.pde.api.tools 4 0 2008-10-22 16:11:14.876 > !MESSAGE Could not locate method BuildContext()V You got this with the patch for this bug ? !ENTRY org.eclipse.pde.api.tools 4 0 2008-10-22 16:14:16.051 !MESSAGE Unable to resolve method signature: org.eclipse.ltk.ui.refactoring.LanguageElementNode#void internalAddChild(ChildNode) This one is related to an exception happening during the api description reading.
Re-opening, Olivier is seeing some of these errors.
I'll rebuild my workspace from scratch. I think I had an invalid PDE target platform.
This time I get errors related to types in the JRE: !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-27 17:33:06.781 !MESSAGE Problems encountered comparing class file: org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate !SUBENTRY 1 org.eclipse.pde.api.tools 4 0 2008-10-27 17:33:06.781 !MESSAGE Unable to resolve super interface java.util.EventListener for org.eclipse.swt.internal.SWTEventListener !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-27 17:33:06.796 !MESSAGE Problems encountered comparing class file: org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate !SUBENTRY 1 org.eclipse.pde.api.tools 4 0 2008-10-27 17:33:06.796 !MESSAGE Unable to resolve super interface java.util.EventListener for org.eclipse.swt.internal.SWTEventListener !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-27 17:33:06.937 !MESSAGE Problems encountered comparing class file: org.eclipse.debug.ui.contexts.DebugContextEvent !SUBENTRY 1 org.eclipse.pde.api.tools 4 0 2008-10-27 17:33:06.937 !MESSAGE Unable to resolve superclass java.util.EventObject for org.eclipse.debug.ui.contexts.DebugContextEvent !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-27 17:33:07.046 !MESSAGE Problems encountered comparing class file: org.eclipse.debug.ui.memory.AbstractTableRendering !SUBENTRY 1 org.eclipse.pde.api.tools 4 0 2008-10-27 17:33:07.046 !MESSAGE Unable to resolve super interface java.util.EventListener for org.eclipse.jface.util.IPropertyChangeListener !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-27 17:33:07.062 !MESSAGE Problems encountered comparing class file: org.eclipse.debug.ui.memory.AbstractTextRendering !SUBENTRY 1 org.eclipse.pde.api.tools 4 0 2008-10-27 17:33:07.062 !MESSAGE Unable to resolve super interface java.util.EventListener for org.eclipse.jface.util.IPropertyChangeListener !ENTRY org.eclipse.pde.api.tools 4 0 2008-10-27 17:33:10.515 !MESSAGE Unable to resolve super interface java.util.EventListener for org.eclipse.jface.util.IPropertyChangeListener !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-27 17:33:28.328 !MESSAGE Problems encountered comparing class file: org.eclipse.jdt.core.BufferChangedEvent !SUBENTRY 1 org.eclipse.pde.api.tools 4 0 2008-10-27 17:33:28.328 !MESSAGE Unable to resolve superclass java.util.EventObject for org.eclipse.jdt.core.BufferChangedEvent !ENTRY org.eclipse.pde.api.tools 4 4 2008-10-27 17:33:28.406 !MESSAGE Problems encountered comparing class file: org.eclipse.jdt.core.ElementChangedEvent !SUBENTRY 1 org.eclipse.pde.api.tools 4 0 2008-10-27 17:33:28.406 !MESSAGE Unable to resolve superclass java.util.EventObject for org.eclipse.jdt.core.ElementChangedEvent I am investigating.
I also had them again using I20081027-0800 (see attached log.txt). >I'll rebuild my workspace from scratch. I think I had an invalid PDE target >platform. Might be, but the real problem is that while the workspace can compile without problems there are some of the plug-ins missing (either from workspace or from target, depending on your setup). PDE doesn't report that. Why? Example: B imported as binary plug-in, requires A C in source, requires B ==> everything compiles just fine but API tooling might not find everything that's needed. Also, launching will disable C since A is missing. In my concrete case I had PDE UI and PDE API tooling as source and all but most p2 plug-ins imported as binary. Both source plug-ins complied just fine. I think API tooling should not only log the error but also create an error marker on those projects it can't validate due to such errors and then stop. Like JDT Core does when it detects a build path error. In fact PDE should check binary plug-ins in my workspace for required plug-ins as this leads to many problems, not just API tooling: also JDT Core has troubles creating correct type hierarchies or resolving code (this is requested by bug 194777).
Created attachment 116265 [details] log
Then this is a separate issue. This bug was about not being able to resolve some types when all bundles were actually available. I'll open a new bug report to be more resilient when some bundles are missing.
See bug 252386. Closing this one as FIXED as the original pb is fixed (Could not retrieve some class files which were available. See first patch).
Verified.