java.lang.NullPointerException

Pentaho BI Platform Tracking | Emanuel Teixeira | 1 year ago
  1. 0

    Opening the attached transformation, make same changes and save it, throw a NPE. OR, if we open the transformation, close spoon and open spoon we get a Null Pointer Exception. This issue is not a regression, occurs in 5.4 and 6.0 (Master). The exception throw: {code} java.lang.NullPointerException at java.lang.String$CaseInsensitiveComparator.compare(Unknown Source) at java.lang.String$CaseInsensitiveComparator.compare(Unknown Source) at java.util.TimSort.countRunAndMakeAscending(Unknown Source) at java.util.TimSort.sort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.refreshSlavesSubtree(Spoon.java:6456) at org.pentaho.di.ui.spoon.Spoon.refreshTree(Spoon.java:6197) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabSelected(SpoonTabsDelegate.java:450) at org.pentaho.di.ui.spoon.Spoon.tabSelected(Spoon.java:3274) at org.pentaho.xul.swt.tab.TabSet.notifySelectListeners(TabSet.java:101) at org.pentaho.xul.swt.tab.TabSet.setSelected(TabSet.java:198) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:213) at org.pentaho.di.ui.spoon.Spoon.addTransGraph(Spoon.java:8688) at org.pentaho.di.ui.spoon.TransFileListener.open(TransFileListener.java:82) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4550) at org.pentaho.di.ui.spoon.Spoon.loadLastUsedFile(Spoon.java:8108) at org.pentaho.di.ui.spoon.Spoon.loadLastUsedFiles(Spoon.java:7871) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:7895) at org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:9174) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.jface.window.Window.open(Window.java:785) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9189) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) 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:92) {code}

    Pentaho BI Platform Tracking | 1 year ago | Emanuel Teixeira
    java.lang.NullPointerException
  2. 0

    Opening the attached transformation, make same changes and save it, throw a NPE. OR, if we open the transformation, close spoon and open spoon we get a Null Pointer Exception. This issue is not a regression, occurs in 5.4 and 6.0 (Master). The exception throw: {code} java.lang.NullPointerException at java.lang.String$CaseInsensitiveComparator.compare(Unknown Source) at java.lang.String$CaseInsensitiveComparator.compare(Unknown Source) at java.util.TimSort.countRunAndMakeAscending(Unknown Source) at java.util.TimSort.sort(Unknown Source) at java.util.Arrays.sort(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.refreshSlavesSubtree(Spoon.java:6456) at org.pentaho.di.ui.spoon.Spoon.refreshTree(Spoon.java:6197) at org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabSelected(SpoonTabsDelegate.java:450) at org.pentaho.di.ui.spoon.Spoon.tabSelected(Spoon.java:3274) at org.pentaho.xul.swt.tab.TabSet.notifySelectListeners(TabSet.java:101) at org.pentaho.xul.swt.tab.TabSet.setSelected(TabSet.java:198) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:213) at org.pentaho.di.ui.spoon.Spoon.addTransGraph(Spoon.java:8688) at org.pentaho.di.ui.spoon.TransFileListener.open(TransFileListener.java:82) at org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4550) at org.pentaho.di.ui.spoon.Spoon.loadLastUsedFile(Spoon.java:8108) at org.pentaho.di.ui.spoon.Spoon.loadLastUsedFiles(Spoon.java:7871) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:7895) at org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:9174) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.jface.window.Window.open(Window.java:785) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9189) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654) 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:92) {code}

    Pentaho BI Platform Tracking | 1 year ago | Emanuel Teixeira
    java.lang.NullPointerException
  3. 0

    CLI `ceylon plugin list` causes NPE

    GitHub | 2 years ago | sgalles
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to sort an array of objects containing null elements?

    Stack Overflow | 2 years ago | FergusMacNamara
    java.lang.NullPointerException
  6. 0

    null pointer json data

    Stack Overflow | 2 years ago | Andrew
    java.lang.NullPointerException

  1. jshakil 2 times, last 1 month ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at java.lang.String$CaseInsensitiveComparator.compare()
  2. Java RT
    Arrays.sort
    1. java.lang.String$CaseInsensitiveComparator.compare(Unknown Source)
    2. java.lang.String$CaseInsensitiveComparator.compare(Unknown Source)
    3. java.util.TimSort.countRunAndMakeAscending(Unknown Source)
    4. java.util.TimSort.sort(Unknown Source)
    5. java.util.Arrays.sort(Unknown Source)
    5 frames
  3. org.pentaho.di
    Spoon.tabSelected
    1. org.pentaho.di.ui.spoon.Spoon.refreshSlavesSubtree(Spoon.java:6456)
    2. org.pentaho.di.ui.spoon.Spoon.refreshTree(Spoon.java:6197)
    3. org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate.tabSelected(SpoonTabsDelegate.java:450)
    4. org.pentaho.di.ui.spoon.Spoon.tabSelected(Spoon.java:3274)
    4 frames
  4. org.pentaho.xul
    TabSet.setSelected
    1. org.pentaho.xul.swt.tab.TabSet.notifySelectListeners(TabSet.java:101)
    2. org.pentaho.xul.swt.tab.TabSet.setSelected(TabSet.java:198)
    2 frames
  5. org.pentaho.di
    Spoon.createContents
    1. org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.addTransGraph(SpoonTransformationDelegate.java:213)
    2. org.pentaho.di.ui.spoon.Spoon.addTransGraph(Spoon.java:8688)
    3. org.pentaho.di.ui.spoon.TransFileListener.open(TransFileListener.java:82)
    4. org.pentaho.di.ui.spoon.Spoon.openFile(Spoon.java:4550)
    5. org.pentaho.di.ui.spoon.Spoon.loadLastUsedFile(Spoon.java:8108)
    6. org.pentaho.di.ui.spoon.Spoon.loadLastUsedFiles(Spoon.java:7871)
    7. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:7895)
    8. org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:9174)
    8 frames
  6. JFace
    Window.open
    1. org.eclipse.jface.window.Window.create(Window.java:426)
    2. org.eclipse.jface.window.Window.open(Window.java:785)
    2 frames
  7. org.pentaho.di
    Spoon.main
    1. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9189)
    2. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:654)
    2 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  9. org.pentaho.commons
    Launcher.main
    1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)
    1 frame