[sip-comm] Support running Sipcommunicator


#1

Hello Everybody,

I have the following situation with Sipcommunicator

  1. I have dowloaded and configure the Sipcommunicator 1.0draf with no problems in Intellij IDEA 5.1 and configure the “accounts.properties” file with the ICQ accounts.

The first account “accounts.icq.TESTED_IMPL_ACCOUNT_ID” has the newly created account with no contacts at all. The account “accounts.icq.TESTING_IMPL_ACCOUNT_ID” is my accont with all my contacts. I have place the file in the lib directory and I do believe that I have no missing jar files.

  1. I have configure as I mention this in IntelliJ IDEA but I have no problem to do it in Eclipse or NetBeans. I have run the “ant bundles” and “ant run” tasks. The former runs with no prblem whereas the latter has the following output

Welcome to Oscar.

···

=================

Could not create Oscar: java.lang.IllegalArgumentException: null source
java.lang.IllegalArgumentException: null source
at java.util.EventObject.(EventObject.java:34)
at org.osgi.framework.FrameworkEvent.(FrameworkEvent.java:135)
at org.ungoverned.oscar.Noscar.fireFrameworkEvent(Noscar.java:2976)
at org.ungoverned.oscar.Noscar.start(Noscar.java:461)
at org.ungoverned.oscar.Main.main(Main.java:181)
D:\projects\StingNetworks\SipCommunicator\sip-communicator-1-0-draft\build.xml:323: Java returned: -1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:17)
D:\projects\StingNetworks\SipCommunicator\sip-communicator-1-0-draft\build.xml:323: Java returned: -1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:17)
D:\projects\StingNetworks\SipCommunicator\sip-communicator-1-0-draft\build.xml:323: Java returned: -1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:17)

Ant build completed with 3 errors 3 warnings in 4s at 08:35:07

I think that I have follow the configuration and look at the archieves the correct way however I do not know what is wrong in my configuration or what I am missing for what I would like to have some support.

I hope that somebody has something as hint for solve this.

Looking forward to hear from you!

Best Regards,


Alan Raúl Ramos

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

I had the same problem myself when trying to get sip communicator up and
running. (Could not create Oscar: ), granted this was a couple of months
ago, but I think the problem I had was that I had removed the non-windows
files and edited the ant build file run target, but after much head
scratching as to why it wasn't working I eventually restored the original
files and settings, ran the bundle target and run target and hey presto, the
sip communicator launched successfully.

Unfortunately, this was only the start of my problems and after another
couple of glitches I abandoned sip-communicator altogether and am currently
now using mjsip (www.mjsip.org) which although it doesn't have IM
functionality is much easier to set up and get working.

/Brian.

···

On 4/19/06, Alan Ramos - alra03 <alra03@student.bth.se> wrote:

Hello Everybody,

I have the following situation with Sipcommunicator

1. I have dowloaded and configure the Sipcommunicator 1.0draf with no
problems in Intellij IDEA 5.1 and configure the "accounts.properties" file
with the ICQ accounts.
The first account "accounts.icq.TESTED_IMPL_ACCOUNT_ID" has the newly
created account with no contacts at all. The account "
accounts.icq.TESTING_IMPL_ACCOUNT_ID" is my accont with all my contacts. I
have place the file in the lib directory and I do believe that I have no
missing jar files.

2. I have configure as I mention this in IntelliJ IDEA but I have no
problem to do it in Eclipse or NetBeans. I have run the "ant bundles" and
"ant run" tasks. The former runs with no prblem whereas the latter has the
following output

Welcome to Oscar.

Could not create Oscar: java.lang.IllegalArgumentException: null source
java.lang.IllegalArgumentException: null source
at java.util.EventObject.<init>(EventObject.java:34)
at org.osgi.framework.FrameworkEvent.<init>(FrameworkEvent.java:135)
at org.ungoverned.oscar.Noscar.fireFrameworkEvent(Noscar.java:2976)
at org.ungoverned.oscar.Noscar.start(Noscar.java:461)
at org.ungoverned.oscar.Main.main(Main.java:181)
D:\projects\StingNetworks\SipCommunicator\sip-communicator-1-0-draft\build.xml:323:
Java returned: -1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(
DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:17)
D:\projects\StingNetworks\SipCommunicator\sip-communicator-1-0-draft\build.xml:323:
Java returned: -1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(
DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:17)
D:\projects\StingNetworks\SipCommunicator\sip-communicator-1-0-draft\build.xml:323:
Java returned: -1
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(
DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:17)
Ant build completed with 3 errors 3 warnings in 4s at 08:35:07

I think that I have follow the configuration and look at the archieves the
correct way however I do not know what is wrong in my configuration or what
I am missing for what I would like to have some support.

I hope that somebody has something as hint for solve this.

Looking forward to hear from you!

Best Regards,

----
Alan Raúl Ramos
--------------------------------------------------------------------- To
unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net For
additional commands, e-mail: users-help@sip-communicator.dev.java.net