# Wowza - Plugin activation - Stream target list gets empty... solution ?

**URL:** <https://community.wowza.com/t/wowza-plugin-activation-stream-target-list-gets-empty-solution/47620>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [October 19, 2016, 12:51am UTC](https://community.wowza.com/t/wowza-plugin-activation-stream-target-list-gets-empty-solution/47620 "2016-10-19T00:51:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max\_Mustermann](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@Max\_Mustermann](https://community.wowza.com/u/Max_Mustermann)\
**Post date:** [October 19, 2016, 12:51am UTC](https://community.wowza.com/t/wowza-plugin-activation-stream-target-list-gets-empty-solution/47620/1 "2016-10-19T00:51:28Z")

</div>

Hello,

i am developing a Plugin for Streaming for our wowza-servers and its working as intended, but has 1 little problem.

When i use the my plugin on our main wowza-server all the configurated stream-targets disappear.

I am trying to figure out the main reason for the problem, but right now i was able to identify some more detail about the problem, but was not able to solve it.

Maybe someone here has an idea.

== Problem is:

- My module extends HttpProvider & is compiled as a jar-file, which i put into the /lib-folder.

- after i activate the class with full qualified package name & class-name =\> all stream targets disappear after server restart

- btw. the module is running without any problem on another server, where no stream targets are setup

== To keep the problem simple:

I searched for an existing officially Plugin using HttpProvider including the official source.

So i found [Official Blacklist-Plugin](https://www.wowza.com/docs/how-to-blacklist-a-stream-in-session-blackliststreams%28BlacklistStreams%29) using the precompiled [Jar (inside zip)](https://www.wowza.com/downloads/forums/collection/wse-plugin-blackliststreams.zip) everything works fine.

But when i just recreate the project (using [Offficial Git-Source](https://github.com/WowzaMediaSystems/wse-plugin-blackliststreams)) and compiling it all on my own and putting this compiled jar-file into the /lib-folder the stream targets disappear.

VHost.xml-config is as [mentioned here](https://www.wowza.com/docs/how-to-blacklist-a-stream-in-session-blackliststreams%28BlacklistStreams%29).

== In Detail:

Wowza-Server: Wowza Streaming Engine 4 Monthly Edition 4.5.0.02 build19165

Wowza-Server-Config: has Stream-Targets setup

No Problem: using precompiled Blacklist-Plugin-Jar-File

Problem: compiling Blacklist-Plugin on my own & using this Jar-File all stream targets disappear in the wowza-engine-manager

The server was running wowza 4.30 before with plugins & configurations.

We updated it to the newest 4.5.0.0.2 version, but the problem is not yet solved (Stream-Target-List is empty, after server restart).

When i look inside the /logs/wowzastreamingengine\_error.log:

```auto
#Version: 1.0
#Start-Date: 2016-10-19 10:10:05 CEST
#Software: Wowza Streaming Engine 4.5.0.02 build19165
#Date: 2016-10-19
#Fields: x-severity x-category x-event date time c-client-id c-ip c-port cs-bytes sc-bytes x-duration x-sname x-stream-id x-spos sc-stream-bytes cs-stream-bytes x-file-size x-file-length x-ctx x-comment
ERROR server comment 2016-10-19 10:10:15 - - - - - 9.97 - - - - - - - -
PushPublisherManager.getPushPublisherModule[wd]: Error accessing ModulePushPublish null: java.lang.NullPointerException
|at com.wowza.wms.pushpublish.manager.PushPublishManager.a(PushPublishManager.java:390)
|at com.wowza.wms.pushpublish.manager.PushPublishManager.a(PushPublishManager.java:347)
|at com.wowza.wms.pushpublish.manager.PushPublishManager.getEntries(PushPublishManager.java:100)
|at com.wowza.wms.rest.vhosts.applications.pushpublish.PushPublishStreamsAppConfig.loadObject(Unknown Source)
|at com.wowza.wms.rest.ConfigBase.get(Unknown Source)
|
ERROR server comment 2016-10-19 10:10:33 - - - - - 28.542 - - - - - - - -       
Problem shutting down : java.lang.NullPointerException
|at com.wowza.wms.vhost.VHost.shutdown(VHost.java:644)
|at com.wowza.wms.vhost.VHostSingleton.shutdown(VHostSingleton.java:91)
|at com.wowza.wms.server.Server.stopVHost(Server.java:3491)
|at com.wowza.wms.server.Server.stopVHosts(Server.java:3509)
|at com.wowza.wms.server.Server.stopServer(Server.java:1170)
|

```

First of all i thaught about special server settings, but this shouldn´t be the problem, because the precompiled official-blacklist-plugin-jarfile is working.

The only difference i could think of can be the compilation settings.

The official plugin is compiled with an older version. My compilation (of the official git-hub-src) is using wowza 4.5.0.0.2 (like the version on our server) using eclipse with wowza-ide-2.

Right now, i don´t have any idea.

Any ideas are appreciated.

Thank you.

---

<div class="post-metadata">

**Author:** ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)\
**Post date:** [December 22, 2016, 3:54pm UTC](https://community.wowza.com/t/wowza-plugin-activation-stream-target-list-gets-empty-solution/47620/2 "2016-12-22T15:54:41Z")

</div>

Hi,

You should be using [Wowza IDE 4](https://www.wowza.com/docs/how-to-extend-wowza-streaming-engine-using-the-wowza-ide) plugin, as this is compatible with the Wowza version that you have. Please use this plugin and see if you continue to have issues.

Michelle

---

<div class="post-metadata">

**Author:** ![Max\_Mustermann](https://avatars.discourse-cdn.com/v4/letter/m/fbc32d/32.png) [@Max\_Mustermann](https://community.wowza.com/u/Max_Mustermann)\
**Post date:** [October 19, 2016, 3:02am UTC](https://community.wowza.com/t/wowza-plugin-activation-stream-target-list-gets-empty-solution/47620/3 "2016-10-19T03:02:57Z")

</div>

After some more testing, i finally found the solution.

In Eclipse-IDE (with Wowza-IDE-2-Plugin) on Project-Settings \> Java Compiler:

- Enable Project specific settings: yes

- Compiler compliance Level: 1.7 (was previously 1.8)

So compiling the wowza-plugin.jar with Java 1.8, caused the error-log-entry above, so the “Stream Targets”-list got empty.

_solved - thread can be closed_

EDIT: ops, i just saw… i posted it into the wrong sub-forum. Please move to Java Subforum.
