Hi Madhuka,

I'm still getting this exception. I'll explain the steps I followed.

1) run ant on ProductHOME/samples/mashupSamples
2) then start the AS product

Please guide me if I'm missing something. I'm using Ubuntu 12.04

Thanks,
Manoj

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Mon, Sep 30, 2013 at 11:22 PM, Madhuka Udantha <[email protected]> wrote:

> Hi, Manoj
>
> I deployed all mashup samples[1] (contains feedCache[3]) and in
> wso2as-5.2.0[3]
> Not error was able get in the pack. screen is also attaching in here.
> Tested in windows 7
>
> [1]  wso2as-5.2.0\samples\mashupSamples\
> [2]  wso2as-5.2.0\samples\mashupSamples\feedCache
> [3] http://wso2.com/products/application-server/
>
>
> On Mon, Sep 30, 2013 at 2:12 PM, Manoj Kumara <[email protected]> wrote:
>
>> Hi,
>>
>> I'm getting the following exception when try to run mashup samples with
>> AS 5.2.0. Please check.
>>
>>
>> [2013-09-30 14:04:26,048] ERROR
>> {org.wso2.carbon.mashup.javascript.hostobjects.system.MSTaskAdmin} -
>> java.lang.NullPointerException
>> at
>> org.wso2.carbon.mashup.javascript.hostobjects.system.MSTaskAdmin.scheduleTask(MSTaskAdmin.java:68)
>> at
>> org.wso2.carbon.mashup.javascript.hostobjects.system.SystemHostObject.jsFunction_setInterval(SystemHostObject.java:735)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>  at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>>  at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
>> at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
>>  at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>> at
>> org.jaggeryjs.rhino.c12._c_anonymous_1(///home/manoj/Desktop/wso2as-5.2.0/repository/deployment/server/jsservices/admin/feedCache.js:23)
>>  at
>> org.jaggeryjs.rhino.c12.call(///home/manoj/Desktop/wso2as-5.2.0/repository/deployment/server/jsservices/admin/feedCache.js)
>> at
>> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
>>  at
>> org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
>> at
>> org.jaggeryjs.rhino.c12.call(///home/manoj/Desktop/wso2as-5.2.0/repository/deployment/server/jsservices/admin/feedCache.js)
>>  at
>> org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.processService(JSDeployer.java:528)
>> at
>> org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:164)
>>  at
>> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>> at
>> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
>>  at
>> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
>> at
>> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
>>  at
>> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
>> at
>> org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
>>  at
>> org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:464)
>> at
>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
>>  at
>> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
>> at
>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
>>  at
>> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
>> at
>> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:74)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>  at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>>  at
>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>>  at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>>  at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>> at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>>  at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>> at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>>  at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>> at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>>  at
>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>>  at
>> org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
>> at
>> org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
>>  at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
>> at
>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
>>  at
>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
>> at
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
>>  at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
>> at
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
>>  at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>  at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>> at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>  at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>>  at java.lang.Thread.run(Thread.java:662)
>> [2013-09-30 14:04:26,051] ERROR
>> {org.wso2.carbon.mashup.jsservices.deployer.JSDeployer} -  The service
>> feedCache.js is not valid.
>> org.mozilla.javascript.WrappedException: Wrapped
>> org.wso2.carbon.CarbonException: Unable to create the scheduling task
>> (///home/manoj/Desktop/wso2as-5.2.0/repository/deployment/server/jsservices/admin/feedCache.js#23)
>>  at
>> org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
>>  at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:386)
>> at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>>  at
>> org.jaggeryjs.rhino.c12._c_anonymous_1(///home/manoj/Desktop/wso2as-5.2.0/repository/deployment/server/jsservices/admin/feedCache.js:23)
>> at
>> org.jaggeryjs.rhino.c12.call(///home/manoj/Desktop/wso2as-5.2.0/repository/deployment/server/jsservices/admin/feedCache.js)
>>  at
>> org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
>> at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
>>  at
>> org.jaggeryjs.rhino.c12.call(///home/manoj/Desktop/wso2as-5.2.0/repository/deployment/server/jsservices/admin/feedCache.js)
>> at
>> org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.processService(JSDeployer.java:528)
>>  at
>> org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:164)
>> at
>> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
>>  at
>> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
>> at
>> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
>>  at
>> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
>> at
>> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
>>  at
>> org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:139)
>> at
>> org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:464)
>>  at
>> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
>> at
>> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65)
>>  at
>> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:398)
>> at
>> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
>>  at
>> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:74)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>  at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
>>  at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
>> at
>> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
>>  at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
>> at
>> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
>>  at
>> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
>> at
>> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
>> at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
>>  at
>> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>> at
>> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
>>  at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
>> at
>> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
>>  at
>> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
>> at
>> org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
>>  at
>> org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
>> at
>> org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
>>  at
>> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
>> at
>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1267)
>>  at
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1186)
>> at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1081)
>>  at
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
>> at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
>>  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
>>  at
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
>> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>>  at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>> at java.lang.Thread.run(Thread.java:662)
>> Caused by: org.wso2.carbon.CarbonException: Unable to create the
>> scheduling task
>> at
>> org.wso2.carbon.mashup.javascript.hostobjects.system.SystemHostObject.jsFunction_setInterval(SystemHostObject.java:737)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>  at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>>  at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)
>> ... 58 more
>> [2013-09-30 14:04:26,090]  INFO
>> {org.wso2.carbon.core.deployment.DeploymentInterceptor} -  Deploying Axis2
>> service: admin/formulaFlicks {super-tenant}
>> [2013-09-30 14:04:26,107]  INFO
>> {org.wso2.carbon.mashup.jsservices.deployer.JSDeployer} -  Deploying Web
>> service: formulaFlicks.js -
>> file:/home/manoj/Desktop/wso2as-5.2.0/repository/deployment/server/jsservices/admin/formulaFlicks.js
>>
>>
>> Best Regards..
>>
>>
>> Manoj Kumara
>> Software Engineer
>> WSO2, Inc.; http://wso2.com
>>
>> Twitter:  http://twitter.com/ManKuma
>> Mobile: +94713448188
>>
>
>
>
> --
> *Madhuka* Udantha
> Senior Software Engineer
> Development Technologies
> WSO2 Inc. : http://wso2.com
>
> *Mobile*: +94774066336
> *Blog*: http://madhukaudantha.blogspot.com/
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to