US and Worldwide: +1 (866) 660-7555
Results 1 to 5 of 5

Thread: Fatal Error using Star Model plugin for Spoon

  1. #1
    Join Date
    Jun 2012
    Posts
    8

    Default Fatal Error using Star Model plugin for Spoon

    Hi!
    I've downloaded PDI 4.3.0 and the Star Model plugin (that I've placed in the directory data-integration\plugins\spoon\).

    I've never worked with Spoon first. I'm following this example:
    http://diethardsteiner.blogspot.it/2...taho-data.html

    When I create the fact table and I click on "Add dimension keys", this error occurred:

    An unexpected error occurred in Spoon:
    org.pentaho.metadata.model.LogicalRelationship.<init>(Lorg/pentaho/metadata/model/LogicalTable;Lorg/pentaho/metadata/model/LogicalTable;Lorg/pentaho/metadata/model/LogicalColumn;Lorg/pentaho/metadata/model/LogicalColumnV
    java.lang.NoSuchMethodError: org.pentaho.metadata.model.LogicalRelationship.<init>(Lorg/pentaho/metadata/model/LogicalTable;Lorg/pentaho/metadata/model/LogicalTable;Lorg/pentaho/metadata/model/LogicalColumn;Lorg/pentaho/metadata/model/LogicalColumnV
    at org.pentaho.di.starmodeler.StarModelDialog.getRelationshipsFromFact(StarModelDialog.java:591)
    at org.pentaho.di.starmodeler.StarModelDialog.addDimensionKeys(StarModelDialog.java:641)
    at org.pentaho.di.starmodeler.StarModelDialog$12.widgetSelected(StarModelDialog.java:442)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.starmodeler.StarModelDialog.open(StarModelDialog.java:219)
    at org.pentaho.di.starmodeler.StarModelerPerspective.newModel(StarModelerPerspective.java:664)
    at org.pentaho.di.starmodeler.StarModelerPerspective.access$200(StarModelerPerspective.java:79)
    at org.pentaho.di.starmodeler.StarModelerPerspective$6.widgetSelected(StarModelerPerspective.java:520)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1183)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6968)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567)
    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.pentaho.commons.launcher.Launcher.main(Launcher.java:134)

    Can someone help me?
    Thanks!

  2. #2
    Join Date
    Nov 1999
    Posts
    9,535

    Default

    Sorry, the star modeler is currently only being developed for the latest development snapshots of Kettle (PDI 4.4/5.0).
    Download is from CI: http://ci.pentaho.com/view/Data%20In...on/job/Kettle/
    Matt Casters, Chief Data Integration
    Pentaho, Open Source Business Intelligence
    http://www.pentaho.org -- mcasters@pentaho.org

    Author of the book Pentaho Kettle Solutions by Wiley. Also available as e-Book and on the Kindle reading applications (iPhone, iPad, Android, Kindle devices, ...)

    Join us on IRC server Freenode.net, channel ##pentaho

  3. #3
    Join Date
    Jun 2012
    Posts
    8

    Default

    Thank you Matt!
    I've downloaded the 4.4 version.
    Everything is ok until I click the "Generate transformations" button, an error occurs (see the picture)

    error.jpg

    any suggestion?

  4. #4
    Join Date
    Jun 2012
    Posts
    8

    Default

    sorry for the low quality

    the stack trace of the error is:

    org.pentaho.di.core.exception.KettleXMLException:
    Error reading information from input stream
    InputStream cannot be null


    at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:588)
    at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2387)
    at org.pentaho.di.starmodeler.generator.JobGenerator.generateDateTransformation(JobGenerator.java:390)
    at org.pentaho.di.starmodeler.generator.JobGenerator.generateDimensionTransformations(JobGenerator.java:368)
    at org.pentaho.di.starmodeler.StarModelerPerspective.generateDomainJobButton(StarModelerPerspective.java:734)
    at org.pentaho.di.starmodeler.StarModelerPerspective$11.widgetSelected(StarModelerPerspective.java:631)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1186)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:7031)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    Caused by: java.lang.IllegalArgumentException: InputStream cannot be null
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:120)
    at org.pentaho.di.core.xml.XMLHandler.loadXMLFile(XMLHandler.java:561)
    ... 18 more

  5. #5
    Join Date
    Nov 1999
    Posts
    9,535

    Default

    I'm a bit busy right now but I'll try to have a look later tonight.
    Matt Casters, Chief Data Integration
    Pentaho, Open Source Business Intelligence
    http://www.pentaho.org -- mcasters@pentaho.org

    Author of the book Pentaho Kettle Solutions by Wiley. Also available as e-Book and on the Kindle reading applications (iPhone, iPad, Android, Kindle devices, ...)

    Join us on IRC server Freenode.net, channel ##pentaho

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •