| Summary: | Build fails if empty environment variables are present | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | John Eblen <jdeblen1> |
| Component: | RDT.sync | Assignee: | John Eblen <jdeblen1> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Patch submitted |
A java.lang.ArrayIndexOutOfBoundsException occurs on line 180 of rdt.sync.core.remotemake.SyncCommandLauncher when parsing an empty environment variable. Steps to reproduce: 1) Set an empty environment variable ("setenv EMPTY_VAR" in csh, for example) 2) Start Eclipse and create a new synchronization project "newProject" 3) Build Workspace configuration This causes the following error: 'Build Project' has encountered a problem Errors occurred during the build Detail View: Errors occurred during the build. Errors running builder 'CDT Builder' on project 'newProject'. 1 1 1 1 Fortunately, this is easy to fix. I'll submit a patch later today.