Pinnacle 21 crashed while validation of Define.xml

I have run a test and had the same experience. The file validates in version v2.0 but not in v2.1. I removed the dataset tags in the XML but still wasn’t able to verify the xml file. Did you receive any feedback on this issue or run into it with other tags?

Is your same experience only related to validating define.xml ? You can check the component/logs to see if there was an error and post it here.

So, I can run the defineXML validation in in v2.0 but not in v2.1 using the same define.xml file.

Found this in the log but didn’t want to post without some additional confirmation but here it is to keep the discussion going:

21:13:19.703 [RxCachedThreadScheduler-1] INFO org.opencdisc.define.Connector - Here with Validating define.xml…, Processing
21:13:20.446 [RxCachedThreadScheduler-1] ERROR org.opencdisc.define.Connector - Unexpected exception acting on control event
java.lang.ArrayIndexOutOfBoundsException: 2
at java.util.Arrays$ArrayList.get(Unknown Source) ~[?:1.7.0_72]
at org.opencdisc.define.validator.MessageTransformer.getMessage(MessageTransformer.java:231) ~[define-generator-1.1.0.jar:?]
at org.opencdisc.define.validator.MessageTransformer.map(MessageTransformer.java:63) ~[define-generator-1.1.0.jar:?]
at org.opencdisc.define.validator.ContentValidator.validateAllMetadata(ContentValidator.java:1994) ~[define-generator-1.1.0.jar:?]
at org.opencdisc.define.validator.ContentValidator.validateAllMetadata(ContentValidator.java:2014) ~[define-generator-1.1.0.jar:?]
at org.opencdisc.define.validator.ContentValidator.validateAllMetadata(ContentValidator.java:2014) ~[define-generator-1.1.0.jar:?]
at org.opencdisc.define.validator.ContentValidator.validateStudy(ContentValidator.java:143) ~[define-generator-1.1.0.jar:?]
at org.opencdisc.define.validator.ContentValidator.validate(ContentValidator.java:60) ~[define-generator-1.1.0.jar:?]
at org.opencdisc.define.validator.DefineValidator.validateContent(DefineValidator.java:178) ~[define-generator-1.1.0.jar:?]
at org.opencdisc.define.Connector$1.start(Connector.java:147) ~[define-generator-1.1.0.jar:?]
at org.opencdisc.define.Connector$1.onNext(Connector.java:61) [define-generator-1.1.0.jar:?]
at org.opencdisc.define.Connector$1.onNext(Connector.java:45) [define-generator-1.1.0.jar:?]
at rx.Observable$35.onNext(Observable.java:7439) [rxjava-1.0.7.jar:1.0.7]
at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:130) [rxjava-1.0.7.jar:1.0.7]
at rx.internal.operators.NotificationLite.accept(NotificationLite.java:150) [rxjava-1.0.7.jar:1.0.7]
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.pollQueue(OperatorObserveOn.java:191) [rxjava-1.0.7.jar:1.0.7]
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.access$000(OperatorObserveOn.java:65) [rxjava-1.0.7.jar:1.0.7]
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber$2.call(OperatorObserveOn.java:155) [rxjava-1.0.7.jar:1.0.7]
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:47) [rxjava-1.0.7.jar:1.0.7]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_72]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_72]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [?:1.7.0_72]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:1.7.0_72]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.7.0_72]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.7.0_72]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_72]

This error occurs when trying to validate

DD0010

  • ODM Attributre is not allowed to appear in element.
  • ODM attributes that are not explicitly specified in Define.xml standard should generally not be included.

It trys to get the 3 things

0 = “Element,Attribute”

1 = values

2 = name of attribute (as in SASdatasetName)

You don’t have a value and thus "index out of bounds at 2)

org.opencdisc.define.validator.MessageTransformer.getMessage(MessageTransformer.java:231) ~[define-generator-1.1.0.jar:?]

Plese let me report an issue that Pinnacle 21(ver 2.1) crashed while validation of define.xml(ver.1.0). The issue happened not in ver.2.0 but only in ver.2.1.

I tried several times changing structure of define.xml and finally found this issue was caused by ‘SASDatasetName’ attribute in ItemGroupDef tag. Once I removed the attribute, validation finished without crash.

Could you investigate and fix this issue? Thank you.