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 96790 - It's not possible to add any versioned directory
Summary: It's not possible to add any versioned directory
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-02-28 15:18 UTC by Martin Entlicher
Modified: 2007-10-01 14:08 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The .IntrospectionException (2.64 KB, text/plain)
2007-02-28 15:19 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2007-02-28 15:18:18 UTC
Due to java.beans.IntrospectionException: Method not found: setHome
it is not possible to add any versioned directory in Versioning Manager.
Comment 1 Martin Entlicher 2007-02-28 15:19:43 UTC
Created attachment 38979 [details]
The .IntrospectionException
Comment 2 Martin Entlicher 2007-02-28 15:21:07 UTC
Caused by:
File [changed]: GeneralVcsSettings.java
Url:
http://vcscore.netbeans.org/source/browse/vcscore/src/org/netbeans/modules/vcscore/settings/GeneralVcsSettings.java?r1=1.21&r2=1.22
Delta lines:  +3 -23
User: rkubacki
Date: 2006/12/18 06:34:29
Comment 3 _ rkubacki 2007-02-28 15:35:06 UTC
My apologize. Hope that updating of BeanInfo will be enough. If the purpose of
this was to make sure that spawned process get some correct HOME it would be
also good to check usages of NbProcessDescriptor and use exec() calls that
append some env vars. At least this is what we had to do in tomcat plugin after
my changes.
Comment 4 Martin Entlicher 2007-10-01 14:08:26 UTC
It's fixed now by making the Home property read-only:

/shared/data/ccvs/repository/vcscore/src/org/netbeans/modules/vcscore/settings/GeneralVcsSettingsBeanInfo.java,v  <-- 
GeneralVcsSettingsBeanInfo.java
new revision: 1.16; previous revision: 1.15