Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Null Pointer Exception / Row Normaliser

  1. #1

    Default Null Pointer Exception / Row Normaliser

    Hi everyone,
    I just wanted to signal a bug I found in a transformation I've made. I don't know if the bug has already been found, but in the case it hasn't, this post could be useful
    See transformation attached.

    I'm using Kettle 2.5.0.


    stacktrace
    Code:
    java.lang.Exception: java.lang.NullPointerException
        at be.ibridge.kettle.spoon.Spoon.editStep(Spoon.java:3154)
        at be.ibridge.kettle.spoon.SpoonGraph.editStep(SpoonGraph.java:2063)
        at be.ibridge.kettle.spoon.SpoonGraph.access$100(SpoonGraph.java:96)
        at be.ibridge.kettle.spoon.SpoonGraph$4.mouseDoubleClick(SpoonGraph.java:246)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:182)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3673)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284)
        at be.ibridge.kettle.spoon.Spoon.readAndDispatch(Spoon.java:964)
        at be.ibridge.kettle.spoon.Spoon.main(Spoon.java:7322)
    Caused by: java.lang.NullPointerException
        at be.ibridge.kettle.trans.step.normaliser.NormaliserMeta.getFields(NormaliserMeta.java:243)
        at be.ibridge.kettle.trans.TransMeta.getThisStepFields(TransMeta.java:1596)
        at be.ibridge.kettle.trans.TransMeta.getStepFields(TransMeta.java:1468)
        at be.ibridge.kettle.trans.TransMeta.getStepFields(TransMeta.java:1446)
        at be.ibridge.kettle.trans.TransMeta.getStepFields(TransMeta.java:1446)
        at be.ibridge.kettle.trans.TransMeta.getPrevStepFields(TransMeta.java:1516)
        at be.ibridge.kettle.trans.TransMeta.getPrevStepFields(TransMeta.java:1490)
        at be.ibridge.kettle.trans.TransMeta.getPrevStepFields(TransMeta.java:1479)
        at be.ibridge.kettle.trans.step.scriptvalues_mod.ScriptValuesDialogMod.buildInputFieldsTree(ScriptValuesDialogMod.java:1329)
        at be.ibridge.kettle.trans.step.scriptvalues_mod.ScriptValuesDialogMod.open(ScriptValuesDialogMod.java:599)
        at be.ibridge.kettle.spoon.Spoon.editStep(Spoon.java:3099)
        ... 10 more
    Attached Files Attached Files

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Well... if you're sure it's a bug make a tracker for it at http://jira.pentaho.org/browse/PDI.

    Regards,
    Sven

  3. #3

    Default

    Well thanks for the url ... but in case I'm wrong (what happens too much often ), if someone has a look and find out what the problem is ...

    I think it's a bug, because the transformation works very well, the code in the javascript step is executed, but I can't see the code if the links between the steps are made.

    Whatever, I'll make a tracker on the website

  4. #4
    Join Date
    May 2006
    Posts
    4,882

    Default

    Debugged it a bit, you didn't fill in all fields in the normalizer. I think you have to fill in all "new fields".

    Regards,
    Sven

  5. #5

    Default

    yes indeed, it works while completing the normalizer step.

    thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.