Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Moderate

      Description

      function IMExample(){
      var im = new IM("msn");
      im.login("mashupserver@live.com","mashup");
      im.sendMessage("auburnmarshes@hotmail.com","Hi, This was sent from the WSO2 Mashup Server!");
      im.disconnect();
      }

      Login appears to be successful, but sending the message isn't.

      ERROR [2008-08-08 21:56:36,195] unsupported protocol : MSNP12 MSNP11 MSNP10 MSN
      P9 MSNP8
      ERROR [2008-08-08 21:56:36,860]
      org.wso2.mashup.MashupFault
      at org.wso2.mashup.hostobjects.im.IM.jsFunction_login(IM.java:162)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
      at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:411)
      at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)

      at org.mozilla.javascript.gen.c659._c39(jonathan-samplesChecker:246)
      at org.mozilla.javascript.gen.c659.call(jonathan-samplesChecker)
      at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:3
      93)
      at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:283
      4)
      at org.mozilla.javascript.gen.c659.call(jonathan-samplesChecker)
      at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java
      :180)
      at org.wso2.javascript.rhino.JavaScriptEngine.call(JavaScriptEngine.java
      :210)
      at org.wso2.javascript.rhino.JavaScriptReceiver.invokeBusinessLogic(Java
      ScriptReceiver.java:195)
      at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusines
      sLogic(AbstractInOutMessageReceiver.java:40)
      at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMe
      ssageReceiver.java:100)
      at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
      at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
      uest(HTTPTransportUtils.java:275)
      at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:1
      31)
      at org.wso2.mashup.transport.MashupServlet.doPost(MashupServlet.java:69)

      at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:188)
      at org.wso2.mashup.transport.ServiceUIFilter.doFilter(ServiceUIFilter.ja
      va:207)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:188)
      at org.wso2.adminui.AdminUIServletFilter.doFilter(AdminUIServletFilter.j
      ava:135)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
      icationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
      ilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
      alve.java:210)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
      alve.java:174)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
      ava:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
      ava:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
      ve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
      a:151)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
      :870)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
      rocessConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
      int.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
      lowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
      ool.java:685)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.wso2.imwrapper.core.IMException
      at org.wso2.imwrapper.msn.MSNWrapperImpl.login(MSNWrapperImpl.java:87)
      at org.wso2.mashup.hostobjects.im.IM.jsFunction_login(IM.java:160)
      ... 43 more
      ERROR [2008-08-08 21:56:37,024] java.lang.NullPointerException

        Attachments

          Activity

            People

            • Assignee:
              keith@wso2.com Kieth Chapman
              Reporter:
              jonathan@wso2.com Jonathan Marsh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: