java.lang.Exception

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When deleting more than one Domain File, we get a NullPointerException. Check the attached screenshot. *Repro-path* # Start PME # Create a new Domain File (File > New > Domain File) # Create a new Business Model (File > New > Business Model). Don't need to change anything on Business Model Properties dialog, just click OK. # Click on Save. Enter a name, eg "myDomain_v1" # Repeat Steps 2-3-4. When saving the new domain, name it "myDomain_v2" # Go to File > Delete Domain. Select *myDomain_v2* and click OK. Click Yes to confirm. # Go to File > Delete Domain. Select *myDomain_v1* and click OK. Click Yes to confirm. *Actual Result* We get a NullPointerException. *Expected Result* We should be able to delete all Domain files. The aplication shouldn't throw any error/exception. \\ Stacktrace: {code} java.lang.Exception: java.lang.NullPointerException at org.pentaho.pms.ui.MetaEditor.deleteFile(MetaEditor.java:3007) at org.pentaho.pms.ui.MetaEditor$18.handleEvent(MetaEditor.java:554) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:859) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3648) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Caused by: java.lang.NullPointerException at org.pentaho.pms.ui.MetaEditor.deleteFile(MetaEditor.java:2996) ... 16 more {code}
    via by Paula Clemente,
  • When deleting more than one Domain File, we get a NullPointerException. Check the attached screenshot. *Repro-path* # Start PME # Create a new Domain File (File > New > Domain File) # Create a new Business Model (File > New > Business Model). Don't need to change anything on Business Model Properties dialog, just click OK. # Click on Save. Enter a name, eg "myDomain_v1" # Repeat Steps 2-3-4. When saving the new domain, name it "myDomain_v2" # Go to File > Delete Domain. Select *myDomain_v2* and click OK. Click Yes to confirm. # Go to File > Delete Domain. Select *myDomain_v1* and click OK. Click Yes to confirm. *Actual Result* We get a NullPointerException. *Expected Result* We should be able to delete all Domain files. The aplication shouldn't throw any error/exception. \\ Stacktrace: {code} java.lang.Exception: java.lang.NullPointerException at org.pentaho.pms.ui.MetaEditor.deleteFile(MetaEditor.java:3007) at org.pentaho.pms.ui.MetaEditor$18.handleEvent(MetaEditor.java:554) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:859) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3648) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Caused by: java.lang.NullPointerException at org.pentaho.pms.ui.MetaEditor.deleteFile(MetaEditor.java:2996) ... 16 more {code}
    via by Paula Clemente,
    • java.lang.Exception: java.lang.NullPointerException at org.pentaho.pms.ui.MetaEditor.deleteFile(MetaEditor.java:3007) at org.pentaho.pms.ui.MetaEditor$18.handleEvent(MetaEditor.java:554) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.pms.ui.MetaEditor.readAndDispatch(MetaEditor.java:859) at org.pentaho.pms.ui.MetaEditor.main(MetaEditor.java:3648) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) Caused by: java.lang.NullPointerException at org.pentaho.pms.ui.MetaEditor.deleteFile(MetaEditor.java:2996) ... 16 more
    No Bugmate found.