Bug 451626 - Add Include from Virtual Folder fails with NullPointerException
Summary: Add Include from Virtual Folder fails with NullPointerException
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 8.5   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-14 15:19 EST by Jonathan Haws CLA
Modified: 2020-09-04 15:20 EDT (History)
3 users (show)

See Also:


Attachments
Stack Trace (1.96 KB, text/plain)
2014-11-14 15:36 EST, Jonathan Haws CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Haws CLA 2014-11-14 15:19:50 EST
When I try to add an include statement in a linked file inside a virtual folder I get the following error.

An internal error occurred during: "Adding include statement".
java.lang.NullPointerException


-- Configuration Details --
Product: Eclipse 4.4.1.20140925-1820 (org.eclipse.epp.package.cpp.product)
Installed Features:
 org.eclipse.platform 4.4.0.v20140925-0400
Comment 1 Nathan Ridge CLA 2014-11-14 15:32:57 EST
By "add an include statement", do you mean the Source -> Add Include command?

Could you attach the stack trace of the exception from the <workspace>/.metadata/.log file?
Comment 2 Jonathan Haws CLA 2014-11-14 15:36:50 EST
Created attachment 248679 [details]
Stack Trace
Comment 3 Jonathan Haws CLA 2014-11-14 15:37:55 EST
Yes, via the context menu or via a keyboard shortcut.  Source->Add Include is what I am trying to do.

My setup has a virtual folder that contains links to files elsewhere in my file system.