[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Eclipse Bug - welcome & help

exquisitus wrote:


I have received the contribution below from the freebsd maintainer. Is there any chanvce that you two guys could get together. It looks as though he feels there are some significant problems with the help system. Perhaps you guys could work together on this if you feel so inclined.

David
--------------------------------------------------------------

Re: Bug eclipse ---help requested
 From: Alex Varju <alex@xxxxxxxx>
 To: freebsd-java@xxxxxxxxxxx

It looks like you are using the eclipse 3.1M7 milestone. There are problems with the help system in the current patchset, which I haven't had any time to track down yet.

3.1RC1 is out now, so I'm looking into updating the eclipse-devel port to match this. If I have some time, I'll try to get help working, but I'm not optimistic.

Last time I looked at the help, non-Windows support was pretty flaky. They appeared to be making some calls that assumed a specific Mozilla API, which no longer worked well with newer versions of Mozilla. I'm not sure if the current state of affairs has changed, or if I even fully understood why things were failing.

Alex.
-------------------------------------------------------

Re: Bug eclipse ---help requested
From: Alex Varju <alex@xxxxxxxx>
To: freebsd-java@xxxxxxxxxxx
CC: Vizion <vizion@xxxxxxxxxxxxxxxxxxxx>

I've prepared an initial port of 3.1RC1, if you are interested. I haven't downloaded the Linux package yet to compare file locations, but at first glance the help contents appear to display correctly after configuring an external browser.

The port files are here:

  http://www.varju.ca/alex/freebsd/eclipse-devel-3.1RC1-1.tgz

I'll probably submit a PR for this in the next day or two.

Alex.
---------------------------------------------

On Saturday 04 June 2005 23:27, the author Vizion contributed to the dialogue on-
Re: Bug eclipse ---help requested:


On Saturday 04 June 2005 21:10,  the author Vizion contributed to the
dialogue on-
Re: Bug eclipse ---help requested:

The news is not good -- still got exactly the same problem. I tried it with
both mozilla and mozilla firefox but no good.
------ADD something interest-- changed the browser to /usr/X11R6/bin/mozilla
and I got the welcome page working BUT still no help
-------------------------------------------------------------



I noticed that when the application first booted the load sequence seemed to show help files being loaded -- but when you try and access the help or the 4 main links on the welcome page I have the same results.

I get the impression that the path to the help files is getting screwed up.
However I have no evidence to justify that. Are there any configuration
files that can tell me where eclipse thinks it should be getting its help
files from?
Thanks again
David

---------------------- The browser was launched and returns the usual error report:

"The document that you have requested is not available. The link may be wrong, or you may not have the corresponding product feature installed."

However I get this error message from the eclipse platform error log:
-------------------------
Warning 2005-06-04 23:18:20.422 Internal browser is not operational
org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
at org.eclipse.swt.SWT.error(SWT.java:2966)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:130)
at org.eclipse.ui.internal.browser.WebBrowserUtil.canUseInternalWebBrowser(WebBrowserUtil.java:136)
at org.eclipse.ui.internal.browser.DefaultBrowserSupport.isInternalWebBrowserAvailable(DefaultBrowserSupport.java:165)
at org.eclipse.ui.internal.browser.WorkbenchBrowserSupport.isInternalWebBrowserAvailable(WorkbenchBrowserSupport.java:112)
at org.eclipse.help.ui.internal.browser.BrowsersPreferencePage.createDynamicHelpArea(BrowsersPreferencePage.java:194)
at org.eclipse.help.ui.internal.browser.BrowsersPreferencePage.createContents(BrowsersPreferencePage.java:141)
at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)
at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1376)
at org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:1139)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1038)
at org.eclipse.core.runtime.Platform.run(Platform.java:775)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1133)
at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:351)
at org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(PreferenceDialog.java:639)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:763)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1038)
at org.eclipse.core.runtime.Platform.run(Platform.java:775)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:761)
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1042)
at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1062)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:231)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:226)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:392)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2802)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2533)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
at org.eclipse.jface.window.Window.open(Window.java:787)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:66)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1016)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2825)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2530)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1694)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1658)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:366)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:375)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:162)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
-----------------------------
Hope this helps


I also have the following indexing error message:
Error 2005-06-04 23:58:20.921 Errors while indexing
org.eclipse.help.internal.search.IndexingOperation$IndexingException
at org.eclipse.help.internal.search.IndexingOperation.mergeIndexes(IndexingOperation.java:484)
at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:148)
at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:98)
at org.eclipse.help.internal.search.SearchManager.updateIndex(SearchManager.java:204)
at org.eclipse.help.internal.search.SearchManager.ensureIndexUpdated(SearchManager.java:167)
at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:27)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
--------------------------------------------
And this:


Error 2005-06-04 23:58:20.907 Exception occurred in search indexing at beginAddBatch.
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at org.apache.lucene.store.FSDirectory$1.obtain(FSDirectory.java:307)
at org.apache.lucene.store.Lock.obtain(Lock.java:53)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:223)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:193)
at org.eclipse.help.internal.search.SearchIndex.beginAddBatch(SearchIndex.java:244)
at org.eclipse.help.internal.search.IndexingOperation.mergeIndexes(IndexingOperation.java:483)
at org.eclipse.help.internal.search.IndexingOperation.addNewDocuments(IndexingOperation.java:148)
at org.eclipse.help.internal.search.IndexingOperation.execute(IndexingOperation.java:98)
at org.eclipse.help.internal.search.SearchManager.updateIndex(SearchManager.java:204)
at org.eclipse.help.internal.search.SearchManager.ensureIndexUpdated(SearchManager.java:167)
at org.eclipse.help.internal.search.federated.IndexerJob.run(IndexerJob.java:27)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
--------------------------


I hope this provides some pointers