# community cli

**URL:** <https://forum.certara.com/t/community-cli/1950>\
**Category:** SEND\
**Created:** [July 11, 2023, 5:03pm UTC](https://forum.certara.com/t/community-cli/1950 "2023-07-11T17:03:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kwabena.amo](https://avatars.discourse-cdn.com/v4/letter/k/5e9695/32.png) [@kwabena.amo](https://forum.certara.com/u/kwabena.amo)\
**Post date:** [July 11, 2023, 5:56pm UTC](https://forum.certara.com/t/community-cli/1950/1 "2023-07-11T17:56:53Z")

</div>

Update to post above

I believe the cli process fails from this point with this error:  
2023-07-11 17:47:51 [main] ERROR n.b.api.monitor.segment.Segments - Segments failed  
java.lang.NullPointerException: null  
at net.bootstrap.api.monitor.segment.ValidatorSegment.toMessageBuilder(ValidatorSegment.java:98) ~[p21-client-1.0.7.jar:1.0.7]  
at net.bootstrap.api.monitor.segment.ValidatorSegment.access$0(ValidatorSegment.java:77) ~[p21-client-1.0.7.jar:1.0.7]  
at net.bootstrap.api.monitor.segment.ValidatorSegment$AnalyticsEnqueue.call(ValidatorSegment.java:187) ~[p21-client-1.0.7.jar:1.0.7]  
at net.bootstrap.api.monitor.segment.ValidatorSegment$AnalyticsEnqueue.call(ValidatorSegment.java:1) ~[p21-client-1.0.7.jar:1.0.7]

---

<div class="post-metadata">

**Author:** ![Matt\_Myers](https://sea1.discourse-cdn.com/certara/user_avatar/forum.certara.com/matt_myers/32/2548_2.png) [@Matt\_Myers](https://forum.certara.com/u/Matt_Myers)\
**Post date:** [July 13, 2023, 6:32pm UTC](https://forum.certara.com/t/community-cli/1950/2 "2023-07-13T18:32:15Z")

</div>

Hello Kwabena,

The logging indicates that an incorrect version of Java may be installed. CCLI only supports Java 8. I recommend checking the version of Java installed on the machine and if needed, downloading and installing Java 8:

[https://www.java.com/en/download/](https://www.java.com/en/download/)

Kind regards,

Matt

---

<div class="post-metadata">

**Author:** ![kwabena.amo](https://avatars.discourse-cdn.com/v4/letter/k/5e9695/32.png) [@kwabena.amo](https://forum.certara.com/u/kwabena.amo)\
**Post date:** [July 11, 2023, 5:03pm UTC](https://forum.certara.com/t/community-cli/1950/3 "2023-07-11T17:03:45Z")

</div>

I’m trying to validate a sample xpt file but I keep getting this error:

Exception in thread “main” java.lang.NoSuchMethodError: sun.nio.ch.DirectBuffer.cleaner()Lsun/misc/Cleaner;

What could I be doing wrong?  
Here’s the command I am executing:

java -jar p21-client-1.0.7.jar --engine.version=“FDA 2204.1” --standard=send --standard.version=3.1 --source.send=“C:\Users\User\Documents\practice\bw.xpt” --cdisc.ct.send.version=2023-03-31 --report=“C:\Users\User\Documents\report.xlsx” --config=“C:\Users\User\Documents\Pinnacle 21 Community\configs”
