[jitsi-dev] Re: Combine Jitsi main window together with dial pad and in call window


#1

Hi,

I have tried to add "impl.gui.SINGLE_WINDOW_INTERFACE=true" in the
sip-communicator.properties file (or rather default.properties file in

Setting that property within default.properties and runnign/debugging it in the IDE for source tree 4154 yields this error:

ERROR: Bundle [80] Error starting reference:file:sc-bundles/swing-ui.jar (org.osgi.framework.BundleException: Activator start error in bundle [80].)
java.lang.NullPointerException
  at net.java.sip.communicator.impl.gui.main.SingleWindowContainer.getCurrentConversation(SingleWindowContainer.java:166)
  at net.java.sip.communicator.impl.gui.main.SingleWindowContainer.getCurrentChat(SingleWindowContainer.java:151)
  at net.java.sip.communicator.impl.gui.main.chat.toolBars.MainToolBar.init(MainToolBar.java:187)
  at net.java.sip.communicator.impl.gui.main.chat.toolBars.MainToolBar.<init>(MainToolBar.java:159)
  at net.java.sip.communicator.impl.gui.main.SingleWindowContainer.createToolbar(SingleWindowContainer.java:413)
  at net.java.sip.communicator.impl.gui.main.SingleWindowContainer.<init>(SingleWindowContainer.java:76)
  at net.java.sip.communicator.impl.gui.UIServiceImpl.loadApplicationGui(UIServiceImpl.java:145)
  at net.java.sip.communicator.impl.gui.GuiActivator.start(GuiActivator.java:147)
  at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
  at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
  at org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
  at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
  at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
  at java.lang.Thread.run(Thread.java:662)

So there's an issue with SingleWindowContainer with recent Jitsi versions.

By the way, what you mean by "feed it to clients via provisioning"?

https://jitsi.org/index.php/Documentation/Provisioning

Vieri

···

--- On Fri, 8/24/12, Winona Kwok <kwok.winona@gmail.com> wrote:


#2

Hey Vieri,

Yana posted the following today:

there's was a problem with the single window interface, that I've
just repaired. Please try next build. Should be in 4178.

Had you seen it or do you also have the problem there?

Emil

Hi,

I have tried to add "impl.gui.SINGLE_WINDOW_INTERFACE=true" in the
sip-communicator.properties file (or rather default.properties
file in

Setting that property within default.properties and runnign/debugging
it in the IDE for source tree 4154 yields this error:

ERROR: Bundle [80] Error starting
reference:file:sc-bundles/swing-ui.jar
(org.osgi.framework.BundleException: Activator start error in bundle
[80].) java.lang.NullPointerException at
net.java.sip.communicator.impl.gui.main.SingleWindowContainer.getCurrentConversation(SingleWindowContainer.java:166)

at
net.java.sip.communicator.impl.gui.main.SingleWindowContainer.getCurrentChat(SingleWindowContainer.java:151)

at
net.java.sip.communicator.impl.gui.main.chat.toolBars.MainToolBar.init(MainToolBar.java:187)

at
net.java.sip.communicator.impl.gui.main.chat.toolBars.MainToolBar.<init>(MainToolBar.java:159)

at
net.java.sip.communicator.impl.gui.main.SingleWindowContainer.createToolbar(SingleWindowContainer.java:413)

at
net.java.sip.communicator.impl.gui.main.SingleWindowContainer.<init>(SingleWindowContainer.java:76)

at
net.java.sip.communicator.impl.gui.UIServiceImpl.loadApplicationGui(UIServiceImpl.java:145)

at
net.java.sip.communicator.impl.gui.GuiActivator.start(GuiActivator.java:147)

at
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)

at org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)

at org.apache.felix.framework.Felix.startBundle(Felix.java:1822) at
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)

at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)

···

On 24.08.12, 11:44, Vieri wrote:

--- On Fri, 8/24/12, Winona Kwok <kwok.winona@gmail.com> wrote:
at java.lang.Thread.run(Thread.java:662)

So there's an issue with SingleWindowContainer with recent Jitsi
versions.

By the way, what you mean by "feed it to clients via provisioning"?

https://jitsi.org/index.php/Documentation/Provisioning

Vieri

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
Jitsi
emcho@jitsi.org PHONE: +33.1.77.62.43.30
http://jitsi.org FAX: +33.1.77.62.47.31


#3

Hi Emil,

The java.net mailing list is a bit slow sometimes and I posted before I saw Yana's mail even though mine arrived after hers.
Anyway, I'm sure Yana's fix solves the issue.
I haven't tested 4178 yet.

Thanks,

Vieri

···

--- On Fri, 8/24/12, Emil Ivov <emcho@jitsi.org> wrote:

Hey Vieri,

Yana posted the following today:

> there's was a problem with the single window interface,
that I've
> just repaired. Please try next build. Should be in
4178.

Had you seen it or do you also have the problem there?

Emil

On 24.08.12, 11:44, Vieri wrote:
> Hi,
>
> --- On Fri, 8/24/12, Winona Kwok <kwok.winona@gmail.com> > wrote:
>
>> I have tried to add
"impl.gui.SINGLE_WINDOW_INTERFACE=true" in the
>> sip-communicator.properties file (or rather
default.properties
>> file in
>
> Setting that property within default.properties and
runnign/debugging
> it in the IDE for source tree 4154 yields this error:
>
> ERROR: Bundle [80] Error starting
> reference:file:sc-bundles/swing-ui.jar
> (org.osgi.framework.BundleException: Activator start
error in bundle
> [80].) java.lang.NullPointerException at
>
net.java.sip.communicator.impl.gui.main.SingleWindowContainer.getCurrentConversation(SingleWindowContainer.java:166)
>
>
at
net.java.sip.communicator.impl.gui.main.SingleWindowContainer.getCurrentChat(SingleWindowContainer.java:151)
> at
>
net.java.sip.communicator.impl.gui.main.chat.toolBars.MainToolBar.init(MainToolBar.java:187)
>
>
at
net.java.sip.communicator.impl.gui.main.chat.toolBars.MainToolBar.<init>(MainToolBar.java:159)
> at
>
net.java.sip.communicator.impl.gui.main.SingleWindowContainer.createToolbar(SingleWindowContainer.java:413)
>
>
at
net.java.sip.communicator.impl.gui.main.SingleWindowContainer.<init>(SingleWindowContainer.java:76)
> at
>
net.java.sip.communicator.impl.gui.UIServiceImpl.loadApplicationGui(UIServiceImpl.java:145)
>
>
at
net.java.sip.communicator.impl.gui.GuiActivator.start(GuiActivator.java:147)
> at
>
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
>
>
at
org.apache.felix.framework.Felix.activateBundle(Felix.java:1904)
> at
org.apache.felix.framework.Felix.startBundle(Felix.java:1822)
at
>
org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1192)
>
>
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:266)
> at java.lang.Thread.run(Thread.java:662)
>
> So there's an issue with SingleWindowContainer with
recent Jitsi
> versions.
>
>> By the way, what you mean by "feed it to clients
via provisioning"?
>>
>
> https://jitsi.org/index.php/Documentation/Provisioning
>
> Vieri
>
>

--
Emil Ivov, Ph.D.
67000
Strasbourg,
Project Lead
France
Jitsi
emcho@jitsi.org

  PHONE: \+33\.1\.77\.62\.43\.30

http://jitsi.org

FAX: +33.1.77.62.47.31