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

Summary: It's not possible to add any versioned directory
Product: obsolete Reporter: Martin Entlicher <mentlicher>
Component: vcscoreAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: blocker CC: rkubacki, rondruska
Priority: P1 Keywords: REGRESSION
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: The .IntrospectionException

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