[Common navigator] - Weird warning/error messages on startup [message #674573] |
Fri, 27 May 2011 07:43  |
Eclipse User |
|
|
|
Hello!
I'm creating a plugin. When I start the product from within the eclipse, I can decide whether to clean the previous product's workspace or not.
If I clean it, it works fine.
If I start the second time the product without cleaning the workspace I get this:
!ENTRY org.eclipse.ui 4 4 2011-05-27 14:37:29.983
!MESSAGE Unable to find element factory: org.wesnoth.navigator.WesnothProjectsExplorer
!ENTRY org.eclipse.ui 4 4 2011-05-27 14:37:29.990
!MESSAGE Unable to restore page - cannot instantiate input factory: org.wesnoth.navigator.WesnothProjectsExplorer
!ENTRY org.eclipse.ui 4 4 2011-05-27 14:37:29.992
!MESSAGE Unable to restore page - cannot instantiate input element: org.wesnoth.navigator.WesnothProjectsExplorer
!ENTRY org.eclipse.ui 4 0 2011-05-27 14:37:32.109
!MESSAGE Problems occurred restoring workbench.
!SUBENTRY 1 unknown 0 0 2011-05-27 14:37:32.109
!MESSAGE OK
!SUBENTRY 1 unknown 0 0 2011-05-27 14:37:32.109
!MESSAGE OK
!SUBENTRY 1 unknown 0 0 2011-05-27 14:37:32.110
!MESSAGE OK
!SUBENTRY 1 unknown 0 0 2011-05-27 14:37:32.110
!MESSAGE OK
!SUBENTRY 1 org.eclipse.ui 4 0 2011-05-27 14:37:32.110
!MESSAGE Unable to restore perspective: Workspace - Wesnoth.
!SUBENTRY 1 org.eclipse.ui 4 0 2011-05-27 14:37:32.111
!MESSAGE Unable to restore perspective: Workspace - Wesnoth.
!SUBENTRY 1 unknown 0 0 2011-05-27 14:37:32.112
!MESSAGE OK
My projects explorer class contents is here: http://pastebin.com/Vs0ne7pU
Part of plugin.xml that is relevant to this:
<extension
point="org.eclipse.ui.views">
<category
name="Wesnoth"
id="org.wesnoth.views">
</category>
<view
category="org.wesnoth.views"
class="org.wesnoth.navigator.WesnothProjectsExplorer"
icon="icons/wesnoth-icon_16.png"
id="org.wesnoth.navigator.WesnothProjectsExplorer"
name="Wesnoth Projects">
</view>
</extension>
<extension
point="org.eclipse.ui.navigator.navigatorContent">
<commonFilter
activeByDefault="true"
id="org.wesnoth.navigator.filters.hideAutoLinkedProject"
name="Hide Autolinked CFG Projects">
<filterExpression>
<or>
<adapt
type="org.eclipse.core.resources.IProject">
<test
property="org.eclipse.core.resources.name"
value="_AutoLinked_CFGExternalFiles_">
</test>
</adapt>
</or></filterExpression>
</commonFilter>
<navigatorContent
activeByDefault="true"
id="org.wesnoth.navigator.wmlProjectDataCore"
name="Core"
priority="highest">
<triggerPoints>
<or>
<and>
<instanceof
value="org.eclipse.core.resources.IProject">
</instanceof></and>
</or></triggerPoints>
</navigatorContent>
<commonFilter
activeByDefault="true"
id="org.wesnoth.navigator.filters.buildxml"
name="Hide build.xml">
<filterExpression>
<or>
<adapt
type="org.eclipse.core.resources.IFile">
<test
property="org.eclipse.core.resources.name"
value="build.xml">
</test>
</adapt>
</or>
</filterExpression>
</commonFilter>
</extension>
<extension
point="org.eclipse.ui.navigator.viewer">
<viewer
viewerId="org.wesnoth.navigator.WesnothProjectsExplorer">
</viewer>
<viewerContentBinding
viewerId="org.wesnoth.navigator.WesnothProjectsExplorer">
<includes>
<contentExtension
pattern="org.eclipse.ui.navigator.resourceContent">
</contentExtension>
<contentExtension
pattern="org.eclipse.ui.navigator.resources.filters.*">
</contentExtension>
<contentExtension
pattern="org.wesnoth.navigator.filters.*">
</contentExtension>
</includes>
</viewerContentBinding>
<viewerActionBinding
viewerId="org.wesnoth.navigator.WesnothProjectsExplorer">
<includes>
<actionExtension
pattern="org.eclipse.ui.navigator.resources.*">
</actionExtension>
</includes>
</viewerActionBinding>
</extension>
Could anyone tell me what could be the problem?
Thanks,
Timo
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.27078 seconds