From owner-freebsd-eclipse@FreeBSD.ORG Mon Oct 7 05:55:50 2013 Return-Path: Delivered-To: freebsd-eclipse@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 416C441A for ; Mon, 7 Oct 2013 05:55:50 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EA06025F5 for ; Mon, 7 Oct 2013 05:55:49 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id r975teQ8000839; Sun, 6 Oct 2013 23:55:41 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Message-ID: <52524CDC.4090901@dreamchaser.org> Date: Sun, 06 Oct 2013 23:55:40 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130730 Thunderbird/17.0.7 MIME-Version: 1.0 To: Randall Stewart Subject: Re: Trouble with the latest eclipse... References: <2D370F79-E425-4A7F-BA3E-80BEFF769EF8@lakerest.net> <230881B3-C8ED-478C-8779-20521DA5F6DF@lakerest.net> In-Reply-To: <230881B3-C8ED-478C-8779-20521DA5F6DF@lakerest.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Sun, 06 Oct 2013 23:55:41 -0600 (MDT) Cc: freebsd-eclipse@freebsd.org X-BeenThere: freebsd-eclipse@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd@dreamchaser.org List-Id: "FreeBSD users of eclipse EDI, tools, rich client apps & ports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Oct 2013 05:55:50 -0000 On 10/05/13 04:48, Randall Stewart wrote: > Ok > > After digging more, I de-installed all eclipse packages > then I re-installed everything.. without the google GWiT stuff > which is what I am trying to play with. > > With the following packages installed: > > bigscreen% pkg info | grep eclipse > eclipse-3.7.1_4 An open extensible IDE for anything and nothing in particular > eclipse-PropertiesEditor-4.8.2_3 Properties editor for eclipse > eclipse-ShellEd-1.0.2a_3 ShellEd is a superb shell script editor for Eclipse > eclipse-cdt-6.0.2_1 C/C++ plugin for Eclipse IDE > eclipse-datatools-1.11 Data Tools Platform for the Eclipse IDE > eclipse-emf-2.7.2 Eclipse Modeling Framework > eclipse-examples-3.0_6 Examples for the Eclipse IDE > eclipse-findbugs-1.3.2.20080222_4 An Eclipse plug-in that provides FindBugs support > eclipse-gef-3.7.2 Graphical Editing Framework for the Eclipse IDE > eclipse-gef-examples-3.0_6 Graphical Editing Framework for the Eclipse IDE (examples) > eclipse-jad-3.3.0_4 Jad Java decompiler plugin for the Eclipse IDE > eclipse-pmd-2.0.5.v3_6 Scan Java source code and look for potential problems > eclipse-pydev-2.8.1 Eclipse plugin for Python and Jython development > eclipse-sysdeo-tomcat-3.1.0_4 Sysdeo Tomcat Launcher plugin for Eclipse > eclipse-webtools-3.3.2 Webtools for eclipse > > When I just do any help selection in eclipse I get: > > > bigscreen% eclipse > 2013-10-05 06:44:54.131:WARN::ERROR: Error for /help/index.jsp > java.lang.NoClassDefFoundError: org/apache/tomcat/PeriodicEventListener > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:634) > at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188) > at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:601) > at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:567) > at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:490) > at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:478) > at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:458) > at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216) > at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400) > at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35) > at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464) > at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429) > at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) > at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) > at java.lang.ClassLoader.loadClass(ClassLoader.java:266) > at org.eclipse.equinox.jsp.jasper.JspServlet.(JspServlet.java:101) > at org.eclipse.equinox.jsp.jasper.registry.JSPFactory.create(JSPFactory.java:56) > at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:262) > at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) > at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.initializeDelegate(ServletManager.java:194) > at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:179) > at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) > at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126) > at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) > at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:317) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > at org.mortbay.jetty.Server.handle(Server.java:326) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) > at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:924) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) > at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) > > > So what am I missing? > > clues (I have none) would be most helpful. Or is eclipse just hopelessly broken in > FreeBSD and I need to use a mac.. I am definitely willing to bet it something I forgot > to do too.. (at least I hope its not broken in FreeBSD :-() > > Thanks > > R > > On Oct 5, 2013, at 5:36 AM, Randall Stewart wrote: > >> >> Howdy: >> >> I am are real newbie to eclipse, and I seem to be having difficulties getting >> the basics to work. >> >> I have installed it from the latest ports. Note I am running head. >> >> Now the thing is I can bring up eclipse and it seems to work. But if I bring up >> "help" I get a java exception ;-( >> >> java.lang.NullPointerException >> at org.eclipse.help.internal.server.JettyHelpServer.checkBundle(JettyHelpServer.java:124) >> … >> >> Any thoughts on what silly thing I did wrong would be appreciated :-) >> >> Thanks >> R >> ------------------------------ >> Randall Stewart Hi Randall, I believe the problem is specific to the help system in the eclipse port. I have eclipse indigo (from ports) installed on a 9.2 system and it seems to work on java code with only eclipse installed. The only other package I have installed is eclipse-cdt which does not work as it is missing some native methods specific to freebsd. pkg info | grep eclipse eclipse-3.7.1_4 An open extensible IDE for anything and nothing in particular eclipse-cdt-6.0.2_1 C/C++ plugin for Eclipse IDE The jar file containing the missing class (org.apache.tomcat.PeriodicEventListener) is present (/usr/local/lib/eclipse/plugins/org.apache.tomcat_7.0.21.jar), but there is something screwed up; I don't have a clue what it is as the source in the build is simply a .class file. None of this is much help if you aren't already somewhat familiar with eclipse, as you probably want the help system. But the base eclipse seems to work with a simple test program. Gary