Hi Damith,

Are you using Integration Studio
<https://wso2.com/integration/integration-studio/>or DevStudio ?

[1] https://wso2.com/integration/integration-studio/

Regards,
*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Technical Lead
WSO2, Inc.
lean.enterprise.middleware
0771100911


On Thu, Jun 20, 2019 at 1:59 PM Kesavan Yogarajah <kesav...@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
> kesav...@wso2.com
> WSO2, Inc.
> lean . enterprise . middleware
>
>
> On Thu, Jun 20, 2019 at 12:45 PM Damith Jinasena <damit...@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
>>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to