Git Product home page Git Product logo

Comments (1)

wwaechter avatar wwaechter commented on May 29, 2024

The behaviour is as followed:

  1. Starting the hop-web container
  2. creating/opening a pipeline
  3. creating a JavaScript component
  4. editing the component from 3. -> it works fine
  5. reloading the page in the browser or waiting for time out of the session
  6. trying to edit JavaScript component: it fails to open the Edit-Dialog with following error:

java.lang.IllegalArgumentException: Argument not valid
at org.eclipse.swt.SWT.error(SWT.java:3739)
at org.eclipse.swt.SWT.error(SWT.java:3676)
at org.eclipse.swt.SWT.error(SWT.java:3647)
at org.eclipse.swt.widgets.Item.setImage(Item.java:156)
at org.eclipse.swt.widgets.MenuItem.setImage(MenuItem.java:278)
at org.apache.hop.pipeline.transforms.javascript.ScriptValuesDialog.buildingFolderMenu(ScriptValuesDialog.java:1657)
at org.apache.hop.pipeline.transforms.javascript.ScriptValuesDialog.open(ScriptValuesDialog.java:470)
at org.apache.hop.ui.hopgui.file.pipeline.delegates.HopGuiPipelineTransformDelegate.editTransform(HopGuiPipelineTransfo
at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.editTransform(HopGuiPipelineGraph.java:3400)
at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.editTransform(HopGuiPipelineGraph.java:2192)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.hop.core.gui.plugin.action.GuiActionLambdaBuilder.lambda$createLambda$0(GuiActionLambdaBuilder.java:96)
at org.apache.hop.ui.hopgui.context.GuiContextUtil.lambda$handleActionSelection$0(GuiContextUtil.java:183)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:38)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:193)
at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1200)
at org.eclipse.swt.widgets.Display.safeReadAndDispatch(Display.java:1180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1172)
at org.eclipse.rap.rwt.application.AbstractEntryPoint.createUI(AbstractEntryPoint.java:69)
at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:177)
at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:290)
at java.base/java.lang.Thread.run(Thread.java:829)
at org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:107)

I've tested it in three different environments:

  1. Kubernetes environment used by @poonam541: the error can be reproduced
  2. Kubernetes from DigitalOcean: the error can't be reproduced
  3. Container running on Ubuntu Linux access from a Windows-Client (Chrome) in the same Network: the error can be reproduced
    In cases 1. and 2. the Hop-Web was accessed from the same Windows PC

I've tested it with Hop-Web versions 2.6.0, 2.7.0, 2.8.0, and latest snapshot

from hop.

Related Issues (20)

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.