[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-c-dev
Subject:    Re: [Dev] Error when adding/removing connector in Integration Studio
From:       Damith Jinasena <damithsj () gmail ! com>
Date:       2019-06-20 9:16:37
Message-ID: CACq17-K3uXZ2DvaO8_vUvr_+YqpNDFW9-2=F+K8J296WMnhiJQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Kesavan,

Thanks a lot. I built the connector with large icon included and cleared
the studio workspace.
It solved the problem. Thanks again.

Cheers!

On Thu, Jun 20, 2019 at 10:29 AM Kesavan Yogarajah <kesavany@wso2.com>
wrote:

> Hi Damith,
> 
> According to your logs, the connector zip doesn't have the icon-large.gif
> file. You need to place two icon files in the icons folder as below to work
> with EI Tooling.
> 
> 
> - 55x47  - icon-large.gif
> - 25x25  - icon-small.gif
> 
> 
> 
> [1] -
> 
> rg.eclipse.swt.SWTException: i/o error (java.io.FileNotFoundException:
> D:\work\wos2-integrationStudio\.metadata\.Connectors\knakitifs-connector-1.0.0\icon\icon-large.gif
>  (The system cannot find the file specified))
> at org.eclipse.swt.SWT.error(SWT.java:4533)
> at org.eclipse.swt.SWT.error(SWT.java:4448)
> at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:175)
> at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoader.java:26)
> at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:378)
> at org.eclipse.swt.graphics.Image.<init>(Image.java:647)
> at
> org.wso2.developerstudio.eclipse.esb.project.ui.wizard.RemoveCloudConnectorWizardPage.listConnectors(RemoveCloudConnectorWizardPage.java:138)
>  at
> org.wso2.developerstudio.eclipse.esb.project.ui.wizard.RemoveCloudConnectorWizardPage.createControl(RemoveCloudConnectorWizardPage.java:100)
>  at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:176)
> at
> org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:688)
> at
> org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:580)
> at org.eclipse.jface.window.Window.create(Window.java:426)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
> at org.eclipse.jface.window.Window.open(Window.java:783)
> at
> org.wso2.developerstudio.eclipse.esb.project.ui.action.ImportCloudConnectorAction.run(ImportCloudConnectorAction.java:35)
>  at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
>  at
> org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
>  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
>  at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
>  at
> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
>  at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
>  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:388)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
> Caused by: java.io.FileNotFoundException:
> D:\work\wos2-integrationStudio\.metadata\.Connectors\knakitifs-connector-1.0.0\icon\icon-large.gif
>  (The system cannot find the file specified)
> at java.io.FileInputStream.open0(Native Method)
> at java.io.FileInputStream.open(FileInputStream.java:195)
> at java.io.FileInputStream.<init>(FileInputStream.java:138)
> at java.io.FileInputStream.<init>(FileInputStream.java:93)
> at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:172)
> ... 41 more
> 
> [2] -
> https://docs.wso2.com/display/ESBCONNECTORS/Creating+and+Publishing+a+Third+Party+Connector
>  
> Thanks
> Kesavan
> 
> Kesavan Yogarajah
> Software Engineer
> Mobile :+94 (0) 779 758021
> kesavany@wso2.com
> WSO2, Inc.
> lean . enterprise . middleware
> 
> 
> On Thu, Jun 20, 2019 at 12:45 PM Damith Jinasena <damithsj@gmail.com>
> wrote:
> 
> > Hi All,
> > 
> > I haven't work much with Integration Studio and trying to play with some
> > integration scenarios including connectors.
> > 
> > Now I'm stuck with an issue and don't know how to resolve it.
> > 
> > Here's what I was trying to to do and hopefully it will help for
> > troubleshooting any point what I was doing wrong.
> > 
> > * Opened the template project to fetch Salesforce account information
> > * It runs without any error.
> > * Then I created a new ESB project and imported my own connector. I had
> > an issue with importing since my connector didn't have and icon file so I
> > added the icon and import again.
> > * I noticed the my project contains salesforce connector as well. So I
> > removed it (RMB, Add or remove connector)
> > 
> > Now,     Add or remove connector dialog box crashes everytime and I
> > noticed salesforce connector removed from the first project where I didn't
> > modify at all.
> > 
> > Attached herewith is the log file from my workspace/.metadata and
> > connectors from .connectors folder.
> > 
> > Any help is highly appreciated.
> > 
> > Cheers!
> > _______________________________________________
> > Dev mailing list
> > Dev@wso2.org
> > http://wso2.org/cgi-bin/mailman/listinfo/dev
> > 
> 

-- 
*Damith*


[Attachment #5 (text/html)]

<div dir="ltr"><div>Hi Kesavan,</div><div><br></div><div>Thanks a lot. I built the \
connector with large icon included and cleared the studio workspace.</div><div>It \
solved the  problem. Thanks again.</div><div><br></div><div>Cheers!</div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 20, 2019 at 10:29 \
AM Kesavan Yogarajah &lt;<a href="mailto:kesavany@wso2.com">kesavany@wso2.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi \
Damith,<div><br></div><div>According to your logs, the connector zip doesn&#39;t  \
have the icon-large.gif file. You need to place two icon files in the icons folder as \
below to work with EI Tooling.</div><div><br></div><div><ul style="margin:10px 0px \
0px;color:rgb(51,51,51);font-family:&quot;Nunito \
Sans&quot;,sans-serif;font-size:16px"><li>55x47   - icon-large.gif  </li><li>25x25   \
- icon-small.gif  </li></ul></div><div><br></div><div><br></div><div>[1] \
-</div><div><br></div><div>rg.eclipse.swt.SWTException: i/o error \
(java.io.FileNotFoundException: \
D:\work\wos2-integrationStudio\.metadata\.Connectors\knakitifs-connector-1.0.0\icon\icon-large.gif \
(The system cannot find the file specified))<br>	at \
org.eclipse.swt.SWT.error(SWT.java:4533)<br>	at \
org.eclipse.swt.SWT.error(SWT.java:4448)<br>	at \
org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:175)<br>	at \
org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoader.java:26)<br>	at \
org.eclipse.swt.graphics.ImageData.&lt;init&gt;(ImageData.java:378)<br>	at \
org.eclipse.swt.graphics.Image.&lt;init&gt;(Image.java:647)<br>	at \
org.wso2.developerstudio.eclipse.esb.project.ui.wizard.RemoveCloudConnectorWizardPage.listConnectors(RemoveCloudConnectorWizardPage.java:138)<br>	at \
org.wso2.developerstudio.eclipse.esb.project.ui.wizard.RemoveCloudConnectorWizardPage.createControl(RemoveCloudConnectorWizardPage.java:100)<br>	at \
org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:176)<br>	at \
org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:688)<br>	at \
org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:580)<br>	at \
org.eclipse.jface.window.Window.create(Window.java:426)<br>	at \
org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)<br>	at \
org.eclipse.jface.window.Window.open(Window.java:783)<br>	at \
org.wso2.developerstudio.eclipse.esb.project.ui.action.ImportCloudConnectorAction.run(ImportCloudConnectorAction.java:35)<br>	at \
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)<br>	at \
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)<br>	at \
org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)<br>	at \
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)<br>	at \
org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)<br>	at \
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)<br>	at \
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)<br>	at \
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)<br>	at \
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)<br>	at \
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)<br>	at \
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)<br>	at \
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)<br>	at \
org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)<br>	at \
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)<br>	at \
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)<br>	at \
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)<br>	at \
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)<br>	at \
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)<br>	at \
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)<br>	at \
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)<br>	at \
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)<br>	at \
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)<br>	at \
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>	at \
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br>	at \
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>	at \
java.lang.reflect.Method.invoke(Method.java:498)<br>	at \
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)<br>	at \
org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)<br>	at \
org.eclipse.equinox.launcher.Main.run(Main.java:1499)<br>Caused by: \
java.io.FileNotFoundException: \
D:\work\wos2-integrationStudio\.metadata\.Connectors\knakitifs-connector-1.0.0\icon\icon-large.gif \
(The system cannot find the file specified)<br>	at \
java.io.FileInputStream.open0(Native Method)<br>	at \
java.io.FileInputStream.open(FileInputStream.java:195)<br>	at \
java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:138)<br>	at \
java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:93)<br>	at \
org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:172)<br>	... 41 \
more</div><div><br></div><div>[2] -  <a \
href="https://docs.wso2.com/display/ESBCONNECTORS/Creating+and+Publishing+a+Third+Party+Connector" \
target="_blank">https://docs.wso2.com/display/ESBCONNECTORS/Creating+and+Publishing+a+ \
Third+Party+Connector</a></div><div><br></div><div>Thanks</div><div>Kesavan</div><div><br \
clear="all"><div><div dir="ltr" \
class="gmail-m_2129608246271366215gmail_signature"><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div><div><font size="2"><span \
style="color:rgb(102,102,102)">Kesavan Yogarajah<br></span></font></div><font \
size="2"><span style="color:rgb(102,102,102)">Software Engineer<br>Mobile :+94 (0) \
779 758021<br><a rel="nofollow noreferrer" href="mailto:kesavany@wso2.com" dir="ltr" \
target="_blank">kesavany@wso2.com</a><br>WSO2, Inc.  <br>lean . enterprise . \
middleware</span></font></div></div></div></div></div></div></div></div></div><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 20, 2019 at 12:45 \
PM Damith Jinasena &lt;<a href="mailto:damithsj@gmail.com" \
target="_blank">damithsj@gmail.com</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>I \
haven&#39;t work much with Integration Studio and trying to play with some \
integration scenarios including connectors.</div><div><br></div><div>Now I&#39;m \
stuck with an issue and don&#39;t know how to resolve \
it.</div><div><br></div><div>Here&#39;s what I was trying to to do and hopefully it \
will help for troubleshooting any point what I was doing  \
wrong.</div><div><br></div><div>* Opened the template project to fetch Salesforce \
account information</div><div>* It runs without any error.</div><div>* Then I created \
a new ESB project and imported my own connector. I had an issue with importing since \
my connector didn&#39;t have and icon file so I added the icon and import \
again.</div><div>* I noticed the my project contains salesforce connector as well. So \
I removed it (RMB, Add or remove connector)</div><div><br></div><div>Now,       

Add or remove connector  dialog box crashes everytime and I noticed salesforce \
connector removed from the first project where I didn&#39;t modify at \
all.</div><div><br></div><div>  Attached herewith is the log file from my \
workspace/.metadata and connectors from .connectors \
folder.<br></div><div><br></div><div>Any help is highly \
appreciated.</div><div><br></div><div>Cheers!</div></div> \
_______________________________________________<br> Dev mailing list<br>
<a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" rel="noreferrer" \
target="_blank">http://wso2.org/cgi-bin/mailman/listinfo/dev</a><br> \
</blockquote></div> </blockquote></div><br clear="all"><div><br></div>-- <br><div \
dir="ltr" class="gmail_signature"><i><font face="verdana, sans-serif" \
color="#999999">Damith</font></i></div></div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic