Hello,

what version are you using?
this "RemoteSessionObject as it does not have a no-args constructor" was
fixed looong time ago :)

On Fri, Sep 18, 2015 at 8:11 PM, Gangadhar Kadam <
[email protected]> wrote:

> Hello All,
>
> I am generating hashcode doe login.
>
> It gets successfully generated but while i tried to login using same it
> give error "Unknown error. Please report this to the administrator. "
>
> Following is red5 log.
>
> DEBUG 09-18 19:18:21.727 Sessionmanagement.java 635752307 78
> org.openmeetings.app.data.basic.Sessionmanagement [NioProcessor-14] -
> updateUser User SID: 099b50a061608a50968c352d1041083b
> ERROR 09-18 19:18:21.737 MainService.java 635752317 680
> org.openmeetings.app.remote.MainService [NioProcessor-14] -
> [loginUserByRemote]
> com.thoughtworks.xstream.converters.ConversionException: Cannot construct
> org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does
> not have a no-args constructor
> ---- Debugging information ----
> message             : Cannot construct
> org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does
> not have a no-args constructor
> cause-exception     :
> com.thoughtworks.xstream.converters.reflection.ObjectAccessException
> cause-message       : Cannot construct
> org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does
> not have a no-args constructor
> class               :
> org.openmeetings.app.persistence.beans.basic.RemoteSessionObject
> required-type       :
> org.openmeetings.app.persistence.beans.basic.RemoteSessionObject
> -------------------------------
>         at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63)
> ~[xstream-SNAPSHOT.jar:na]
>         at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
> ~[xstream-SNAPSHOT.jar:na]
>         at
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
> ~[xstream-SNAPSHOT.jar:na]
>         at
> com.thoughtworks.xstream.core.TreeMarshallingStrategy.unmarshal(TreeMarshallingStrategy.java:14)
> ~[xstream-SNAPSHOT.jar:na]
>         at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:847)
> ~[xstream-SNAPSHOT.jar:na]
>         at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:834)
> ~[xstream-SNAPSHOT.jar:na]
>         at com.thoughtworks.xstream.XStream.fromXML(XStream.java:782)
> ~[xstream-SNAPSHOT.jar:na]
>         at com.thoughtworks.xstream.XStream.fromXML(XStream.java:774)
> ~[xstream-SNAPSHOT.jar:na]
>         at
> org.openmeetings.app.remote.MainService.loginUserByRemote(MainService.java:592)
> [openmeetings.jar:na]
>         at
> org.openmeetings.app.remote.MainService.secureLoginByRemote(MainService.java:464)
> [openmeetings.jar:na]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.8.0_45]
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> ~[na:1.8.0_45]
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[na:1.8.0_45]
>         at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_45]
>         at
> org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:199)
> [red5.jar:na]
>         at
> org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:116)
> [red5.jar:na]
>         at
> org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:160)
> [red5.jar:na]
>         at
> org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:406)
> [red5.jar:na]
>         at
> org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:134)
> [red5.jar:na]
>         at
> org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:207)
> [red5.jar:na]
>         at
> org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:245)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
> [mina-core-2.0.4.jar:na]
>         at
> org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:125)
> [red5.jar:na]
>         at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:715)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:668)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:657)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1141)
> [mina-core-2.0.4.jar:na]
>         at
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
> [mina-core-2.0.4.jar:na]
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [na:1.8.0_45]
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [na:1.8.0_45]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
> Caused by:
> com.thoughtworks.xstream.converters.reflection.ObjectAccessException:
> Cannot construct
> org.openmeetings.app.persistence.beans.basic.RemoteSessionObject as it does
> not have a no-args constructor
>         at
> com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.newInstance(PureJavaReflectionProvider.java:59)
> ~[xstream-SNAPSHOT.jar:na]
>         at
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.instantiateNewInstance(AbstractReflectionConverter.java:257)
> ~[xstream-SNAPSHOT.jar:na]
>         at
> com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:124)
> ~[xstream-SNAPSHOT.jar:na]
>         at
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
> ~[xstream-SNAPSHOT.jar:na]
>         ... 44 common frames omitted
>
> --
> ​
> Thanks & Regards,
>
>
>
> Gangadhar
>
>
>
> *Gangadhar Kadam*
>
> Team Leader
>
> New Indictrans Technologies Pvt. Ltd. - Pune
>
> Office: +91-20-65700800 | Mobile: +91-9960066444
>
>  Linkedin:-https://www.linkedin.com/in/gangadharkadam
>
> www.indictranstech.com | Lat: 18.501994   Lon: 73.79766
>
>
>
> This e-mail has arrived in your e-mail Inbox from  New Indictrans
> Technologies Private Limited, Pune. Please do visit
> http://www.indictranstech.com/  to know more about New Indictrans Private
> Limited. This email is not spam. We follow 'US Unsolicited Electronic Mail
> Act of 2000', which states that an e-mail cannot be considered SPAM if it
> contains contact/removal information, which this e-mail does. This e-mail
> may contain proprietary and confidential information and is sent for the
> intended recipient(s) only. If, by an addressing or transmission error,
> this mail has been misdirected to you, you are requested to delete this
> mail immediately. You are also hereby notified that any use, any form of
> reproduction, dissemination, copying, disclosure, modification,
> distribution and/or publication of this e-mail message, contents or it's
> attachment(s) other than by its intended recipient(s) is strictly
> prohibited. Any opinions expressed in this email are those of the
> individual and not necessarily of the organisation. Before opening
> attachment(s), please scan the attachment for viruses.". In case & if you
> do not wish to receive e-mail (the way you have received it today for what
> so ever cause or reasons) in near future? Reply back to this email saying
> "Remove e-mail ID". Within two working days your ID will be removed.
>



-- 
WBR
Maxim aka solomax

Reply via email to