nadment commented on pull request #414:
URL: https://github.com/apache/incubator-hop/pull/414#issuecomment-733730832


   > 
   > 
   > Doesn't work with metadata plugins. Uses the wrong classloader somewhere.
   > 
   > org.apache.hop.core.exception.HopException:
   > Unable to find editor class (org.neo4j.hop.ui.shared.NeoConnectionEditor)
   > 
   > ```
   > at 
org.apache.hop.ui.core.metadata.MetadataManager.createEditor(MetadataManager.java:404)
   > at 
org.apache.hop.ui.core.metadata.MetadataManager.editWithDialog(MetadataManager.java:162)
   > at 
org.apache.hop.ui.core.widget.MetaSelectionLine.editMetadata(MetaSelectionLine.java:206)
   > at 
org.apache.hop.ui.core.widget.MetaSelectionLine.lambda$new$2(MetaSelectionLine.java:185)
   > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
   > at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5687)
   > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1423)
   > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4955)
   > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4448)
   > at 
org.neo4j.hop.transforms.graph.GraphOutputDialog.open(GraphOutputDialog.java:337)
   > at 
org.apache.hop.ui.hopgui.file.pipeline.delegates.HopGuiPipelineTransformDelegate.editTransform(HopGuiPipelineTransformDelegate.java:140)
   > at 
org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.editTransform(HopGuiPipelineGraph.java:2870)
   > at 
org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.mouseDoubleClick(HopGuiPipelineGraph.java:584)
   > at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:200)
   > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
   > at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5687)
   > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1423)
   > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4955)
   > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4448)
   > at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:352)
   > at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:294)
   > ```
   
   Metadata editor work with Beam, Testing and Git plugins, it use same logic 
to find editor class than dialog:
   
   1) Try with className + Editor in same package
           className = managedClass.getName();
        className += "Editor";
   2) Else try in hop.ui package
        className = managedClass.getName();
        className = className.replaceFirst("\\.hop\\.", ".hop.ui.");
           className += "Editor";


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to