facebook

Structured Builder error [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #232195 Reply

    Steve
    Member

    I installed eclipse 3.1 on fedora core 4 and MyEclipse 4.0M2_E3.1 Manual install. When I start Eclipse, I get ” an internal error occurred during: Structured Builder”. I saw a post from 2004 suggesting deleting configuration directory and restarting; Tried that. Eclipse then would not start.

    Any suggestions?

    Thanks, Steve

    #232202 Reply

    Scott Anderson
    Participant

    Steve,

    Try starting Eclipse with the -clean option: eclipse.exe -clean

    If that doesn’t do it, you may need to reinstall due to the deletion of the config dir; that trick doesn’t really work anymore, as you’ve seen.

    #232209 Reply

    Steve
    Member

    /usr/local/eclipse/eclipse -clean had no effect. Structured Builder still occurs. Also tried reinstall. No love.

    Any more ideas?

    Thanks, Steve

    #232210 Reply

    Scott Anderson
    Participant

    Steve,

    Does this occur on a new project, or one you’ve been working on for awhile? Do all of the other MyEclipse features show that they’re installed under About > Eclipse SDK? Other than the error in the log, is any impact noticable? Can you create a new project in such a way that the error occurs? Can you create a new project like your existing one (web or whatever), and copy all your application-sepcific content into it and see if the error occurs in that project?

    Also, we’re going to need the full stacktrace from the error log (<workspace>/.log) in order to diagnose, along with any other exceptions that might be in there from the current install.

    #232213 Reply

    Steve
    Member

    The problem seems to have to do with fedora’s versions of some shared libraries.
    The problen occurs on startup. I can create and open projects.I cannot edit an XML or JSP file.

    .log text follows

    I appreciate your help
    Steve

    !ENTRY org.eclipse.osgi 2005-07-02 14:38:44.406
    !MESSAGE Error while stopping “org.eclipse.webbrowser_13.8.4”.
    !STACK 0
    org.osgi.framework.BundleException: Exception in org.eclipse.webbrowser.internal.WebBrowserUIPlugin.stop() of bundle org.eclipse.webbrowser.
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop() (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(boolean) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop() (Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.BundleStopper.basicStopBundles() (Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.BundleStopper.stopBundles() (Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(org.osgi.framework.BundleContext) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown() (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run() (Unknown Source)
    at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
    Caused by: java.lang.NoClassDefFoundError: com.genuitec.eclipse.integration.Integrator
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
    at org.eclipse.webbrowser.internal.WebBrowserUIPlugin.stop(org.osgi.framework.BundleContext) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run() (Unknown Source)
    at java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction) (/usr/lib/libgcj.so.6.0.0)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop() (Unknown Source)
    …8 more
    Root exception:
    java.lang.NoClassDefFoundError: com.genuitec.eclipse.integration.Integrator
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
    at org.eclipse.webbrowser.internal.WebBrowserUIPlugin.stop(org.osgi.framework.BundleContext) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run() (Unknown Source)
    at java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction) (/usr/lib/libgcj.so.6.0.0)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop() (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(boolean) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.stop() (Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.BundleStopper.basicStopBundles() (Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.BundleStopper.stopBundles() (Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStopping(org.osgi.framework.BundleContext) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown() (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.SystemBundle$1.run() (Unknown Source)
    at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
    !SESSION 2005-07-02 14:38:54.709 ———————————————–
    eclipse.buildId=I20050627-1435
    java.fullversion=GNU libgcj 4.0.0 20050519 (Red Hat 4.0.0-8)
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Command-line arguments: -os linux -ws gtk -arch x86 -clean

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-07-02 14:39:36.484
    !MESSAGE Unable install snippet library: /usr/local/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_3.9.210/snippets/struts_logic_snippets.xml
    !STACK 0
    gnu.xml.dom.ls.DomLSException: required character (found “㰿”) (expected “<“)
    at gnu.xml.dom.ls.DomLSParser.doParse(org.w3c.dom.ls.LSInput) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.dom.ls.DomLSParser.parse(org.w3c.dom.ls.LSInput) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.dom.DomDocumentBuilder.parse(org.xml.sax.InputSource) (/usr/lib/libgcj.so.6.0.0)
    at com.ibm.sse.snippets.internal.palette.ModelFactoryForUser.load(java.lang.String) (Unknown Source)
    at com.ibm.sse.snippets.internal.palette.ModelFactoryForUser.loadCurrent() (Unknown Source)
    at com.ibm.sse.snippets.internal.model.SnippetManager.loadDefinitions() (Unknown Source)
    at com.ibm.sse.snippets.internal.model.SnippetManager.getDefinitions() (Unknown Source)
    at com.genuitec.eclipse.snippetinstaller.SnippetInstaller.installLibrary(java.lang.String) (Unknown Source)
    at com.aston.AstonWizardsPlugin.installSnippetLibraries() (Unknown Source)
    at com.aston.AstonWizardsPlugin.startup() (Unknown Source)
    at org.eclipse.core.internal.compatibility.PluginActivator.start(org.osgi.framework.BundleContext) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run() (Unknown Source)
    at java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction) (/usr/lib/libgcj.so.6.0.0)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(org.osgi.framework.BundleActivator) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start() (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(boolean) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start() (Unknown Source)
    at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation() (Unknown Source)
    at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin() (Unknown Source)
    at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/lib/libgcj.so.6.0.0)
    at org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCompatibility() (Unknown Source)
    at org.eclipse.ui.internal.EarlyStartupRunnable.run() (Unknown Source)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(org.eclipse.core.runtime.ISafeRunnable) (Unknown Source)
    at org.eclipse.core.runtime.Platform.run(org.eclipse.core.runtime.ISafeRunnable) (Unknown Source)
    at org.eclipse.ui.internal.Workbench$20.run(org.eclipse.core.runtime.IProgressMonitor) (Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run() (Unknown Source)
    at .GC_start_routine (/usr/lib/libgcj.so.6.0.0)
    at .__clone (/lib/libc-2.3.5.so)
    Caused by: org.xml.sax.SAXParseException@49ed988
    at gnu.xml.aelfred2.SAXDriver.fatal(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.XmlParser.error(java.lang.String, java.lang.String, java.lang.String) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.XmlParser.error(java.lang.String, char, java.lang.String) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.XmlParser.require(char) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.XmlParser.parseDocument() (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.XmlParser.doParse(java.lang.String, java.lang.String, java.io.Reader, java.io.InputStream, java.lang.String) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.SAXDriver.parse(org.xml.sax.InputSource) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.XmlReader.parse(org.xml.sax.InputSource) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.dom.ls.DomLSParser.doParse(org.w3c.dom.ls.LSInput) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.dom.ls.DomLSParser.parse(org.w3c.dom.ls.LSInput) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.dom.DomDocumentBuilder.parse(org.xml.sax.InputSource) (/usr/lib/libgcj.so.6.0.0)
    at com.ibm.sse.snippets.internal.palette.ModelFactoryForUser.load(java.lang.String) (Unknown Source)
    at com.ibm.sse.snippets.internal.palette.ModelFactoryForUser.loadCurrent() (Unknown Source)
    at com.ibm.sse.snippets.internal.model.SnippetManager.loadDefinitions() (Unknown Source)
    at com.ibm.sse.snippets.internal.model.SnippetManager.getDefinitions() (Unknown Source)
    at com.genuitec.eclipse.snippetinstaller.SnippetInstaller.installLibrary(java.lang.String) (Unknown Source)
    at com.aston.AstonWizardsPlugin.installSnippetLibraries() (Unknown Source)
    at com.aston.AstonWizardsPlugin.startup() (Unknown Source)
    at org.eclipse.core.internal.compatibility.PluginActivator.start(org.osgi.framework.BundleContext) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run() (Unknown Source)
    at java.security.AccessController.doPrivileged(java.security.PrivilegedExceptionAction) (/usr/lib/libgcj.so.6.0.0)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(org.osgi.framework.BundleActivator) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start() (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(boolean) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start() (Unknown Source)
    at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation() (Unknown Source)
    at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin() (Unknown Source)
    at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/lib/libgcj.so.6.0.0)
    at org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCompatibility() (Unknown Source)
    at org.eclipse.ui.internal.EarlyStartupRunnable.run() (Unknown Source)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(org.eclipse.core.runtime.ISafeRunnable) (Unknown Source)
    at org.eclipse.core.runtime.Platform.run(org.eclipse.core.runtime.ISafeRunnable) (Unknown Source)
    at org.eclipse.ui.internal.Workbench$20.run(org.eclipse.core.runtime.IProgressMonitor) (Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run() (Unknown Source)

    !ENTRY com.genuitec.eclipse.wizards 1 0 2005-07-02 14:39:39.489
    !MESSAGE Unable install snippet library: /usr/local/MyEclipse/eclipse/plugins/com.genuitec.eclipse.wizards_3.9.210/snippets/struts_logic_snippets.xml
    !STACK 0
    gnu.xml.dom.ls.DomLSException: required character (found “㰿”) (expected “<“)
    at gnu.xml.dom.ls.DomLSParser.doParse(org.w3c.dom.ls.LSInput) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.dom.ls.DomLSParser.parse(org.w3c.dom.ls.LSInput) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.dom.DomDocumentBuilder.parse(org.xml.sax.InputSource) (/usr/lib/libgcj.so.6.0.0)
    at com.ibm.sse.snippets.internal.palette.ModelFactoryForUser.load(java.lang.String) (Unknown Source)
    at com.ibm.sse.snippets.internal.palette.ModelFactoryForUser.loadCurrent() (Unknown Source)
    at com.ibm.sse.snippets.internal.model.SnippetManager.loadDefinitions() (Unknown Source)
    at com.ibm.sse.snippets.internal.model.SnippetManager.getDefinitions() (Unknown Source)
    at com.genuitec.eclipse.snippetinstaller.SnippetInstaller.installLibrary(java.lang.String) (Unknown Source)
    at com.aston.AstonWizardsPlugin.installSnippetLibraries() (Unknown Source)
    at com.aston.AstonWizardsPlugin.startup() (Unknown Source)
    at com.aston.AstonWizardsPlugin.earlyStartup() (Unknown Source)
    at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(java.lang.Object) (Unknown Source)
    at org.eclipse.ui.internal.EarlyStartupRunnable.run() (Unknown Source)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(org.eclipse.core.runtime.ISafeRunnable) (Unknown Source)
    at org.eclipse.core.runtime.Platform.run(org.eclipse.core.runtime.ISafeRunnable) (Unknown Source)
    at org.eclipse.ui.internal.Workbench$20.run(org.eclipse.core.runtime.IProgressMonitor) (Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run() (Unknown Source)
    at .GC_start_routine (/usr/lib/libgcj.so.6.0.0)
    at .__clone (/lib/libc-2.3.5.so)
    Caused by: org.xml.sax.SAXParseException@7d83f50
    at gnu.xml.aelfred2.SAXDriver.fatal(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.XmlParser.error(java.lang.String, java.lang.String, java.lang.String) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.XmlParser.error(java.lang.String, char, java.lang.String) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.XmlParser.require(char) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.XmlParser.parseDocument() (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.XmlParser.doParse(java.lang.String, java.lang.String, java.io.Reader, java.io.InputStream, java.lang.String) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.SAXDriver.parse(org.xml.sax.InputSource) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.aelfred2.XmlReader.parse(org.xml.sax.InputSource) (/usr/lib/libgcj.so.6.0.0)
    at gnu.xml.dom.ls.DomLSParser.doParse(org.w3c.dom.ls.LSInput) (/usr/lib/libgcj.so.6.0.0)
    …18 more

    !ENTRY org.eclipse.core.runtime 4 2 2005-07-02 14:39:41.443
    !MESSAGE An internal error occurred during: “Structured Builder”.
    !STACK 0
    java.lang.NoClassDefFoundError: while resolving class: com.genuitec.eclipse.integration.Integrator
    at java.lang.VMClassLoader.transformException(java.lang.Class, java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0)
    at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.6.0.0)
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
    at com.ibm.sse.model.internal.builder.StructuredDocumentBuilder.add(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.resources.IWorkspaceRoot) (Unknown Source)
    at com.ibm.sse.model.ModelPlugin$1.run(org.eclipse.core.runtime.IProgressMonitor) (Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run() (Unknown Source)
    at .GC_start_routine (/usr/lib/libgcj.so.6.0.0)
    at .__clone (/lib/libc-2.3.5.so)
    Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.internal.win32.LOGFONT
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(java.lang.String, boolean) (Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(java.lang.String) (Unknown Source)
    at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(java.lang.String, boolean) (Unknown Source)
    at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
    at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
    …7 more

    !ENTRY org.eclipse.ui.workbench 4 2 2005-07-02 14:39:42.25
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.
    !STACK 0
    java.lang.NoClassDefFoundError: com.genuitec.eclipse.integration.Integrator
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
    at com.ibm.xsdeditor.internal.XSDEditorPlugin.earlyStartup() (Unknown Source)
    at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(java.lang.Object) (Unknown Source)
    at org.eclipse.ui.internal.EarlyStartupRunnable.run() (Unknown Source)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(org.eclipse.core.runtime.ISafeRunnable) (Unknown Source)
    at org.eclipse.core.runtime.Platform.run(org.eclipse.core.runtime.ISafeRunnable) (Unknown Source)
    at org.eclipse.ui.internal.Workbench$20.run(org.eclipse.core.runtime.IProgressMonitor) (Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run() (Unknown Source)
    at .GC_start_routine (/usr/lib/libgcj.so.6.0.0)
    at .__clone (/lib/libc-2.3.5.so)

    !ENTRY org.eclipse.ui 4 4 2005-07-02 14:39:42.74
    !MESSAGE Unhandled Exception

    !ENTRY com.ibm.xsdeditor 4 0 2005-07-02 14:39:42.74
    !MESSAGE Unable to execute early startup code for an extension
    !STACK 0
    java.lang.NoClassDefFoundError: com.genuitec.eclipse.integration.Integrator
    at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
    at com.ibm.xsdeditor.internal.XSDEditorPlugin.earlyStartup() (Unknown Source)
    at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(java.lang.Object) (Unknown Source)
    at org.eclipse.ui.internal.EarlyStartupRunnable.run() (Unknown Source)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(org.eclipse.core.runtime.ISafeRunnable) (Unknown Source)
    at org.eclipse.core.runtime.Platform.run(org.eclipse.core.runtime.ISafeRunnable) (Unknown Source)
    at org.eclipse.ui.internal.Workbench$20.run(org.eclipse.core.runtime.IProgressMonitor) (Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run() (Unknown Source)
    at .GC_start_routine (/usr/lib/libgcj.so.6.0.0)
    at .__clone (/lib/libc-2.3.5.so)

    #232219 Reply

    Scott Anderson
    Participant

    To me, it looks like the issue is the Java you’re using to start Eclipse. Using libgcj isn’t going to cut it. You need to use a full Sun SDK. In order to force Eclipse to use a particular JVM, use: eclipse -vm <path-to-JDK-1.4.2>/bin/javaw.exe

    That should do the trick.

    #232223 Reply

    Steve
    Member

    You da man! Problem solved.

    Thanks very much for your help.

    Steve

    #239906 Reply

    mapnjd
    Member

    Cool people. This fix is also required on Ubuntu 5.10

    #258431 Reply

    mariobalaban
    Member

    I have the same problem with ubuntu 6.06 and eclipse 3.1.2. Using -clear o -vm <javapath>bin/java solves the problem, but for me it doesnt seem very elegant.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Structured Builder error [Closed]

You must be logged in to post in the forum log in