[sip-comm] issue creating sip account; getting Nullpointer exception


#1

Yes, exceptions are printed on console.. Plz see the attached console
output redirected log file.

Thanks,
Ram(See attached file: log.txt)

                    Damian Minkov
                    <damencho@dam To: users@sip-communicator.dev.java.net
                    encho.com> cc:
                    04/10/2007 Nullpointer exception
                    07:24 PM
                    Please
                    respond to
                    users
                                                                                                                   
Hi,

I cannot see any exception or something in the log file. How are you
running SC from the console?
Could you check is there an exception on the console! Or just paste such
a log from the console.
Some exception are shown only on the console.

damencho

Ramasamy wrote:

I followed the steps and plz see the attahcment for log file.(See

attached

file: sip-communicator0.log)

                    Damian Minkov

                    <damencho@dam To:

users@sip-communicator.dev.java.net

                    encho.com> cc:

                                         Subject: Re: [sip-comm]

issue creating sip account; getting

                    04/10/2007 Nullpointer exception

                    06:55 PM

                    Please

                    respond to

                    users

Hi again,

could you please locate logging.properties file and in there put every
.level to FINEST as :

.level= FINEST
java.util.logging.FileHandler.level = FINEST
net.java.sip.communicator.impl.level = FINEST
.......

and then reproduce it once again and send the log.
So we can see more info in the log file. The situation is strange as
there is no SIP provider registered.
We must find why ?

thanks for the cooperation ,
damencho

Ramasamy wrote:

(See attached file: sip-communicator0.log)

I have attached the logs.

I am using the sip communicator source

"sip-communicator-1.0-alpha1-src"

and calling "ant run" and also I tried the binary version
"sip-communicator-1.0-alpha2-nightly.build.622-windows"

Thanks,
Ram

                    Damian Minkov

                    <damencho@dam To:

users@sip-communicator.dev.java.net

                    encho.com> cc:

                                         Subject: Re: [sip-comm]

issue creating sip account; getting

                    04/10/2007 Nullpointer exception

                    06:25 PM

                    Please

                    respond to

                    users

Hi Ramasamy,

can you point the version you are using ? and the logs if possible :slight_smile:

damencho

Ramasamy wrote:

Hi Damian Minkov,

When I looked into the code what I found is

in the file

net.java.sip.communicator.plugin.sipaccregwizz.SIPAccRegWizzActivator.java

            getSIPProtocolProviderFactory
("net.java.sip.communicator.service.protocol.ProtocolProviderFactory",
"(PROTOCOL_NAME=SIP)") returns null.

it supposed to return ServiceReference object.

and it causes null pointer exception.

Thanks,
Ram

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail:

users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail:

users-help@sip-communicator.dev.java.net

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail:

users-help@sip-communicator.dev.java.net

log.txt (51.7 KB)

···

Subject: Re: [sip-comm] issue creating sip account; getting

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#2

Hey Ram,

It looks to me that your sip-communicator.xml is screwed. Can you try removing it and then using the latest nightly build?

Think this should fix it.

Thanks for your patience!

Emil

Ramasamy wrote:

···

Yes, exceptions are printed on console.. Plz see the attached console
output redirected log file.

Thanks,
Ram(See attached file: log.txt)

                                                                                                                                       Damian Minkov <damencho@dam To: users@sip-communicator.dev.java.net encho.com> cc: Subject: Re: [sip-comm] issue creating sip account; getting 04/10/2007 Nullpointer exception 07:24 PM Please respond to users
                                                                                                                   
Hi,

I cannot see any exception or something in the log file. How are you
running SC from the console?
Could you check is there an exception on the console! Or just paste such
a log from the console.
Some exception are shown only on the console.

damencho

Ramasamy wrote:

I followed the steps and plz see the attahcment for log file.(See

attached

file: sip-communicator0.log)

                    Damian Minkov

                    <damencho@dam To:

users@sip-communicator.dev.java.net

                    encho.com> cc:

                                         Subject: Re: [sip-comm]

issue creating sip account; getting

                    04/10/2007 Nullpointer exception

                    06:55 PM

                    Please

                    respond to

                    users

Hi again,

could you please locate logging.properties file and in there put every
.level to FINEST as :

.level= FINEST
java.util.logging.FileHandler.level = FINEST
net.java.sip.communicator.impl.level = FINEST
.......

and then reproduce it once again and send the log.
So we can see more info in the log file. The situation is strange as
there is no SIP provider registered.
We must find why ?

thanks for the cooperation ,
damencho

Ramasamy wrote:

(See attached file: sip-communicator0.log)

I have attached the logs.

I am using the sip communicator source

"sip-communicator-1.0-alpha1-src"

and calling "ant run" and also I tried the binary version
"sip-communicator-1.0-alpha2-nightly.build.622-windows"

Thanks,
Ram

                    Damian Minkov

                    <damencho@dam To:

users@sip-communicator.dev.java.net

                    encho.com> cc:

                                         Subject: Re: [sip-comm]

issue creating sip account; getting

                    04/10/2007 Nullpointer exception

                    06:25 PM

                    Please

                    respond to

                    users

Hi Ramasamy,

can you point the version you are using ? and the logs if possible :slight_smile:

damencho

Ramasamy wrote:

Hi Damian Minkov,

When I looked into the code what I found is

in the file

net.java.sip.communicator.plugin.sipaccregwizz.SIPAccRegWizzActivator.java

            getSIPProtocolProviderFactory
("net.java.sip.communicator.service.protocol.ProtocolProviderFactory",
"(PROTOCOL_NAME=SIP)") returns null.

it supposed to return ServiceReference object.

and it causes null pointer exception.

Thanks,
Ram

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail:

users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail:

users-help@sip-communicator.dev.java.net

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail:

users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net