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 36403 - exception with fresh build creating web module project
Summary: exception with fresh build creating web module project
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Other
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-02 23:50 UTC by pswisnov
Modified: 2004-04-19 16:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log (27.93 KB, text/plain)
2003-10-02 23:51 UTC, pswisnov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pswisnov 2003-10-02 23:50:50 UTC
I did a fresh build just now with clean source and
started the IDE. I closed the default project and
tried to create a new web module project. I got
the attached exception.
Comment 1 pswisnov 2003-10-02 23:51:57 UTC
Created attachment 11778 [details]
IDE Log
Comment 2 Petr Pisl 2003-10-03 10:02:12 UTC
I don't see from the exception that it's from the web module. If I try
to create other project, then I get the same exception. I transfer
this bug to the project team.
Comment 3 pswisnov 2003-10-03 17:20:24 UTC
Hi, I guess I only tried creating a web project. BTW, someone here
suggested that the following might work around the problem.

org.netbeans.spi.projects.settings.ContextSettings.java

The following change was made to this file yesterday near line 136:
from this:
  context.setAttribute(createdName, Scope.ATTR_NAME, scope.getId());
//NOI18N

to this:
   context.setAttribute(null, Scope.ATTR_NAME + ":" + createdName,
scope.getId()); //NOI18N

I restored the old code and am able to add "new" things.

The file is in  nb_all/projects/settings.
Comment 4 Vitezslav Stejskal 2003-10-13 13:40:57 UTC
For Petr Pisl, pleas don't forget to change QA contact and use
'Reassign issue to owner of selected subcomponent' when reassigning
bugs otherwise the issue is still assigned to old person. (in that
case to isses@web.netbeans.org)
Comment 5 Vitezslav Stejskal 2003-10-13 13:42:23 UTC
Should be fixed already. There was another deffect filed for the same
problem, but I don't have its IZ # handy.
Comment 6 Jan Becicka 2003-11-25 14:03:18 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 7 Jan Becicka 2003-11-25 14:12:23 UTC
---> CLOSED