update failed for AnAction(com.netsuite.ide.websto...
# sdf
s
update failed for AnAction(com.netsuite.ide.webstorm.sdf.actions.ImportCustomObjectsAction) with ID=com.netsuite.ide.intellij.sdf.actions.importCustomObjectsAction java.lang.NullPointerException at com.netsuite.ide.util.FileUtil.getRelativePath(FileUtil.java:60) at com.netsuite.ide.webstorm.sdf.actions.ImportCustomObjectsAction.update(ImportCustomObjectsAction.java:85) at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:178) at com.intellij.openapi.actionSystem.impl.ActionUpdater.doUpdate(ActionUpdater.java:465)
a
Can you please give more details about your environment. Version of plugin, version of webstorm etc
s
WS 2020.3.2, Plugin 2020.2.0, Windows 10
e
Also how does one reproduce this?
s
I'm not sure - noticed in the logs - but from the method name I assume it was when I was trying to import custom objects 🙂
I'm a little extreme but I don't think NPEs should be a thing in modern Java development (i.e. it should be accounted for since it's been the biggest thorn in Java's side since the dawn of the language)
b
my favored fantasy is that every unexpected error in netsuite is a null pointer