GithubHelp home page GithubHelp logo

eclipseimpexeditor's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @eljoujat
  • ๐Ÿ‘€ Iโ€™m interested in ...
  • ๐ŸŒฑ Iโ€™m currently learning ...
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on ...
  • ๐Ÿ“ซ How to reach me ...

eclipseimpexeditor's People

Contributors

codacy-badger avatar eljoujat avatar gitter-badger avatar pteam-blog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

eclipseimpexeditor's Issues

SSL error connecting to Hybris

Hi,

I am trying to open impex file and get the following error:

!ENTRY impexeditor.core 4 4 2017-01-18 12:02:23.889
!MESSAGE Connection refused to http://localhost:9001
!STACK 0
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching localhost found

It looks that http call is redirected to https and plugin can not establish ssl connection.

Eclipse version:
Spring Tool Suite
Version: 3.8.1.RELEASE
Build Id: 201607290850
Platform: Eclipse Neon (4.6)

Hybris version: 6.2.0

Plugin version: impexeditor.core_1.6.0

Thanks,
Evgeniy

Question: occ necessary, docu unclear

Hey El Jaoujat,

so I just gave it a try. Unfortunately OCC is not part of our setup but as I understand your plugin needs it. Can you mention it in the docu?

Furthermore I have difficulties understanding what is needed to login to the local hybris, the staff with the sessionId. I installed your plugin directly by using droplets. Its there but all it does is just highlighting and as I understand it needs to local hybris connection to work for validation.

Thanks in advance.

Main Text Content Colour not applying

When selecting a colour other than the default (Black) for the Main Text Content, the colour is not applied even after closing/reopening the editors. All other colours can be changed successfully.

ClassNot Found After installation froma eclipse market place

Log stackstace

org.eclipse.core.runtime.CoreException: Plug-in "impexeditor.core" was unable to instantiate class "org.eclipseplugins.impexeditor.core.editor.ImpexEditor". at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:293) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:288) at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor(EditorDescriptor.java:235) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:328)

STS Error - Plug-in "org.ucf.eclipseplugins.impexeditor" was unable to instantiate class "org.eclipseplugins.impexeditor.hyperlink.ImpexCodeHyperlinkDetector".

I am using Spring Tools suite version and seeing an error in my error log.

Spring Tool Suite

Version: 3.6.4.RELEASE
Build Id: 201503100339
Platform: Eclipse Luna SR1 (4.4.2)

It would be great if you can look into it when you get some time

java.lang.InstantiationException: org.eclipseplugins.impexeditor.hyperlink.ImpexCodeHyperlinkDetector
    at java.lang.Class.newInstance(Unknown Source)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
    at org.eclipse.ui.texteditor.HyperlinkDetectorDescriptor$1.run(HyperlinkDetectorDescriptor.java:114)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.texteditor.HyperlinkDetectorDescriptor.createHyperlinkDetectorImplementation(HyperlinkDetectorDescriptor.java:126)
    at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:72)
    at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
    at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
    at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
    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)

Problems connecting to local HAC

Hey El Joujat,

so I tried it again and did some debugging.

I used this url as configuration, http://somedomain.local:9001/admin/

For the validate and for the Type Update I get the following exceptions.
I checked the cookie while beeing logged in and it seems ok, it exist under the key you expect in your code. Any idea of what am I doing wrong?

Thanks in advance.


!ENTRY impexeditor.core 4 4 2016-02-09 12:06:00.716
!MESSAGE Exception while attemting to refresch data def
!STACK 0
java.lang.IllegalArgumentException: Cookie value must not be null
    at org.jsoup.helper.Validate.notNull(Validate.java:26)
    at org.jsoup.helper.HttpConnection$Base.cookie(HttpConnection.java:295)
    at org.jsoup.helper.HttpConnection.cookie(HttpConnection.java:151)
    at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.getCSrfToken(ImpexHttpClient.java:256)
    at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.sendLoginPost(ImpexHttpClient.java:131)
    at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.getJsessionId(ImpexHttpClient.java:186)
    at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.getAllTypes(ImpexHttpClient.java:108)
    at org.eclipseplugins.impexeditor.core.config.ImpexDataDefinition.loadImpexDataDef(ImpexDataDefinition.java:57)
    at org.eclipseplugins.impexeditor.core.config.ImpexDataDefinition.getImpexDataDef(ImpexDataDefinition.java:84)
    at org.eclipseplugins.impexeditor.core.editor.autocompletion.ImpexCompletionProposalComputer.createProposals(ImpexCompletionProposalComputer.java:118)
    at org.eclipseplugins.impexeditor.core.editor.autocompletion.ImpexCompletionProposalComputer.computeCompletionProposals(ImpexCompletionProposalComputer.java:72)
    at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
    at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1720)
    at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:932)
    at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
    at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:122)
    at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
    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:497)
    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.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:286)
    at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:507)
    at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:558)
    at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:378)
    at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:324)
    at org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:86)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1574)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1387)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1424)
    at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:824)
    at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:3293)
    at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:769)
    at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2098)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:5534)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4668)
    at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
    at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:9106)
    at org.eclipse.swt.widgets.Display.eventProc(Display.java:1253)
    at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
    at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2477)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3407)
    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(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    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)

!ENTRY org.eclipse.ui 4 0 2016-02-09 12:06:09.092
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.IllegalArgumentException: Cookie value must not be null
    at org.jsoup.helper.Validate.notNull(Validate.java:26)
    at org.jsoup.helper.HttpConnection$Base.cookie(HttpConnection.java:295)
    at org.jsoup.helper.HttpConnection.cookie(HttpConnection.java:151)
    at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.getCSrfToken(ImpexHttpClient.java:256)
    at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.sendLoginPost(ImpexHttpClient.java:131)
    at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.getJsessionId(ImpexHttpClient.java:186)
    at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.validateImpex(ImpexHttpClient.java:239)
    at org.eclipseplugins.impexeditor.core.actions.ValidateImpexAction.run(ValidateImpexAction.java:80)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:253)
    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:4454)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
    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(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    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)

which hybris version is needed to get the impex editor to work?

we installed the impex editor and configured it according to your documentation.
It looks like, that the login is successful when we start the refresh impex data model process.
Unfortunately we cannot sync the impex data, we are facing the folling error:

Plugin: impexeditor.core
Message: Exception while attemting to refresch data def

Exception Stack Trace
java.lang.ArrayIndexOutOfBoundsException: 1 at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.sendLoginPost(ImpexHttpClient.java:137) at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.getJsessionId(ImpexHttpClient.java:156) at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.getAllTypes(ImpexHttpClient.java:81) at org.eclipseplugins.impexeditor.core.config.ImpexDataDefinition.loadImpexDataDef(ImpexDataDefinition.java:57) at org.eclipseplugins.impexeditor.core.actions.RefreschDataAction$1.run(RefreschDataAction.java:59) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Session Data:

eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_75
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

Unfortunately we have to use a quite old version of hybris: 4.8.7 and java 1.7
We don't have occ.

Is it possible to use impex editor with this setup?

BUG

Hi Actually I am trying to open my large Impex file which is not actually Large as I feel of around 400 lines in Eclipse and it hanged my eclipse when I am opening it using SAP-Hybris Impex editor 1.6.0.

Please check as I have checked I didn't find any solution all are saying use the given version of SAP-Hybris Impex Editor and I have tried it with all.

While drag-n-drop Eclipse Install button got Unexpected exception while verifying features:

While drag-n-drop Eclipse Install button
from
http://marketplace.eclipse.org/content/hybris-impex-editor
got Unexpected exception while verifying features:

Drag to your running Eclipse workspace to install Hybris Impex Editor

eclipse.buildId=4.4.2.M20150204-1700
java.version=1.8.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.standard.product -showlocation
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.standard.product -showlocation

org.eclipse.epp.mpc.ui
Error
Mon Jun 15 11:05:39 CST 2015
Unexpected exception while verifying features: 

java.lang.NullPointerException
    at java.net.URI$Parser.parse(URI.java:3042)
    at java.net.URI.<init>(URI.java:588)
    at org.eclipse.epp.internal.mpc.core.util.URLUtil.toURI(URLUtil.java:24)
    at org.eclipse.epp.internal.mpc.ui.operations.AbstractProvisioningOperation.addRepositories(AbstractProvisioningOperation.java:73)
    at org.eclipse.epp.internal.mpc.ui.operations.ResolveFeatureNamesOperation.run(ResolveFeatureNamesOperation.java:46)
    at org.eclipse.epp.internal.mpc.ui.wizards.FeatureSelectionWizardPage$4.run(FeatureSelectionWizardPage.java:304)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Exception During Impex Validation

eclipse.buildId=4.4.2.M20150204-1700
java.version=1.8.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

java.lang.IllegalArgumentException: Cookie value must not be null
    at org.jsoup.helper.Validate.notNull(Validate.java:26)
    at org.jsoup.helper.HttpConnection$Base.cookie(HttpConnection.java:295)
    at org.jsoup.helper.HttpConnection.cookie(HttpConnection.java:151)
    at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.getCSrfToken(ImpexHttpClient.java:256)
    at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.sendLoginPost(ImpexHttpClient.java:131)
    at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.getJsessionId(ImpexHttpClient.java:186)
    at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.validateImpex(ImpexHttpClient.java:239)
    at org.eclipseplugins.impexeditor.core.actions.ValidateImpexAction.run(ValidateImpexAction.java:80)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:253)
    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:4454)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
    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(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    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)
``

Formatting by HeaderColumns

Hi,

thanks for your great work.

I think what would tremendously simplify impex work is proper formatting by columns, I usually do it with sublime text but it would be great to have it as standart part of your editor.

So here is how it would work: you just align all by the header column. But this happens for EACH TYPE. If a type is having a specifically long header it does not affect the other types inside impex. This is what you can see in the example below.

#INSERT PRODUCTS
INSERT_UPDATE Product ; code[unique=true]  ; name[lang=en] ; description[lang=en] ; manufacturerName  ; ean   ; catalogVersion(catalog(id), version) ; unit(code)[default=pieces] ;
                      ; product_identifier ; Product Name  ; Description          ; Manufacturer Name ; 12345 ; sampleProductCatalog:Staged          ; pieces                     ; approved ; us-vat-full

#PRICE
INSERT_UPDATE PriceRow ; product(code,catalogversion(catalog(id),version))[unique=true] ; currency(isocode)[unique=true] ; unit(code)
                       ; product_identifier:sampleProductCatalog:Staged                 ; US                             ; pieces     ;

Finally if you have this feature, I would like to be able to select all impex files in a project and realign them that way in one bunch. But this is nice to have.

ValidateImpexAction doesn't use configured hostname

The default hostname string "http://localhost:9001/hac" is always used for validation action and not the configured url in preference page.
In
ValidateImpexAction

final String hostName = store.getDefaultString(PreferenceConstants.P_HOST_ENDPOINT_STRING);
should be replaced with
String hostName = store.getString(PreferenceConstants.P_HOST_ENDPOINT_STRING);

Please also rename the label "Host name:" to "URL to HAC:" or something that better express that it must be a URL.

Install button missing in eclipse marketplace

Steps to reproduce:

  • double-click an existing impex file in eclipse
  • eclipse presents a dialog where it offers to show the ide extensions for the impex file type
  • click OK
  • the marketplace client opens, with the impex editor as the only result in the search results list

Expected:

  • an "Install" button appears near the impex editor search result

Actual:

  • no such "Install" button appears anywhere

Eclipse version info:
Version: 2019-03 (4.11.0)
Build id: 20190314-1200

Impex editor formatter not working.

Hi Team,
I just installed impex editor plugin on eclipse 2021.
I am unable to format the impex file. I have put the exact hac url and creds as well under preference
Example:
INSERT_UPDATE BundleTemplate;code[unique=true]
;test

typo in Error Message in ImpexDataDefinition.java

if you get the error
java.lang.ArrayIndexOutOfBoundsException: 1 at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.sendLoginPost(ImpexHttpClient.java:137) at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.getJsessionId(ImpexHttpClient.java:156) at org.eclipseplugins.impexeditor.core.utils.ImpexHttpClient.getAllTypes(ImpexHttpClient.java:81) at org.eclipseplugins.impexeditor.core.config.ImpexDataDefinition.loadImpexDataDef(ImpexDataDefinition.java:57) at org.eclipseplugins.impexeditor.core.actions.RefreschDataAction$1.run(RefreschDataAction.java:59) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

the message looks like:

Exception while attemting to refresch data def

The message should be:

Exception while attemting to refresh data def

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.