# Help Needed: oscP5 sending null:0

**URL:** <https://discourse.processing.org/t/help-needed-oscp5-sending-null-0/21107>\
**Category:** Libraries\
**Created:** [May 20, 2020, 6:06pm UTC](https://discourse.processing.org/t/help-needed-oscp5-sending-null-0/21107 "2020-05-20T18:06:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mattmorris](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@mattmorris](https://discourse.processing.org/u/mattmorris)\
**Post date:** [May 20, 2020, 6:06pm UTC](https://discourse.processing.org/t/help-needed-oscp5-sending-null-0/21107/1 "2020-05-20T18:06:13Z")

</div>

Hi,

I am currently working on a project where Processing and the oscP5 library will be used to send OSC messages to companion. I am sending an OSC string as follows:

```auto
OscMessage message= new OscMessage("/press/bank/1/2");
oscP5.send(message, Companion);
println(message);

```

however when printed oscP5 is actually sending:

```auto
null:0 | /press/bank/1/2

```

Does anyone have any ideas as to where this null is coming from and how I can remove it from the string being sent.

Many Thanks!

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [May 23, 2020, 11:28pm UTC](https://discourse.processing.org/t/help-needed-oscp5-sending-null-0/21107/2 "2020-05-23T23:28:15Z")

</div>

> [@mattmorris](#):
>
> from the string being sent

OSC isn’t sending a string – that just displays the message. You can just access the path part of the message if that is all that you want to use.

check out [http://www.sojamo.de/libraries/oscP5/examples/oscP5parsing/oscP5parsing.pde](http://www.sojamo.de/libraries/oscP5/examples/oscP5parsing/oscP5parsing.pde)  
to see how to get things out of a message.
