>
>
> What could we do to make the Exception visible, assuming there is one? 
>
>
Exceptions are ALWAYS visible, the only way they get lost is the try/catch 
blocks you added in your code which effectively swallow and ignore them. 
The JVM will not randomly lose an Exception, it is always code you write 
that decided to handle them in some way. If you do not know how to handle 
an exception do not catch it, printing its stacktrace and ignoring it is 
never a good idea.

In your case since you say that the function never returns I'd put my guess 
on an infinite loop. There is no exception that gets lost, your code is 
just still running. If your JVM is running locally you can attach to it via 
jvisualvm [1] and get a quick overview of what the JVM is doing. If you 
look at the thread information you'll see if something is still running or 
dead-locked somehow.

You can also use a debugger and step through the java code step by step.

Also, consider coding against interfaces in java (eg. java.util.List and 
java.util.Map instead of java.util.Collection), it will save you tons of 
conversion calls.

HTH
/thomas

[1] https://visualvm.java.net/

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to