"Error integrating Rapidminer with netbeans"

vzubin
vzubin New Altair Community Member
edited November 5 in Community Q&A
I am creating a application using netbeans application development and trying to integrate Rapidminer along with it but i am getting the following error

WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Window/ marked with the position attribute: [com-Kreara-KRPackages-PackageFormTopComponent.shadow, com-Kreara-KRPackages-PackageNodeBoxTopComponent.shadow, com-kreara-KRHandle-HandleFormTopComponent.shadow, com-kreara-KRHandle-TestHandleTopComponent.shadow], but some are: [org-netbeans-core-windows-actions-GlobalPropertiesAction.shadow, Output, Web, SwitchToRecentDocumentAction.shadow, ProgressListAction.shadow, Separator3.instance, ConfigureWindow, org-netbeans-core-windows-actions-ResetWindowsAction.shadow, Separator4.instance, CloseWindowAction.shadow, CloseAllDocumentsAction.shadow, CloseAllButThisAction.shadow, DocumentsAction.shadow]
INFO [ParameterService]: Reading configuration resource com/rapidminer/resources/rapidminerrc.
INFO [com.rapidminer]: Set locale to en.
INFO [com.rapid_i.Launcher]: rapidminer.home is '/home/zubin/rapidminer/lib'.
INFO [com.rapidminer]: Register plugin: Text Processing
INFO [com.rapidminer]: Register plugin: Web Mining
SEVERE [com.rapidminer]: Failed to register operator: RapidMiner Core : hierarchical_classification
java.lang.AssertionError
at com.rapidminer.operator.ports.impl.AbstractInputPort.receiveMD(AbstractInputPort.java:80)
at com.rapidminer.operator.ports.metadata.ExampleSetPrecondition.assumeSatisfied(ExampleSetPrecondition.java:86)
at com.rapidminer.operator.Operator.assumePreconditionsSatisfied(Operator.java:2130)
at com.rapidminer.operator.OperatorChain.assumePreconditionsSatisfied(OperatorChain.java:502)
at com.rapidminer.tools.OperatorService.registerOperator(OperatorService.java:520)
[catch] at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:301)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:269)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:231)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:204)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:559)
at com.kreara.DataFetch.GoogleNews.WebScrapRM.<init>(WebScrapRM.java:33)
at com.kreara.DataFetch.GoogleNews.GoogleParseMain.<clinit>(GoogleParseMain.java:39)
at com.kreara.DataFetch.GoogleNews.RunGoogleFetch.run(RunGoogleFetch.java:23)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2044)
SEVERE [com.rapidminer]: Failed to register operator: RapidMiner Core : fixedsplitvalidation
java.lang.AssertionError
at com.rapidminer.operator.ports.impl.AbstractInputPort.receiveMD(AbstractInputPort.java:80)
at com.rapidminer.operator.ports.metadata.SimplePrecondition.assumeSatisfied(SimplePrecondition.java:90)
at com.rapidminer.operator.Operator.assumePreconditionsSatisfied(Operator.java:2130)
at com.rapidminer.operator.OperatorChain.assumePreconditionsSatisfied(OperatorChain.java:502)
at com.rapidminer.tools.OperatorService.registerOperator(OperatorService.java:520)
[catch] at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:301)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:293)
at com.rapidminer.tools.OperatorService.parseOperators(OperatorService.java:269)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:231)
at com.rapidminer.tools.OperatorService.registerOperators(OperatorService.java:204)
at com.rapidminer.tools.OperatorService.init(OperatorService.java:133)
at com.rapidminer.RapidMiner.init(RapidMiner.java:559)
at com.kreara.DataFetch.GoogleNews.WebScrapRM.<init>(WebScrapRM.java:33)
at com.kreara.DataFetch.GoogleNews.GoogleParseMain.<clinit>(GoogleParseMain.java:39)
at com.kreara.DataFetch.GoogleNews.RunGoogleFetch.run(RunGoogleFetch.java:23)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2044)
can anyone help
Thanks in advance :)

Answers

  • aborg
    aborg New Altair Community Member
    Hello,

    How do you integrate? Do you create the processes from code, or parse from XML, or use the RM UI to create processes?
    Although it seems it orifinates from RapidMiner.init. Do you have all jars on the classpath (with the proper classloader)?
    Cheers, gabor
  • vzubin
    vzubin New Altair Community Member
    The process is created using XML

    This error occurs in RapidMiner.Init();

    ya i have added all the JARs in the classpath
  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    you are running your application with assertions enabled. We have not used them internally for a while, so there are quite a few broken ones I'm afraid. You will have to disable assertions for RapidMiner to run.
    As a sidenote, please be aware that RapidMiner is licensed under the AGPL 3. This means that your application must be licensed under the AGPL 3 as well. If that is not possible/desirable, you need to purchase an OEM license. You can contact us here for details.

    Regards,
    Marco