MamasBoyGitHub / universal-media-server

Automatically exported from code.google.com/p/universal-media-server
GNU General Public License v2.0
0 stars 0 forks source link

Console mode enabled but still attempts to query graphics environment #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
./UMS.sh without X11

What version of the product are you using? On what operating system?
Ubuntu 12.10 AMD64

Please provide any additional information below.

INFO 2013-01-24 09:07:46.797 [main] GUI environment not available
INFO 2013-01-24 09:07:46.798 [main] Switching to console mode
INFO 2013-01-24 09:07:46.808 [main] Starting Universal Media Server 2.2.6
INFO 2013-01-24 09:07:46.809 [main] Based on PS3 Media Server by shagrath, 
copyright 2008-2012
INFO  2013-01-24 09:07:46.809 [main] http://www.universalmediaserver.com        

INFO 2013-01-24 09:07:46.809 [main]
INFO 2013-01-24 09:07:46.809 [main] Build: f6514e84e (2013-01-21)
INFO 2013-01-24 09:07:46.809 [main] Java: 1.7.0_09-Oracle Corporation
INFO 2013-01-24 09:07:46.810 [main] OS: Linux 64-bit 3.5.0-22-generic
INFO 2013-01-24 09:07:46.810 [main] Encoding: UTF-8
INFO 2013-01-24 09:07:46.810 [main] Memory: 682 MB 

INFO 2013-01-24 09:11:09.686 [pool-11-thread-184] Exception in thread 
"pool-11-thread-184" java.lang.NoClassDefFoundErr
or: Could not initialize class sun.awt.X11GraphicsEnvironment
INFO 2013-01-24 09:11:09.686 [pool-11-thread-184] at 
java.lang.Class.forName0(Native Method)
INFO 2013-01-24 09:11:09.686 [pool-11-thread-184] at 
java.lang.Class.forName(Class.java:186)
INFO 2013-01-24 09:11:09.686 [pool-11-thread-184] at 
java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.jav
a:102)
INFO 2013-01-24 09:11:09.686 [pool-11-thread-184] at 
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Grap
hicsEnvironment.java:81)
INFO 2013-01-24 09:11:09.686 [pool-11-thread-184] at 
java.awt.image.BufferedImage.createGraphics(BufferedImage.jav
a:1152)
INFO 2013-01-24 09:11:09.686 [pool-11-thread-184] at 
java.awt.image.BufferedImage.getGraphics(BufferedImage.java:1
142)
INFO 2013-01-24 09:11:09.687 [pool-11-thread-184] at 
net.pms.dlna.DLNAMediaInfo.parse(DLNAMediaInfo.java:1014)
INFO 2013-01-24 09:11:09.687 [pool-11-thread-184] at 
net.pms.formats.Format.parse(Format.java:230)
INFO 2013-01-24 09:11:09.687 [pool-11-thread-184] at 
net.pms.dlna.RealFile.resolve(RealFile.java:187)
INFO 2013-01-24 09:11:09.687 [pool-11-thread-184] at 
net.pms.dlna.DLNAResource.run(DLNAResource.java:830)
INFO 2013-01-24 09:11:09.687 [pool-11-thread-184] at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolE
xecutor.java:1110)
INFO 2013-01-24 09:11:09.687 [pool-11-thread-184] at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
Executor.java:603)
INFO 2013-01-24 09:11:09.687 [pool-11-thread-184] at 
java.lang.Thread.run(Thread.java:722) 

Original issue reported on code.google.com by anarchoc...@gmail.com on 24 Jan 2013 at 2:30

GoogleCodeExporter commented 8 years ago
Thanks for the report. Please test this version:
http://www.spirton.com/uploads/UMS/UMS-issue37.tgz

Original comment by subjunk on 24 Jan 2013 at 9:38

GoogleCodeExporter commented 8 years ago
Some of this stuff hit me today. I also run UMS headless and got something like 
this "Could not initialize class sun.awt.X11GraphicsEnvironment" on debian 
GNU/linux x64 (sorry, but debug.log is rewritet each UMS restart).
I solved it by using X11 forward in putty and runninf xming at same time in 
windows. Accessing a folder full of JPGs triggered this issue as lot as files 
were inside the folder resulting in no brwosing list.

Original comment by ronnysef...@gmail.com on 28 Jan 2013 at 10:32

GoogleCodeExporter commented 8 years ago
I have to add: "using 2.3.0"

Original comment by ronnysef...@gmail.com on 28 Jan 2013 at 10:35

GoogleCodeExporter commented 8 years ago

Original comment by subjunk on 15 Mar 2013 at 11:31