Java Exception in 2.5.0
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Java Exception in 2.5.0
Pretty self explanatory. I am just reporting an exception being thrown, that was not intended to be thrown. Included are my debug files. Please let me know if I can help with this any further.
Code: Select all
03-08 19:37:22 Disconnecting HTTP server from renderers
03-08 19:37:26 Stopping server on host 192.168.0.119 and port 6001...
03-08 19:37:26 Exception in thread "UPNP-AliveMessageSender" java.lang.NullPointerException
03-08 19:37:26 at net.pms.network.UPNPHelper.buildMsg(UPNPHelper.java:327)
03-08 19:37:26 at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:173)
03-08 19:37:26 at net.pms.network.UPNPHelper.sendAlive(UPNPHelper.java:116)
03-08 19:37:26 at net.pms.network.UPNPHelper$1.run(UPNPHelper.java:206)
03-08 19:37:26 at java.lang.Thread.run(Unknown Source)
03-08 19:37:27 Using address /192.168.0.119 found on network interface: name:eth4 (Intel(R) 82579V Gigabit Network Connection)
03-08 19:37:27 Created socket: /192.168.0.119:6001
- Attachments
-
- ums_dbg.zip
- (12.84 KiB) Downloaded 735 times
Re: Java Exception in 2.5.0
Did you read that new version needs Java v7?
Re: Java Exception in 2.5.0
You can download the latest version of Java 7 here.
天 黒影 天
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------
_______________________________________________|_._._._._._._._._._
\______________________________________________|_#_#_#_#_#_#_|
------------------------------------------------------------------|---------------------
Re: Java Exception in 2.5.0
Are you guys being serious right now? Before posting, why not look at my logs? The seventh line in,
Please do not post useless posts here. I know you're trying to help, but at least look at what you're helping with beforehand if you want to help.
Code: Select all
INFO 2013-03-08 19:37:10.058 [main] Java: 1.7.0_17-Oracle Corporation
Re: Java Exception in 2.5.0
On my mobile display I saw
Code: Select all
window only.
The uploaded log link is so small that I overlooked it:-)
Do you have IP address forced? If yes, are you using dhcp?
Maybe I saw similar errors when IP was manually forced to one which was different from one dhcp gave to my network interface.... still I haven't opened your log due to small display, sorry.
Re: Java Exception in 2.5.0
It's no worries ExSport. I understand that 99% of the Java related issues on the forums since 2.5.0 were due to Java 7 not being installed. In any case, my computer's IP is static via reservation table on the router. Windows is set up to use DHCP, it's just that DHCP will always return the same IP for the MAC address associated with this computer.
- SharkHunter
- Developer
- Posts: 648
- Joined: Fri Jun 01, 2012 9:36 pm
Re: Java Exception in 2.5.0
This is the line that causes the crash:
Now the only reason for this can be a lot of course. My guess would be inline with ExSport and I suspect that you try to use some exotic address/port combination.
We could add detection for this error but the only thing it can do is till to just ignore the request.
DHCP should (according to the RFCs) ALWAYS return the same address for the same client(=mac) if it can.
Try and use out-of-the box settings one time....
Code: Select all
sb.append("LOCATION: http://").append(PMS.get().getServer().getHost()).append(":").append(PMS.get().getServer().getPort()).append("/description/fetch" + CRLF);
We could add detection for this error but the only thing it can do is till to just ignore the request.
DHCP should (according to the RFCs) ALWAYS return the same address for the same client(=mac) if it can.
Try and use out-of-the box settings one time....
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
We believe in: rough consensus and running code.
Re: Java Exception in 2.5.0
It hasn't occurred since the first time, with no change in settings.