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 42564 - NPE thrown from J2SEProjectProperties.PathParser.decode
Summary: NPE thrown from J2SEProjectProperties.PathParser.decode
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: Petr Hrebejk
Depends on:
Blocks: 41537
  Show dependency tree
Reported: 2004-04-28 14:30 UTC by Jan Chalupa
Modified: 2004-09-07 12:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Exception stack trace (2.90 KB, text/plain)
2004-04-28 14:31 UTC, Jan Chalupa

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2004-04-28 14:30:23 UTC
[dev-200404261800; Sun JDK 1.4.2_04]

I'm trying to open Project Properties for a
project I created a few days ago. I get
NullPointerException from
regex.Matcher.getTextLength (see attachment).
Comment 1 Jan Chalupa 2004-04-28 14:31:02 UTC
Created attachment 14599 [details]
Exception stack trace
Comment 2 Jan Chalupa 2004-04-28 14:47:34 UTC
For a newly created project, opening of Project Properties works fine.
May be some incompatibility between two IDE builds.
Comment 3 Jan Chalupa 2004-04-28 14:56:39 UTC
Disregard. I think I tried to open Properties of a project created in
build from the "refactoring" development branch. I suspect this caused
some incompatibilities. I'll reopen if it comes up again in a more
standard scenario.
Comment 4 Jesse Glick 2004-04-28 19:02:03 UTC
Regardless of who created the project, it is unacceptable for the
project type to react so poorly. It must account for the possibility
that some things are missing from for whatever
reason. We should even consider "stress-testing" the different project
types by feeding them different kinds of garbage input (syntactically
malformed, missing required information, etc.).
Comment 5 psuk 2004-07-19 16:43:56 UTC
Comment 6 Petr Hrebejk 2004-09-07 12:58:09 UTC
PathParser now handles null values correctly.

Checking in
new revision: 1.25; previous revision: 1.24