2 Replies Latest reply on Oct 8, 2010 3:56 PM by misqu23

    Problem with RPC calls in the development mode

    misqu23

      Hi

       

      RPC calls works now perfect in the production mode, but during the development mode I get following exception :

       

      Error delivering message into bus<br/>Additional details:<br/> [{"MethodReply":{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.assignments.UserAssignment","__ObjectID":"20311719","id":1,"active":true,"login":"admin","password":"ISMvKXpXpadDiUoOSoAfww==","userRoles":[{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.assignments.UserRole","__ObjectID":"16379256","id":2,"role":{__EncodedType:"pl.scentia.smartoffice.persistence.pojo.common.RoleType", EnumStringValue:"ADMIN"},"selected":false,"deleted":false,"ownerGroup":null,"createDate":1285795683298,"createUser":null,"lastModifyDate":1285795683298,"lastModifyUser":null},{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.assignments.UserRole","__ObjectID":"2194005","id":1,"role":{__EncodedType:"pl.scentia.smartoffice.persistence.pojo.common.RoleType", EnumStringValue:"USER"},"selected":false,"deleted":false,"ownerGroup":null,"createDate":1285795683292,"createUser":null,"lastModifyDate":1285795683292,"lastModifyUser":null}],"groups":[{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.Group","__ObjectID":"32686769","id":1,"name":"Scentia","description":"Scentia","groups":null,"parent":null,"users":null,"superGroup":true,"selected":false,"deleted":false,"ownerGroup":null,"createDate":1285795682674,"createUser":{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.assignments.UserAssignment","__ObjectID":"$20311719"},"lastModifyDate":1285795683351,"lastModifyUser":{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.assignments.UserAssignment","__ObjectID":"$20311719"}}],"emails":null,"commonGroups":[],"superGroups":[{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.Group","__ObjectID":"$32686769"}],"sourceUnit":{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.OrganizationUnit","__ObjectID":"14179865","id":2,"unitType":{__EncodedType:"pl.scentia.smartoffice.persistence.pojo.common.UnitType", EnumStringValue:"PERSON"},"legalForm":null,"newsletter":false,"active":true,"description":null,"name":"Piotr","fullName":"Nowak","nip":null,"regon":null,"pesel":null,"birthDate":null,"addresses":null,"phones":null,"emails":null,"domains":null,"number":null,"selected":false,"deleted":false,"ownerGroup":{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.Group","__ObjectID":"$32686769"},"createDate":1285795683231,"createUser":{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.assignments.UserAssignment","__ObjectID":"$20311719"},"lastModifyDate":1285795683366,"lastModifyUser":{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.assignments.UserAssignment","__ObjectID":"$20311719"}},"destinationUnit":{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.OrganizationUnit","__ObjectID":"19718266","id":1,"unitType":{__EncodedType:"pl.scentia.smartoffice.persistence.pojo.common.UnitType", EnumStringValue:"ORGANIZATION"},"legalForm":null,"newsletter":false,"active":true,"description":null,"name":"Scentia","fullName":"Scentia","nip":null,"regon":null,"pesel":null,"birthDate":null,"addresses":null,"phones":null,"emails":null,"domains":null,"number":null,"selected":false,"deleted":false,"ownerGroup":{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.Group","__ObjectID":"$32686769"},"createDate":1285795683222,"createUser":{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.assignments.UserAssignment","__ObjectID":"$20311719"},"lastModifyDate":1285795683366,"lastModifyUser":{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.assignments.UserAssignment","__ObjectID":"$20311719"}},"number":null,"selected":false,"deleted":false,"ownerGroup":{"__EncodedType":"pl.scentia.smartoffice.persistence.pojo.Group","__ObjectID":"$32686769"},"createDate":1285795683222,"createUser":null,"lastModifyDate":1285795683222,"lastModifyUser":null},"ToSubject":"pl.scentia.smartoffice.shared.server.rpc.SessionManager:RPC.getLoggedUser::RespondTo:1"}]
      com.google.gwt.core.client.JavaScriptException:
      (null): null
          at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:195)
          at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
          at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
          at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:284)
          at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
          at org.jboss.errai.bus.client.framework.ClientMessageBusImpl._store(ClientMessageBusImpl.java)
          at org.jboss.errai.bus.client.framework.ClientMessageBusImpl.procIncomingPayload(ClientMessageBusImpl.java:1121)
          at org.jboss.errai.bus.client.framework.ClientMessageBusImpl.access$7(ClientMessageBusImpl.java:1118)
          at org.jboss.errai.bus.client.framework.ClientMessageBusImpl$LongPollRequestCallback.onResponseReceived(ClientMessageBusImpl.java:881)
          at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
          at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:393)
          at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
          at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
          at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
          at com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:1714)
          at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:165)
          at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:120)
          at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:507)
          at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:264)
          at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
          at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
          at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
          at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
          at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
          at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
          at com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:1669)
          at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:401)
          at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:222)
          at java.lang.Thread.run(Thread.java:619)
      
      

       

      Does anybody knows why this error occurs ?