This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | java.util.MissingResourceException: bin/Linux-arm_64/libBuildTrace.so | ||
---|---|---|---|
Product: | cnd | Reporter: | daiscog |
Component: | Project Discovery | Assignee: | Alexander Simon <alexvsimon> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | ilia |
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 227422 |
Attachments: | stacktrace |
Description
daiscog
2016-12-02 22:24:25 UTC
Created attachment 163136 [details]
stacktrace
Vladimir, as I remember you introduced Linux-arm architecture. It should not harm other subsystem. How is it possible? We'll get into the same situation for FreeBSD. The problem is in incorrect processing of exception in cnd.discovery/src/org/netbeans/modules/cnd/discovery/projectimport/ExecuteCommand.java:225 HelperLibraryUtility.getLibraryName throws IOException when it can not find path (I don't like this approach, but we have what we have) ExecuteCommand.prepare asks for path that can not be found. When it catches the IOExcepton, it should just understand that there is no such path, instead of reporting the exception via Exceptions.printStackTrace(ex); Oh, sorry, I was wrong, it's not IOException (I erroneosly thought that MissingResourceException is an IOException). Investigatoing... My previous comment was correct, MissingResourceException is wrapped into IOException, so we just need to fix error processing in ExecuteCommand.prepare. Alexander, it will be more safe if you fix this, rather thn me, could you do this please>? It looks like a duplicate of the bug #268766 fixed in enum, branch release82, change set 0f13018eaa7c Integrated into 'main-silver', will be available in build *201612080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/1af9900dcefa User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #269220 java.util.MissingResourceException: bin/Linux-arm_64/libBuildTrace.so (transplanted from 0f13018eaa7c3ef1d7c1f6f541da72a75dfe8f66) Verified in internal NetBeans 8,2 patch 1 build. |