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


#1

I am getting the following exception when I press the "Next" button in
"Account Registration Wizard" for sip. I tried with the stable binary
version.

I am using java 1.4 sdk and java runtime as

java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

It would be helpfull to explore more about sip communicator.

Thanks,
Ram

Exception

     [java] 13:44:03.218 FINE: impl.shutdown.ShutdownTimeout.start()
Starting th
e ShutdownTimeout service.
     [java] Exception occurred during event dispatching:
     [java] java.lang.NullPointerException
     [java] at
net.java.sip.communicator.plugin.sipaccregwizz.SIPAccRegWizzA
ctivator.getSIPProtocolProviderFactory(SIPAccRegWizzActivator.java:76)
     [java] at
net.java.sip.communicator.plugin.sipaccregwizz.FirstWizardPag
e.isExistingAccount(FirstWizardPage.java:408)
     [java] at
net.java.sip.communicator.plugin.sipaccregwizz.FirstWizardPag
e.pageNext(FirstWizardPage.java:250)
     [java] at
net.java.sip.communicator.impl.gui.customcontrols.wizard.Wiza
rdController.nextButtonPressed(WizardController.java:73)
     [java] at
net.java.sip.communicator.impl.gui.customcontrols.wizard.Wiza
rdController.actionPerformed(WizardController.java:50)
     [java] at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton
.java:1786)
     [java] at
javax.swing.AbstractButton$ForwardActionEvents.actionPerforme
d(AbstractButton.java:1839)
     [java] at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultBut
tonModel.java:420)
     [java] at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.
java:258)
     [java] at
javax.swing.plaf.basic.BasicButtonListener$ReleasedAction.act
ionPerformed(BasicButtonListener.java:301)
     [java] at
javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1
530)
     [java] at
javax.swing.JComponent.processKeyBinding(JComponent.java:2438
)
     [java] at
javax.swing.JComponent.processKeyBindings(JComponent.java:247
3)
     [java] at
javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
     [java] at java.awt.Component.processEvent(Component.java:4909)
     [java] at java.awt.Container.processEvent(Container.java:1569)
     [java] at
java.awt.Component.dispatchEventImpl(Component.java:3615)
     [java] at
java.awt.Container.dispatchEventImpl(Container.java:1627)
     [java] at java.awt.Component.dispatchEvent(Component.java:3477)
     [java] at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusMa
nager.java:1713)
     [java] at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Default
KeyboardFocusManager.java:627)
     [java] at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Defa
ultKeyboardFocusManager.java:831)
     [java] at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Defa
ultKeyboardFocusManager.java:741)
     [java] at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKey
boardFocusManager.java:592)
     [java] at
java.awt.Component.dispatchEventImpl(Component.java:3506)
     [java] at
java.awt.Container.dispatchEventImpl(Container.java:1627)
     [java] at java.awt.Window.dispatchEventImpl(Window.java:1606)
     [java] at java.awt.Component.dispatchEvent(Component.java:3477)
     [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
     [java] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi
spatchThread.java:201)
     [java] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
atchThread.java:151)
     [java] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
atchThread.java:141)
     [java] at java.awt.Dialog$1.run(Dialog.java:542)
     [java] at java.awt.Dialog$3.run(Dialog.java:569)
     [java] at java.security.AccessController.doPrivileged(Native
Method)
     [java] at java.awt.Dialog.show(Dialog.java:567)
     [java] at java.awt.Component.show(Component.java:1133)
     [java] at java.awt.Component.setVisible(Component.java:1088)
     [java] at
net.java.sip.communicator.impl.gui.customcontrols.SIPCommDial
og.setVisible(SIPCommDialog.java:192)
     [java] at
net.java.sip.communicator.impl.gui.customcontrols.wizard.Wiza
rd.showDialog(Wizard.java:162)
     [java] at
net.java.sip.communicator.impl.gui.main.login.LoginManager.sh
owAccountRegistrationWizard(LoginManager.java:193)
     [java] at
net.java.sip.communicator.impl.gui.main.login.LoginManager.ru
nLogin(LoginManager.java:170)
     [java] at
net.java.sip.communicator.impl.gui.main.WelcomeWindow$RunLogi
n.run(WelcomeWindow.java:176)
     [java] at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
189)
     [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
     [java] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi
spatchThread.java:201)
     [java] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
atchThread.java:151)
     [java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
ava:145)
     [java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
ava:137)
     [java] at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100
)

···

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


#2

Hi,
I've created an issue about this. The issue is 337. I will look at it and will report it here. As soon as possible :slight_smile:

damencho

Ramasamy wrote:

···

I am getting the following exception when I press the "Next" button in
"Account Registration Wizard" for sip. I tried with the stable binary
version.

I am using java 1.4 sdk and java runtime as

java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

It would be helpfull to explore more about sip communicator.

Thanks,
Ram

Exception

     [java] 13:44:03.218 FINE: impl.shutdown.ShutdownTimeout.start()
Starting th
e ShutdownTimeout service.
     [java] Exception occurred during event dispatching:
     [java] java.lang.NullPointerException
     [java] at
net.java.sip.communicator.plugin.sipaccregwizz.SIPAccRegWizzA
ctivator.getSIPProtocolProviderFactory(SIPAccRegWizzActivator.java:76)
     [java] at
net.java.sip.communicator.plugin.sipaccregwizz.FirstWizardPag
e.isExistingAccount(FirstWizardPage.java:408)
     [java] at
net.java.sip.communicator.plugin.sipaccregwizz.FirstWizardPag
e.pageNext(FirstWizardPage.java:250)
     [java] at
net.java.sip.communicator.impl.gui.customcontrols.wizard.Wiza
rdController.nextButtonPressed(WizardController.java:73)
     [java] at
net.java.sip.communicator.impl.gui.customcontrols.wizard.Wiza
rdController.actionPerformed(WizardController.java:50)
     [java] at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton
.java:1786)
     [java] at
javax.swing.AbstractButton$ForwardActionEvents.actionPerforme
d(AbstractButton.java:1839)
     [java] at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultBut
tonModel.java:420)
     [java] at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.
java:258)
     [java] at
javax.swing.plaf.basic.BasicButtonListener$ReleasedAction.act
ionPerformed(BasicButtonListener.java:301)
     [java] at
javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1
530)
     [java] at
javax.swing.JComponent.processKeyBinding(JComponent.java:2438
)
     [java] at
javax.swing.JComponent.processKeyBindings(JComponent.java:247
3)
     [java] at
javax.swing.JComponent.processKeyEvent(JComponent.java:2401)
     [java] at java.awt.Component.processEvent(Component.java:4909)
     [java] at java.awt.Container.processEvent(Container.java:1569)
     [java] at
java.awt.Component.dispatchEventImpl(Component.java:3615)
     [java] at
java.awt.Container.dispatchEventImpl(Container.java:1627)
     [java] at java.awt.Component.dispatchEvent(Component.java:3477)
     [java] at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusMa
nager.java:1713)
     [java] at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Default
KeyboardFocusManager.java:627)
     [java] at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Defa
ultKeyboardFocusManager.java:831)
     [java] at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Defa
ultKeyboardFocusManager.java:741)
     [java] at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKey
boardFocusManager.java:592)
     [java] at
java.awt.Component.dispatchEventImpl(Component.java:3506)
     [java] at
java.awt.Container.dispatchEventImpl(Container.java:1627)
     [java] at java.awt.Window.dispatchEventImpl(Window.java:1606)
     [java] at java.awt.Component.dispatchEvent(Component.java:3477)
     [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
     [java] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi
spatchThread.java:201)
     [java] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
atchThread.java:151)
     [java] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
atchThread.java:141)
     [java] at java.awt.Dialog$1.run(Dialog.java:542)
     [java] at java.awt.Dialog$3.run(Dialog.java:569)
     [java] at java.security.AccessController.doPrivileged(Native
Method)
     [java] at java.awt.Dialog.show(Dialog.java:567)
     [java] at java.awt.Component.show(Component.java:1133)
     [java] at java.awt.Component.setVisible(Component.java:1088)
     [java] at
net.java.sip.communicator.impl.gui.customcontrols.SIPCommDial
og.setVisible(SIPCommDialog.java:192)
     [java] at
net.java.sip.communicator.impl.gui.customcontrols.wizard.Wiza
rd.showDialog(Wizard.java:162)
     [java] at
net.java.sip.communicator.impl.gui.main.login.LoginManager.sh
owAccountRegistrationWizard(LoginManager.java:193)
     [java] at
net.java.sip.communicator.impl.gui.main.login.LoginManager.ru
nLogin(LoginManager.java:170)
     [java] at
net.java.sip.communicator.impl.gui.main.WelcomeWindow$RunLogi
n.run(WelcomeWindow.java:176)
     [java] at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
189)
     [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
     [java] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi
spatchThread.java:201)
     [java] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
atchThread.java:151)
     [java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
ava:145)
     [java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
ava:137)
     [java] at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100
)

---------------------------------------------------------------------
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