30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Zend Server <strong>Reference</strong> Manual<br />

Java Exception<br />

Description: When Java code called through the Java Bridge fails due to an uncaught Java exception, it<br />

generates an error. The “Uncaught Java exception” Rule determines if Uncaught Java Exceptions are<br />

reported or not.<br />

Information Collected:<br />

The most important details are:<br />

430<br />

Function Name - As displayed in the Issue’s General Details<br />

Error Data - Listed in the Error Data tab including the Java Stack and Java error string.<br />

In most cases, these details alone should be enough to indicate what happened to trigger an event.<br />

Applicable Diagnostic Actions:<br />

Click on a link to see how to perform each action tools are listed in order of relevance to helping solve the<br />

event:<br />

Open code in editor<br />

Run the Debugger<br />

Run the Profiler<br />

Redefine database queries<br />

View information in the Logs<br />

Possible Causes and Solutions:<br />

Based on the exception type, investigate the Java code and fix to stop generating the event – all relevant<br />

information should be collected in the issue.<br />

False Positives - Sometimes developers write code to intentionally trigger an Uncaught Java Exception.<br />

Not all triggered exceptions are indicative of a problem in your code or environment and they may be no<br />

indication of unacceptable behavior. If this is the case, set issues triggered by this function to ignored.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!