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 113427 - Exception from <Add Endpoint> in sun-ejb-jar.xml dd editor
Summary: Exception from <Add Endpoint> in sun-ejb-jar.xml dd editor
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 6.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-21 21:48 UTC by _ pcw
Modified: 2007-09-04 15:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2007-08-21 21:48:54 UTC
Open sun-ejb-jar.xml for a new JavaEE5 project (AS 9.0 descriptor version).  Create an ejb entry, then try to create an
endpoint entry via "Add Endpoint".

java.lang.IllegalArgumentException: ‚ÆâìJosâìThe bean
org.netbeans.modules.j2ee.sun.dd.impl.common.model_3_0_0.WebserviceEndpoint has no property named Realm.âã‚ë
	at org.netbeans.modules.schema2beans.BaseBean.beanProp(BaseBean.java:348)
	at org.netbeans.modules.schema2beans.BaseBean.getValue(BaseBean.java:368)
	at org.netbeans.modules.j2ee.sun.ddloaders.multiview.DDTextFieldEditorModel.getValue(DDTextFieldEditorModel.java:63)
	at org.netbeans.modules.j2ee.sun.ddloaders.multiview.TextItemEditorModel.getItemValue(TextItemEditorModel.java:74)
	at org.netbeans.modules.xml.multiview.ItemEditorHelper$ItemDocument.refresh(ItemEditorHelper.java:192)
	at org.netbeans.modules.xml.multiview.ItemEditorHelper.refresh(ItemEditorHelper.java:156)
	at org.netbeans.modules.xml.multiview.ItemEditorHelper.<init>(ItemEditorHelper.java:117)
	at
org.netbeans.modules.j2ee.sun.share.configbean.customizers.webservice.EndpointPanel.initUserComponents(EndpointPanel.java:130)
	...
Comment 1 _ pcw 2007-08-21 21:50:35 UTC
Caused when versioning support (for AS 7.0, 8.0, 8,1 & 9.0 descriptors) was turned on.  This field hadn't previously
been enabled (because treatment was a bit special) and I enabled it without checking.

Easy to fix.
Comment 3 Radim Roska 2007-09-04 15:15:01 UTC
VERIFIED