Bug 401435 - [ua] NPE when registering context help for non-plugin project
Summary: [ua] NPE when registering context help for non-plugin project
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.8.2+   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 400129
Blocks:
  Show dependency tree
 
Reported: 2013-02-21 09:57 EST by Curtis Windatt CLA
Modified: 2013-03-01 12:01 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Windatt CLA 2013-02-21 09:57:50 EST
Cloned for backporting to 4.2.2+

+++ This bug was initially created as a clone of Bug #400129 +++

It is wrong to register context help for a non-plugin project, but the error message could be more descriptive than NPE.

Steps to reproduce:
1. Create new General Project.
2. Create new Context Help in that project.
3. Click "Register this context help file" in the top right corner of Context Help Editor.
4. Click Finish.
=> Error dialog with NPE appears.

Similar to bug 273049 comment 3.
Comment 2 Szymon Ptaszkiewicz CLA 2013-03-01 04:08:28 EST
I think changes in bundle version in manifest may also require pom update.
Comment 3 Curtis Windatt CLA 2013-03-01 11:40:28 EST
(In reply to comment #2)
> I think changes in bundle version in manifest may also require pom update.

While there shouldn't be any more CBI builds against this maintenance stream, I updated the POMs to remain consistent.  New tag is v20130301.  Thanks for pointing this out.
Comment 4 Szymon Ptaszkiewicz CLA 2013-03-01 12:01:28 EST
(In reply to comment #3)
> (In reply to comment #2)
> > I think changes in bundle version in manifest may also require pom update.
> 
> While there shouldn't be any more CBI builds against this maintenance
> stream, I updated the POMs to remain consistent.  New tag is v20130301. 
> Thanks for pointing this out.

I think there will be plenty of builds against maintenance streams because of LTS. These are also CBI builds but not published at eclipse.org.