Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2013 18:24:07 -0500
From:      Jimmy Kelley <ljboiler@gmail.com>
To:        freebsd-eclipse@freebsd.org
Cc:        rrs@lakerest.net
Subject:   Re: Trouble with the latest eclipse...
Message-ID:  <20131005232407.GA1460@jmobile.jimmy.localnet>
In-Reply-To: <0641ABA4-447F-4878-BEAD-E06472490763@lakerest.net>
References:  <2D370F79-E425-4A7F-BA3E-80BEFF769EF8@lakerest.net> <230881B3-C8ED-478C-8779-20521DA5F6DF@lakerest.net> <59BEB3AA-C1CB-493F-8145-1F314BDE4C11@neville-neil.com> <0641ABA4-447F-4878-BEAD-E06472490763@lakerest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Randall:

You wouldn't by chance have initially been trying this on FreeBSD 10,
would you?

It's been a while since I've built eclipse-devel (Juno) but I had
no problems with it a couple of months ago.  I've been trying to
get Eclipse Kepler working and had deleted the -devel version, but
after seeing your post I thought I'd try it and sure enough it
wouldn't build for me either.  The problem I see is that there are
a few hard-coded references to "gcc" in some of the makefiles, etc.,
and the latest FreeBSD 10 has dumped gcc in favor of clang as the
default toolset (which happened AFTER my inital install of eclipse-devel
on 10-CURRENT).

I'll submit a PR and patch for this.

The problem with the help on plain eclipse (Indigo) is something else,
but help DOES work on the -devel version.

Jimmy

On Sat, Oct 05, 2013 at 12:18:02PM -0400, Randall Stewart wrote:
> George:
> 
> Well thats interesting, the build of eclipse-devel failed .. so I backed
> away from that one.
> 
> I did go to the trouble this AM of finding an old 64 bit machine that
> was powered off, pieced together a couple of disks and such. Installed
> a fresh 9.2 release into it.
> 
> Then pkg_add'd gnome2 and x11
> and then all the eclipse packages (not the devel version).
> 
> And I get the same set of errors when I bring up the help contents.
> 
> Now I can do other things in either one, I will try putting the devel version
> on the 9.2 machine and see what happens ;-)
> 
> R
> On Oct 5, 2013, at 10:15 AM, George Neville-Neil wrote:
> 
> > 
> > On Oct 5, 2013, at 6:48 , Randall Stewart <rrs@lakerest.net> 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.
> >> 
> > 
> > 
> > I have not played with the Google GWiT stuff but I have found that the eclipse-devle package works
> > better for me than the vanilla version.  I have been trying to find the time to do the relevant
> > upgrades but haven't been able to fully follow up on that.  I have used the eclipse-devel package
> > to reasonable effect.  Give that a try.
> > 
> > Best,
> > George
> > 
> >> 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.<init>(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
> >>> 803-317-4952 (cell)
> >>> 
> >>> _______________________________________________
> >>> freebsd-eclipse@freebsd.org mailing list
> >>> http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
> >>> To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@freebsd.org"
> >>> 
> >> 
> >> ------------------------------
> >> Randall Stewart
> >> 803-317-4952 (cell)
> >> 
> >> _______________________________________________
> >> freebsd-eclipse@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
> >> To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@freebsd.org"
> > 
> 
> ------------------------------
> Randall Stewart
> 803-317-4952 (cell)
> 
> _______________________________________________
> freebsd-eclipse@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-eclipse
> To unsubscribe, send any mail to "freebsd-eclipse-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131005232407.GA1460>