The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Plugin wiring
Hi there,
I'm making my way through "How to build Extensions" from Sebastian and have encountered some strange behaviour.
I can build and deploy the operators provided, but if I use either of the example "super" operators I cannot manually wire up the input of the inner operators, no yellow connecting line appears on mouse drag. However, the meta data is being passed though, and "autowire" connects everything as expected.
If I run Vega via Eclipse I can tag the following glitch message....
I'm making my way through "How to build Extensions" from Sebastian and have encountered some strange behaviour.
I can build and deploy the operators provided, but if I use either of the example "super" operators I cannot manually wire up the input of the inner operators, no yellow connecting line appears on mouse drag. However, the meta data is being passed though, and "autowire" connects everything as expected.
If I run Vega via Eclipse I can tag the following glitch message....
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerExceptionCan anyone suggest a way round this?
at com.rapidminer.gui.flow.ProcessRenderer$9.mouseDragged(ProcessRenderer.java:1883)
at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
at java.awt.Component.processMouseMotionEvent(Unknown Source)
at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Tagged:
0
Answers
sorry, it seems I have missed your post in the first place. The error you are describing sounds weird, and if I look at the line of code that causes the exception I would say this is impossible :-)
Are you using the exact code from the tutorial? If yes, we should be able to reproduce the problem. It might be that this is unrelated to whether it is a "custom" operator or one of the standard ones. Are you really "dragging" the connection or are you clicking and moving the mouse (the latter is what you should be doing, but the first certainly should not crash.)
Cheers,
Simon
I was running the examples provided, but cannot remember whether I was dragging or clicking - I have since noted that the problem ceases if I use createPort(String) rather than createPort(String,IOObject.class). Thanks for replying anyway.
thanks for replying and providing the information. I will see if I can find a problem with the "IOObejct.class" parameter you mention.
Cheers,
Simon