Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #185921 +++ From Reid Holmes in bug 185921 comment 10: FileServiceSubSystem.getUserHome() makes this call-chain: if (!userHome.getParentPath().equals(".")) //$NON-NLS-1$ This can result in a NullPointerException as getParentPath() is allowed to return null if userHome.isRoot() returns true.
CQ:WIND00108151 Here is a concrete sequence of steps that leads to this bug on an Sftp connection where no home directory could be determined: User cannot even expand the root folder ("/") because the home directory returns null: 1. Boot a wrlinux target 2. Start Workbench 3. Create a user mode target server connection 4. Expand sftp files, two items will appear My Home and Root 5. Expand Root: you will see / 6. Select Root and click on Refresh, you will then be able to expand / 7. Expand /, you will get an error. See also bug 203490, bug 204710
See also bug 227135 comment 2 -- just fixing the NPE is probably not sufficient since the file subsystem will be kind of invalid anyways.