Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Oct 2013 23:55:40 -0600
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        Randall Stewart <rrs@lakerest.net>
Cc:        freebsd-eclipse@freebsd.org
Subject:   Re: Trouble with the latest eclipse...
Message-ID:  <52524CDC.4090901@dreamchaser.org>
In-Reply-To: <230881B3-C8ED-478C-8779-20521DA5F6DF@lakerest.net>
References:  <2D370F79-E425-4A7F-BA3E-80BEFF769EF8@lakerest.net> <230881B3-C8ED-478C-8779-20521DA5F6DF@lakerest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.<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


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









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