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.

Bug 36625 - NullPointerException is occurred when Tag Handler Generation Root can not be accessed
Summary: NullPointerException is occurred when Tag Handler Generation Root can not be ...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P4 blocker (vote)
Assignee: robertgregor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-15 15:26 UTC by Keiichi Oono
Modified: 2010-01-12 02:06 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log when the exception is thrown (8.31 KB, text/plain)
2003-10-15 15:29 UTC, Keiichi Oono
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Keiichi Oono 2003-10-15 15:26:12 UTC
To reproduce:
 - create tag library
 - create a tag
 - open tag library customizer
   double clicking tag library icon
 - enter invalid directory as
   Tag Library Generation Root
   (e.g. /foo/bar )
 - Generate Tag Handler

NullPointerException is thrown.
This is caused by user error, but NPE is not good
for usability.
Comment 1 Keiichi Oono 2003-10-15 15:29:48 UTC
Created attachment 11873 [details]
ide.log when the exception is thrown
Comment 2 capSS 2003-10-22 12:36:12 UTC
Seems that fix for this issue should consists of two parts:
1. Checking dir name when entering to taglib properties
2. Checking dir name when generating tags

Error messages should be provided in both cases.
Comment 3 Milan Kuchtiak 2004-08-05 13:38:14 UTC
Both taglib and tag functionality was changed.
(replaced by tag handler wizard feature)

The Generate Tag Handler actions were removed from 4.0.