[jitsi-dev] Libjitsi dependencies to Jitsi


#1

I am trying to run examples from the recent libjitsi build (219) and get
the following Exception:

SEVERE: Failed to load property file: jitsi-defaults.properties
java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Properties.java:434)
at java.util.Properties.load0(Properties.java:353)
at java.util.Properties.load(Properties.java:341)
at
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1562)
at
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1545)
at
org.jitsi.impl.configuration.ConfigurationServiceImpl.<init>(ConfigurationServiceImpl.java:121)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:374)
at java.lang.Class.newInstance(Class.java:327)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:133)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at
org.jitsi.service.libjitsi.LibJitsi.getConfigurationService(LibJitsi.java:85)
at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1545)
at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:223)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)
at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:110)
at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
at org.jitsi.examples.AVReceive2.initialize(AVReceive2.java:98)
at org.jitsi.examples.AVReceive2.main(AVReceive2.java:348)

The file jitsi-defaults.properties is nowhere to be found in libjitsi. For
me it looks like an undesirable dependency of libjiti to jitsi project.

Regards,
Alaxander Fedulov


#2

What you see is the printout of a handled exception, it should not
interfere with the operation of your application (presuming you do not
rely on default properties).

···

2013/5/31 <ijustwanttoregister@googlemail.com>:

SEVERE: Failed to load property file: jitsi-defaults.properties
java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Properties.java:434)
at java.util.Properties.load0(Properties.java:353)
at java.util.Properties.load(Properties.java:341)
at
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1562)


#3

Thanks for the answer, Lyubomir. Maybe it would be meaningful to consider
changing the SEVERE marker to something less dramatically sounding for this
case.

Regards,
Alexander Fedulov

···

2013/5/31 Lyubomir Marinov <lyubomir.marinov@jitsi.org>

2013/5/31 <ijustwanttoregister@googlemail.com>:
> SEVERE: Failed to load property file: jitsi-defaults.properties
> java.lang.NullPointerException
> at java.util.Properties$LineReader.readLine(Properties.java:434)
> at java.util.Properties.load0(Properties.java:353)
> at java.util.Properties.load(Properties.java:341)
> at
>
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1562)

What you see is the printout of a handled exception, it should not
interfere with the operation of your application (presuming you do not
rely on default properties).


#4

agreed. Will fix

--sent from my mobile

···

On May 31, 2013 9:47 PM, <ijustwanttoregister@googlemail.com> wrote:

Thanks for the answer, Lyubomir. Maybe it would be meaningful to consider
changing the SEVERE marker to something less dramatically sounding for this
case.

Regards,
Alexander Fedulov

2013/5/31 Lyubomir Marinov <lyubomir.marinov@jitsi.org>

2013/5/31 <ijustwanttoregister@googlemail.com>:
> SEVERE: Failed to load property file: jitsi-defaults.properties
> java.lang.NullPointerException
> at java.util.Properties$LineReader.readLine(Properties.java:434)
> at java.util.Properties.load0(Properties.java:353)
> at java.util.Properties.load(Properties.java:341)
> at
>
org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1562)

What you see is the printout of a handled exception, it should not
interfere with the operation of your application (presuming you do not
rely on default properties).

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#5

Done: 817fd5331d082ca5b81d268044a9b67b7416cd54

Will be in next nightly.

Emil

···

On 31.05.13, 22:01, Emil Ivov wrote:

agreed. Will fix

--sent from my mobile

On May 31, 2013 9:47 PM, <ijustwanttoregister@googlemail.com > <mailto:ijustwanttoregister@googlemail.com>> wrote:

    Thanks for the answer, Lyubomir. Maybe it would be meaningful to
    consider changing the SEVERE marker to something less dramatically
    sounding for this case.

    Regards,
    Alexander Fedulov

    2013/5/31 Lyubomir Marinov <lyubomir.marinov@jitsi.org
    <mailto:lyubomir.marinov@jitsi.org>>

        2013/5/31 <ijustwanttoregister@googlemail.com
        <mailto:ijustwanttoregister@googlemail.com>>:
         > SEVERE: Failed to load property file: jitsi-defaults.properties
         > java.lang.NullPointerException
         > at java.util.Properties$LineReader.readLine(Properties.java:434)
         > at java.util.Properties.load0(Properties.java:353)
         > at java.util.Properties.load(Properties.java:341)
         > at
         >
        org.jitsi.impl.configuration.ConfigurationServiceImpl.loadDefaultProperties(ConfigurationServiceImpl.java:1562)

        What you see is the printout of a handled exception, it should not
        interfere with the operation of your application (presuming you
        do not
        rely on default properties).

    _______________________________________________
    dev mailing list
    dev@jitsi.org <mailto:dev@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org