Opened 10 years ago
Closed 10 years ago
#11849 closed defect (fixed)
Cannot connect to trac repository
Reported by: | anonymous | Owned by: | Ivan |
---|---|---|---|
Priority: | normal | Component: | WikiEditorForEclipsePlugin |
Severity: | critical | Keywords: | |
Cc: | Andreas | Trac Release: | 1.0 |
Description (last modified by )
When setting up my repository and pressing Test connection the following error happens:
eclipse.buildId=4.4.0.I20140606-1215 java.version=1.7.0_60 java.vendor=Oracle Corporation !ENTRY org.trachacks.wikieditor.eclipse.plugin 4 0 2014-07-04 17:59:28.229 !MESSAGE !STACK 0 java.lang.RuntimeException at org.trachacks.wikieditor.rpc.xmlrpc.WikiRPCClientFactory.testConnection(WikiRPCClientFactory.java:185) at org.trachacks.wikieditor.rpc.WikiClientImpl.testConnection(WikiClientImpl.java:62) at org.trachacks.wikieditor.service.WikiServiceImpl.testConnection(WikiServiceImpl.java:69) at org.trachacks.wikieditor.eclipse.plugin.model.Server.testConnection(Server.java:273) at org.trachacks.wikieditor.eclipse.plugin.model.Server.connect(Server.java:181) at org.trachacks.wikieditor.eclipse.plugin.navigation.actions.server.ConnectServerAction.runInternal(ConnectServerAction.java:43) at org.trachacks.wikieditor.eclipse.plugin.navigation.actions.AbstractLongRunningBaseAction$1.run(AbstractLongRunningBaseAction.java:36) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:466) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:374) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527) at org.trachacks.wikieditor.eclipse.plugin.navigation.actions.AbstractLongRunningBaseAction.run(AbstractLongRunningBaseAction.java:30) at org.trachacks.wikieditor.eclipse.plugin.navigation.actions.ServerActionsManager.doubleClick(ServerActionsManager.java:86) at org.trachacks.wikieditor.eclipse.plugin.navigation.NavigationPanel.doubleClick(NavigationPanel.java:119) at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:831) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178) at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:828) at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1472) at org.eclipse.ui.navigator.CommonViewer.handleDoubleSelect(CommonViewer.java:454) at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1237) at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:252) at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:249) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:311) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
I have no issues with: Mylyn Tasks Connector: Trac 3.12.0.v20140605-1718 org.eclipse.mylyn.trac_feature.feature.group Eclipse Mylyn
Attachments (2)
Change History (17)
comment:3 Changed 10 years ago by
ok, it's been a while since i was using it so i will try to find out what may causing the problem
cheers! ivan
comment:4 Changed 10 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 10 years ago by
For some reason the connection now appears in "Servers Navigator". When I double click on it to connect to server I now get a different error message:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
My URL is using https: https://xxx.xx/trac/project
Can I turn off server certificate checking? I don't need it - but I want encryption.
comment:6 Changed 10 years ago by
yes, you can find instruction here about how to import the selfsigned certificate into the jre keystore
I'm updating the hack wikipage so FAQs can be found more easily.
comment:7 follow-up: 9 Changed 10 years ago by
Ok, that worked. Now I see a hierarchical list of all wiki pages expanding from my connection. Double clicking opens an empty page without title. Context clicking properties or page-history gives:
java.lang.reflect.UndeclaredThrowableException
comment:8 Changed 10 years ago by
Full traceback here:
!ENTRY org.trachacks.wikieditor.eclipse.plugin 4 0 2014-07-14 18:14:04.618 !MESSAGE !STACK 0 java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy16.getPageVersions(Unknown Source) at org.trachacks.wikieditor.rpc.WikiClientImpl.getPageHistory(WikiClientImpl.java:188) at org.trachacks.wikieditor.service.WikiServiceImpl.getPageHistory(WikiServiceImpl.java:235) at org.trachacks.wikieditor.eclipse.plugin.model.Page.getPageHistory(Page.java:275) at org.trachacks.wikieditor.eclipse.plugin.views.PageHistoryView$HistoryContentProvider.getElements(PageHistoryView.java:102) at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:999) at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:699) at org.eclipse.jface.viewers.AbstractTableViewer.getRawChildren(AbstractTableViewer.java:1043) at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:905) at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:1057) at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:667) at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:615) at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:607) at org.eclipse.jface.viewers.AbstractTableViewer$1.run(AbstractTableViewer.java:567) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1436) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1397) at org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:564) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:292) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1675) at org.trachacks.wikieditor.eclipse.plugin.views.PageHistoryView.setPage(PageHistoryView.java:42) at org.trachacks.wikieditor.eclipse.plugin.views.PageHistoryView.show(PageHistoryView.java:167) at org.trachacks.wikieditor.eclipse.plugin.navigation.actions.ShowInAction.runInternal(ShowInAction.java:49) at org.trachacks.wikieditor.eclipse.plugin.navigation.actions.AbstractBaseAction.run(AbstractBaseAction.java:34) at org.eclipse.jface.action.Action.runWithEvent(Action.java:519) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438) Caused by: org.apache.xmlrpc.XmlRpcException: RPC method "wikiext.getPageVersions" not found at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTransport.java:197) at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:156) at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:115) at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126) at org.trachacks.wikieditor.rpc.xmlrpc.WikiRPCClientFactory$1.invoke(WikiRPCClientFactory.java:113) ... 54 more
comment:9 Changed 10 years ago by
Replying to baloan:
Ok, that worked. Now I see a hierarchical list of all wiki pages expanding from my connection. Double clicking opens an empty page without title. Context clicking properties or page-history gives:
java.lang.reflect.UndeclaredThrowableException
it looks that you may not have TracRpcExt plugin instaled, but page history was not working any more for while, since a change in Trac dateformat made TracRpcExt plugin to fail #10960
check if you can still create, edit, merge and commit wiki pages is still working..
many thanks! ivan
comment:10 follow-up: 13 Changed 10 years ago by
Hi Ivan,
With TracWikiEditor4Eclipse I cannot create, edit, merge and commit wiki pages. When double clicking a page I see a blank window opening (without name on the tag) - just an empty pane, no text editor widget, so I can't edit any text.
I use "Mylyn Tasks Connector: Trac version 3.12.0.v20140605-1718" in eclipse and "tracxmlrpc 1.1.2-r9970" in my trac 1.0.1 installation. Those two work fine together - and Mylyn integration has higher priority for me than being able to edit wiki pages.
I guess TracWikiEditor4Eclipse has never been tested with tracxmlrpc...
So never mind. It was worth a try. Feel free to contact me if you want me to try out a new version.
Changed 10 years ago by
Attachment: | TracWikiEditor4Eclipse.png added |
---|
comment:11 Changed 10 years ago by
comment:12 Changed 10 years ago by
I have the same issue with a similar stack trace:
java.lang.RuntimeException at org.trachacks.wikieditor.rpc.xmlrpc.WikiRPCClientFactory.testConnection(WikiRPCClientFactory.java:185) at org.trachacks.wikieditor.rpc.WikiClientImpl.testConnection(WikiClientImpl.java:62) at org.trachacks.wikieditor.service.WikiServiceImpl.testConnection(WikiServiceImpl.java:69) at org.trachacks.wikieditor.eclipse.plugin.model.Server.testConnection(Server.java:273) at org.trachacks.wikieditor.eclipse.plugin.model.Server.connect(Server.java:181) at org.trachacks.wikieditor.eclipse.plugin.navigation.actions.server.ConnectServerAction.runInternal(ConnectServerAction.java:43) at org.trachacks.wikieditor.eclipse.plugin.navigation.actions.AbstractLongRunningBaseAction$1.run(AbstractLongRunningBaseAction.java:36) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:466) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:374) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527) at org.trachacks.wikieditor.eclipse.plugin.navigation.actions.AbstractLongRunningBaseAction.run(AbstractLongRunningBaseAction.java:30) at org.trachacks.wikieditor.eclipse.plugin.navigation.actions.ServerActionsManager.doubleClick(ServerActionsManager.java:86) at org.trachacks.wikieditor.eclipse.plugin.navigation.NavigationPanel.doubleClick(NavigationPanel.java:119) at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:831) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178) at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:828) at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1472) at org.eclipse.ui.navigator.CommonViewer.handleDoubleSelect(CommonViewer.java:454) at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1237) at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:252) at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:249) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:311) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.jface.window.Window.runEventLoop(Window.java:832) at org.eclipse.jface.window.Window.open(Window.java:808) at org.eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand.execute(MarketplaceWizardCommand.java:193) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294) at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:247) at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:229) at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:149) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:825) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:701) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$6(HandledContributionItem.java:685) at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:613) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
comment:13 Changed 10 years ago by
Replying to baloan:
Hi Ivan,
With TracWikiEditor4Eclipse I cannot create, edit, merge and commit wiki pages. When double clicking a page I see a blank window opening (without name on the tag) - just an empty pane, no text editor widget, so I can't edit any text.
The problem is that org.eclipse.mylyn.wikitext.core.WikiText has been moved to org.eclipse.mylyn.wikitext.ui.WikiText in WikiText 2.0 API Changes Here is the WikiText2.0.patch that fixes issue preserving back compatibility.
Changed 10 years ago by
Attachment: | WikiText2.0.patch added |
---|
comment:14 Changed 10 years ago by
Thanks a lot Alexander
I will apply the patch this afternoon and build a new release
Thanks ivan
comment:15 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I've updated eclipse update site with the fix http://trac-hacks.org/svn/wikieditorforeclipseplugin/update-site/v_0.1.0.x/
thanks a lot for your help ivan
when you get that exception stack trace, do you get another stacktrace message, something like "Root Cause: "?