Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Proxy warning

Another way to avoid:   Configure the logging service to not report this warning to the log.

Scott


On 12/9/2013 12:36 PM, Scott Lewis wrote:
On 12/9/2013 12:16 PM, Wim Jongman wrote:
Hi,

Any idea how I can avoid this message? I am building some file transfer examples.

It's a warning (only).   One way to avoid would be to include the org.eclipse.core.net bundle (which provides the proxy API).

Another way would be to add a flag/option to not report the no proxy warning to the ECF logging right here:

org.eclipse.ecf.internal.provider.filetransfer.Activator.logNoProxyWarning(Throwable)

If you decide to add this option/flag, please open a bug/enhancement request.

Scott



!ENTRY org.eclipse.ecf.provider.filetransfer 4 0 2013-12-09 21:13:56.612
!MESSAGE org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.provider.filetransfer;code=4;message=Warning: Platform proxy API not available;severity2;exception=java.lang.NoClassDefFoundError: org/eclipse/core/net/proxy/IProxyService;children=[]]
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/core/net/proxy/IProxyService
at org.eclipse.ecf.provider.filetransfer.outgoing.AbstractOutgoingFileTransfer.setupProxies(AbstractOutgoingFileTransfer.java:354)
at org.eclipse.ecf.provider.filetransfer.outgoing.AbstractOutgoingFileTransfer.sendOutgoingRequest(AbstractOutgoingFileTransfer.java:422)
at org.eclipse.ecf.provider.filetransfer.outgoing.AbstractOutgoingFileTransfer.sendOutgoingRequest(AbstractOutgoingFileTransfer.java:432)
at org.eclipse.ecf.provider.filetransfer.outgoing.MultiProtocolOutgoingAdapter.sendOutgoingRequest(MultiProtocolOutgoingAdapter.java:103)
at org.eclipse.ecf.example.filetransfer.handlers.TransferWithSCP.send(TransferWithSCP.java:57)
at org.eclipse.ecf.example.filetransfer.parts.FileTransfer$2.widgetSelected(FileTransfer.java:100)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
..
Caused by: java.lang.ClassNotFoundException: org.eclipse.core.net.proxy.IProxyService cannot be found by org.eclipse.ecf.provider.filetransfer_3.2.0.v20130604-1622
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 29 more


_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev



_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev


Back to the top