Bug 5400 - NPE exporting a class file
Summary: NPE exporting a class file
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows NT
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on: 5583
Blocks:
  Show dependency tree
 
Reported: 2001-11-01 04:58 EST by Dani Megert CLA
Modified: 2009-08-30 02:09 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2001-11-01 04:58:31 EST
See: news://eclipse.org/3BE05A18.77E48C0D%40versant.com
Comment 1 Dani Megert CLA 2001-11-05 04:56:45 EST
Could not reporduce the NPE on the actual code base (build 20011101) but there 
are problems exporting class files which are not produced through compilation of 
an exisiting source (.java) file:
1) class files (as source) in source folders are not visible in the Packages 
view nor in the JAR exporter (but they are exported correctly if the 
corresponding folder is selected) <== possible workaround
2) class files in a class folder are not visible in the JAR exporter and they 
are not exported even if the whole project is selected

WORKAROUND:
Generate the class files in a source folder

Suggest to fix 2) i.e. allow class folders to be exported.
Comment 2 Dani Megert CLA 2001-11-06 06:59:43 EST
Also tried to reproduce the NPE by selecting class files in the Navigator 
without success.

Until now no test case or build id posted after asking for it.
Still waiting...
Comment 3 Dani Megert CLA 2001-11-06 12:46:48 EST
1) works as soon as bug 5583 is fixed (added as dependent)
2) is now implemented - not released yet - needs testing
 
Comment 4 Dani Megert CLA 2001-11-07 11:24:39 EST
Waiting
Comment 5 Dani Megert CLA 2001-11-07 12:05:07 EST
Tested and released feature to show and export class folders (2)
Implemented > Build: 20011106
Comment 6 Dani Megert CLA 2002-07-02 04:59:59 EDT
Closing this bug since JDT Core does not intend to fix bug 5583.
Comment 7 Denis Roy CLA 2009-08-30 02:09:42 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.