kennychou0529 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

Virtual Machine run openHAB server, show errors #344

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The errors are follows:
/***************************************/
C:\openhab>start.bat
Launching the openHAB runtime...
osgi> SLF4J: The following loggers will not work because they were created
SLF4J: during the default configuration phase of the underlying logging system.
SLF4J: See also http://www.slf4j.org/codes.html#substituteLogger
SLF4J: org.openhab.binding.knx.internal.KNXActivator
SLF4J: org.openhab.binding.http.internal.HttpActivator
SLF4J: org.openhab.persistence.rrd4j.internal.RRD4jActivator
SLF4J: org.openhab.persistence.exec.internal.ExecPersistenceServiceActivator
SLF4J: org.openhab.persistence.logging.internal.LoggingPersistenceActivator
SLF4J: org.openhab.persistence.logging.internal.LoggingPersistenceService
SLF4J: org.openhab.binding.ntp.internal.NtpActivator
12:11:51.156 INFO  o.o.c.internal.CoreActivator[:92] - openHAB runtime has been
started (v1.2.0).
12:11:54.437 INFO  o.o.b.k.i.c.KNXConnection[:178] - Established connection to K
NX bus on 224.0.23.12:3671 in mode ROUTER.
12:11:55.156 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'db4o.persist'

12:11:55.156 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'exec.persist'

12:11:55.218 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'logging.persi
st'
12:11:55.234 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'rrd4j.persist
'
12:11:55.343 ERROR o.o.m.i.i.GenericItemProvider[:167] - Group function 'AND' re
quires two arguments. Using Equality instead.
12:11:55.359 ERROR o.o.m.i.i.GenericItemProvider[:174] - Group function 'OR' req
uires two arguments. Using Equality instead.
12:11:55.375 ERROR o.o.m.i.i.GenericItemProvider[:181] - Group function 'NOT AND
' requires two arguments. Using Equality instead.
12:11:55.390 ERROR o.o.m.i.i.GenericItemProvider[:167] - Group function 'AND' re
quires two arguments. Using Equality instead.
12:11:55.421 ERROR o.o.m.i.i.GenericItemProvider[:174] - Group function 'OR' req
uires two arguments. Using Equality instead.
12:11:55.437 ERROR o.o.m.i.i.GenericItemProvider[:181] - Group function 'NOT AND
' requires two arguments. Using Equality instead.
12:11:55.468 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'demo.items'
12:11:55.500 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'db4o.persist'

12:11:55.843 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'demo.script'
12:11:55.921 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'demo.sitemap'

12:11:55.968 ERROR o.o.m.i.i.GenericItemProvider[:167] - Group function 'AND' re
quires two arguments. Using Equality instead.
12:11:55.984 ERROR o.o.m.i.i.GenericItemProvider[:174] - Group function 'OR' req
uires two arguments. Using Equality instead.
12:11:56.000 ERROR o.o.m.i.i.GenericItemProvider[:181] - Group function 'NOT AND
' requires two arguments. Using Equality instead.
12:11:56.015 ERROR o.o.m.i.i.GenericItemProvider[:167] - Group function 'AND' re
quires two arguments. Using Equality instead.
12:11:56.046 ERROR o.o.m.i.i.GenericItemProvider[:174] - Group function 'OR' req
uires two arguments. Using Equality instead.
12:11:56.062 ERROR o.o.m.i.i.GenericItemProvider[:181] - Group function 'NOT AND
' requires two arguments. Using Equality instead.
12:11:56.078 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'demo.items'
12:11:56.125 INFO  o.o.i.s.i.DiscoveryServiceImpl[:92] - mDNS service has been s
tarted
12:11:57.671 INFO  o.o.i.r.i.RESTApplication[:158] - Started REST API at /rest
12:12:06.109 ERROR o.o.m.i.i.GenericItemProvider[:167] - Group function 'AND' re
quires two arguments. Using Equality instead.
12:12:06.125 ERROR o.o.m.i.i.GenericItemProvider[:174] - Group function 'OR' req
uires two arguments. Using Equality instead.
12:12:06.171 ERROR o.o.m.i.i.GenericItemProvider[:181] - Group function 'NOT AND
' requires two arguments. Using Equality instead.
12:12:06.203 ERROR o.o.m.i.i.GenericItemProvider[:167] - Group function 'AND' re
quires two arguments. Using Equality instead.
12:12:06.218 ERROR o.o.m.i.i.GenericItemProvider[:174] - Group function 'OR' req
uires two arguments. Using Equality instead.
12:12:06.250 ERROR o.o.m.i.i.GenericItemProvider[:181] - Group function 'NOT AND
' requires two arguments. Using Equality instead.
12:12:06.265 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'demo.items'
12:12:06.875 INFO  o.o.u.w.i.s.WebAppServlet[:99] - Started Classic UI at /openh
ab.app
Exception in thread "Thread-25" java.lang.IllegalArgumentException: No line matc
hing interface SourceDataLine supporting format PCM_SIGNED 16000.0 Hz, 16 bit, m
ono, 2 bytes/frame, big-endian is supported.
        at javax.sound.sampled.AudioSystem.getLine(Unknown Source)
        at com.sun.speech.freetts.audio.JavaStreamingAudioPlayer.openLine(JavaSt
reamingAudioPlayer.java:194)
        at com.sun.speech.freetts.audio.JavaStreamingAudioPlayer.begin(JavaStrea
mingAudioPlayer.java:410)
        at com.sun.speech.freetts.relp.LPCResult.playWaveSamples(LPCResult.java:
505)
        at com.sun.speech.freetts.relp.LPCResult.playWave(LPCResult.java:403)
        at com.sun.speech.freetts.relp.AudioOutput.processUtterance(AudioOutput.
java:65)
        at com.sun.speech.freetts.Voice.runProcessor(Voice.java:595)
        at com.sun.speech.freetts.Voice.outputUtterance(Voice.java:536)
        at com.sun.speech.freetts.Voice.access$200(Voice.java:81)
        at com.sun.speech.freetts.Voice$1.run(Voice.java:496)
/***************************************/

If i remove the .jar file "org.openhab.io.multimedia.tts.freetts-1.2.0.jar", 
Many errors like this(many times, just like while circle):

/***************************************/
12:11:55.968 ERROR o.o.m.i.i.GenericItemProvider[:167] - Group function 'AND' re
quires two arguments. Using Equality instead.
12:11:55.984 ERROR o.o.m.i.i.GenericItemProvider[:174] - Group function 'OR' req
uires two arguments. Using Equality instead.
12:11:56.000 ERROR o.o.m.i.i.GenericItemProvider[:181] - Group function 'NOT AND
' requires two arguments. Using Equality instead.
12:11:56.015 ERROR o.o.m.i.i.GenericItemProvider[:167] - Group function 'AND' re
quires two arguments. Using Equality instead.
12:11:56.046 ERROR o.o.m.i.i.GenericItemProvider[:174] - Group function 'OR' req
uires two arguments. Using Equality instead.
12:11:56.062 ERROR o.o.m.i.i.GenericItemProvider[:181] - Group function 'NOT AND
' requires two arguments. Using Equality instead.
12:11:56.078 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'demo.items'
/***************************************/

Original issue reported on code.google.com by duanruiq...@gmail.com on 17 Jun 2013 at 12:42

GoogleCodeExporter commented 9 years ago
before today, If i remove the .jar file 
"org.openhab.io.multimedia.tts.freetts-1.2.0.jar", I can run openHAB server on 
Virtual Machine.

Hope anyone can help me find out the result. Thanks!

Original comment by duanruiq...@gmail.com on 17 Jun 2013 at 12:44

GoogleCodeExporter commented 9 years ago
Why do you have org.openhab.io.multimedia.tts.freetts-1.2.0.jar in your addons? 
Do you want to use it or not? Did it ever work?

Regarding the other errors: I could imagine that it is related/similar to issue 
141. Could you be so kind to start openHAB in debug mode (start_debug.bat) and 
attach the resulting log file?

Original comment by kai.openhab on 17 Jun 2013 at 9:13

GoogleCodeExporter commented 9 years ago
Yestoday, I already remove the .jar file 
"org.openhab.io.multimedia.tts.freetts-1.2.0.jar".

But today, I start openHAB in debug mode (start_debug.bat), the errors 
disappear.
Even when I start openHAB in normal mode (start.bat), the errors also disappear.

But yestoday, there are many errors like this: 
/***************************************/
12:11:55.968 ERROR o.o.m.i.i.GenericItemProvider[:167] - Group function 'AND' re
quires two arguments. Using Equality instead.
12:11:55.984 ERROR o.o.m.i.i.GenericItemProvider[:174] - Group function 'OR' req
uires two arguments. Using Equality instead.
12:11:56.000 ERROR o.o.m.i.i.GenericItemProvider[:181] - Group function 'NOT AND
' requires two arguments. Using Equality instead.
12:11:56.015 ERROR o.o.m.i.i.GenericItemProvider[:167] - Group function 'AND' re
quires two arguments. Using Equality instead.
12:11:56.046 ERROR o.o.m.i.i.GenericItemProvider[:174] - Group function 'OR' req
uires two arguments. Using Equality instead.
12:11:56.062 ERROR o.o.m.i.i.GenericItemProvider[:181] - Group function 'NOT AND
' requires two arguments. Using Equality instead.
12:11:56.078 INFO  o.o.m.c.i.f.FolderObserver[:163] - Loaded file 'demo.items'
/***************************************/

I guess Virtual Machine maybe have problems, for it is not stable. but i don't 
know why, now the bug cannot be redo. I don't hope it happens again in the 
future.

(because there is not sound card, if  I remove the .jar file 
"org.openhab.io.multimedia.tts.freetts-1.2.0.jar", there are warnings like this:

00:18:30.015 ERROR o.o.i.multimedia.actions.Audio[:205] - No TTS service availab
le - tried to say: 35

)

Thanks!

Original comment by duanruiq...@gmail.com on 18 Jun 2013 at 12:31

GoogleCodeExporter commented 9 years ago
Feel free to reopen the issue, if the problem reoccurs!

Original comment by kai.openhab on 18 Jun 2013 at 6:31