y Yasodha
on

 

Hi Team, I am getting this following error when I try to run the define.xml for ADaM:

java.lang.NullPointerExceptionat org.opencdisc.define.validator.ContentValidator.validateAllOrigins(ContentValidator.java:836)at org.opencdisc.define.validator.ContentValidator.validate(ContentValidator.java:90)at org.opencdisc.define.validator.DefineValidator.validateContent(DefineValidator.java:216)at org.opencdisc.define.Connector$1.start(Connector.java:147)at org.opencdisc.define.Connector$1.onNext(Connector.java:61)at org.opencdisc.define.Connector$1.onNext(Connector.java:45)at rx.Observable$35.onNext(Observable.java:7439)at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:130)at rx.internal.operators.NotificationLite.accept(NotificationLite.java:150)at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.pollQueue(OperatorObserveOn.java:191)at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.access$000(OperatorObserveOn.java:65)at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber$2.call(OperatorObserveOn.java:155)at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:47)at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)at java.util.concurrent.FutureTask.run(Unknown Source)at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)at java.lang.Thread.run(Unknown Source)

Environment

Application Version: 2.2.0

Platform: Windows 6.1.7601

RDP: false

Citrix: false

Auto Updates: false

Metrics: true

Threads: 1

Initial Memory: 256

Maximum Memory: 1024

 

Could you please let me know what is causing it?

Many thanks in advance.

 

Forums: Define.xml

j Jozef
on November 29, 2018

Step 1: does your define.xml validate against the XML-Schema v.2.0? See the CDISC publication "XML Schema Validation for Define.xml White Paper" which essentially also applies to define.xml 2.0. See: https://www.cdisc.org/standards/foundational/define-xml/xml-schema-validation-definexml-white-paper

You can test this easily using any XML editor that supports XML-Schema validation.

From the error message, it looks however that there is something wrong with one or more of your "def:Origin" elements. Remark that in v.2.0 this is an XML element whereas it was an attribute in v.1.0.

With best regards,

Jozef Aerts
CDISC Define-XML Development Team

m Michael
on November 29, 2018

Check your origins .  Could be a null, missing or empty XML tag for it.   Joseph is correct about the element vs attribute.  

j Jozef
on November 30, 2018

Thank you Michael!
Please: my first name is Jozef, not Joseph  ;-)
 

Want a demo?

Let’s Talk.

We're eager to share and ready to listen.

Cookie Policy

Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.