InvocationTargetException in attempt invoke methods onConnect,onStreamCreate in modul

I install Wowza 4.1.0 Trial, on server : Win 8 x64, jdk1.8.0_20

I wrote the module and added to application. Wowza is launched without errors.

When I launch a stream on client some module methods are called without errors, but some methods aren’t called and logs there are errors:

2014-09-24	12:47:35	YEKT	comment	server	ERROR	500	-	invoke(onConnect): java.lang.reflect.InvocationTargetException|at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)|at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|at java.lang.reflect.Method.invoke(Method.java:483)|at com.wowza.wms.module.ModuleFunction.invoke(ModuleFunction.java:369)|	_defaultVHost_	cams	_definst_	14.117
2014-09-24	12:47:35	YEKT	comment	server	ERROR	500	-	invoke(onStreamCreate): java.lang.reflect.InvocationTargetException|at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)|at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)|at java.lang.reflect.Method.invoke(Method.java:483)|at com.wowza.wms.module.ModuleFunction.invoke(ModuleFunction.java:383)|	-	-	-	14.159

Signature methods in my module:

public void onConnect(com.wowza.wms.client.IClient iClient, com.wowza.wms.request.RequestFunction requestFunction, com.wowza.wms.amf.AMFDataList amfDataList) {...
public void onStreamCreate(IMediaStream stream) {...

Thanks for your time!

Hi,

This kind of error indicates the compiled jar file is not in the lib/ folder of your Wowza Streaming Engine install, or possibly anything it may rely on to work correctly.

What I would do is strip down the module to a bare minimum and get that working then add back any code to see if/how/when it fails.

Andrew.