Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-26-2011, 04:30 PM   PM User | #1
Camona2333
New to the CF scene

 
Join Date: Jul 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Camona2333 is an unknown quantity at this point
Unhappy Why am I getting a java.net.SocketException?

For two of the pages of the project I am working on, I end up with a "java.net.SocketException: Unexpected end of file from server" error every time I try to load them. They both use the same default mustache layout page, and that's the file the error stream says is the problem, but it is almost identical to 4 other default pages which load with no problem. I have gone through that page multiple times and there is nothing wrong with the HTML.

These pages are meant to build (one builds and one builds and searches) a taxonomical tree and then print it out as nested unordered lists. The tree is actually built with Scala and then rendered with mustache in a HTML file. Using a debugger, I see that it builds the tree successfully, but then it breaks when it tries to load the tree into the template page.

The really strange thing is that if I go through the Scala method that builds the page one step at a time with a debugger, it loads the page just fine! Is it somehow taking too long to build the page? Has anyone else experienced and fixed an error like this?
Camona2333 is offline   Reply With Quote
Reply

Bookmarks

Tags
mustache, scala, socketexception

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:32 AM.


Advertisement
Log in to turn off these ads.