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.
The next construction <eventHandlers> <onAlarm> <repeatEvery>$OnAlarmWSDLOperationIn.duration</repeatEvery> is correct but matched as invalid. Validation error says: ERROR: The duration for the <repeatEvery> can not be zero or negative.
diff in release61: private void checkNegative(RepeatEvery repeatEvery) { String value = repeatEvery.getContent(); + if (value == null) { + return; + } + if ( !(value.startsWith("'") && value.endsWith("'"))) { + return; + } try { Duration duration = DurationUtil.parseDuration(value, true); if (duration.hasMinus() || isZero(duration)) { addError("FIX_Negative_RepeatEvery", repeatEvery); // NOI18N } } catch (IllegalArgumentException e) {} }
fixed in release61: 8ddd378eb44b also fixed in trunk. P1 - there is no workaround.
Created attachment 60197 [details] Test project
Verified with NetBeans IDE 6.1 RC2 (Build 200804170002)