kader990 / android-rcs-ims-stack

Automatically exported from code.google.com/p/android-rcs-ims-stack
0 stars 0 forks source link

Can't create the authorization header #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
The problem occurs when the device starts a new chat session 1-1 or a new file 
transfer as originating.

What is the expected output? What do you see instead?

CHAT:

[RCS][OriginatingOne2OneChatSession](4314): Initiate a new 1-1 chat session as 
originating
[RCS][OriginatingOne2OneChatSession](4314): Local setup attribute is active
RCS][OriginatingOne2OneChatSession](4314): Send INVITE
[RCS][RichMessaging](4314): Recycler : minDate = 1334572925456 maxDate 
1334575996026
[RCS][RichMessaging](4314): Recycler : number of messages for this contact = 33
[RCS][RichMessaging](4314): Recycler : Enough place for another message, do 
nothing return
[RCS][SessionAuthenticationAgent](4314): Can't create the authorization header
System.err(4314): java.lang.NullPointerException
System.err(4314):   at 
com.orangelabs.rcs.core.ims.security.HttpDigestMd5Authentication.updateNoncePara
meters(HttpDigestMd5Authentication.java:207)
System.err(4314):   at 
com.orangelabs.rcs.core.ims.service.SessionAuthenticationAgent.setAuthorizationH
eader(SessionAuthenticationAgent.java:157)
System.err(4314):   at 
com.orangelabs.rcs.core.ims.service.im.chat.OriginatingOne2OneChatSession.run(Or
iginatingOne2OneChatSession.java:160)
[RCS][OriginatingOne2OneChatSession](4314): Session initiation has failed
System.err(4314): com.orangelabs.rcs.core.CoreException: Can't create the 
authorization header
System.err(4314):   at 
com.orangelabs.rcs.core.ims.service.SessionAuthenticationAgent.setAuthorizationH
eader(SessionAuthenticationAgent.java:190)
System.err(4314):   at 
com.orangelabs.rcs.core.ims.service.im.chat.OriginatingOne2OneChatSession.run(Or
iginatingOne2OneChatSession.java:160)
[RCS][OriginatingOne2OneChatSession](4314): Session error: 1, reason=Can't 
create the authorization header

FILE TRANSFER:

[RCS][OriginatingFileSharingSession](4314): Initiate a file transfer session as 
originating
[RCS][OriginatingFileSharingSession](4314): Local setup attribute is active
[RCS][OriginatingFileSharingSession](4314): Send INVITE
[RCS][RichMessaging](4314): Recycler : minDate = 1334572925456 maxDate 
1334576018833
[RCS][RichMessaging](4314): Recycler : number of messages for this contact = 35
[RCS][RichMessaging](4314): Recycler : Enough place for another message, do 
nothing return
[RCS][SessionAuthenticationAgent](4314): Can't create the authorization header
System.err(4314): java.lang.NullPointerException
System.err(4314):   at 
com.orangelabs.rcs.core.ims.security.HttpDigestMd5Authentication.updateNoncePara
meters(HttpDigestMd5Authentication.java:207)
System.err(4314):   at 
com.orangelabs.rcs.core.ims.service.SessionAuthenticationAgent.setAuthorizationH
eader(SessionAuthenticationAgent.java:157)
System.err(4314):   at 
com.orangelabs.rcs.core.ims.service.im.filetransfer.OriginatingFileSharingSessio
n.run(OriginatingFileSharingSession.java:136)
[RCS][OriginatingFileSharingSession](4314): Session initiation has failed
System.err(4314): com.orangelabs.rcs.core.CoreException: Can't create the 
authorization header
System.err(4314):   at 
com.orangelabs.rcs.core.ims.service.SessionAuthenticationAgent.setAuthorizationH
eader(SessionAuthenticationAgent.java:190)
System.err(4314):   at 
com.orangelabs.rcs.core.ims.service.im.filetransfer.OriginatingFileSharingSessio
n.run(OriginatingFileSharingSession.java:136)
[RCS][OriginatingFileSharingSession](4314): Session error: 1, reason=Can't 
create the authorization header

What version of the product are you using? On what operating system?

I'm using 2.4.1 version in android.

Original issue reported on code.google.com by natalia....@gmail.com on 16 Apr 2012 at 11:49

GoogleCodeExporter commented 9 years ago
This error doesn't appear in version 2.4.0

Original comment by natalia....@gmail.com on 16 Apr 2012 at 11:51

GoogleCodeExporter commented 9 years ago
Thks for your feedback

Original comment by jmauffret@gmail.com on 16 Apr 2012 at 11:53

GoogleCodeExporter commented 9 years ago
I've described how the same error appears in the version 2.5.7 in the issue 139:
https://code.google.com/p/android-rcs-ims-stack/issues/detail?id=139

Also I've proposed a solution as well.

Original comment by vin...@broadcom.com on 16 Aug 2013 at 3:55