Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[341869] Starting server in debug mode hits Unhandled Event Loop Exce…

…ption
  • Loading branch information...
commit 7477812a18a2203b36e98624a2366f1a121bc01e 1 parent 32db3d6
eyuen authored
View
37 ...eclipse.wst.server.core/servercore/org/eclipse/wst/server/core/internal/ServerPlugin.java
@@ -1507,28 +1507,27 @@ private static void loadSaveEditorExtension() {
if (Trace.EXTENSION_POINT) {
Trace.trace(Trace.STRING_EXTENSION_POINT, " No .saveEditorPrompter is found.");
}
- return;
- }
- try{
- saveEditorPrompter = (SaveEditorPrompter)cf[0].createExecutableExtension("class");
- if (Trace.EXTENSION_POINT) {
- Trace.trace(Trace.STRING_EXTENSION_POINT, " Loaded saveEditorPrompter: " + cf[0].getAttribute("id"));
+ } else {
+ try{
+ saveEditorPrompter = (SaveEditorPrompter)cf[0].createExecutableExtension("class");
+ if (Trace.EXTENSION_POINT) {
+ Trace.trace(Trace.STRING_EXTENSION_POINT, " Loaded saveEditorPrompter: " + cf[0].getAttribute("id"));
+ }
+ } catch (CoreException ce){
+ if (Trace.SEVERE) {
+ Trace.trace(
+ Trace.STRING_SEVERE,
+ " Could not load saveEditorPrompter: "
+ + cf[0].getAttribute("id"), ce);
+ }
}
- } catch (CoreException ce){
- if (Trace.SEVERE) {
- Trace.trace(
- Trace.STRING_SEVERE,
- " Could not load saveEditorPrompter: "
- + cf[0].getAttribute("id"), ce);
- }
- }
- if (size > 1) {
- if (Trace.WARNING) {
- Trace.trace(Trace.STRING_WARNING, " More than one .saveEditorPrompter found, only one loaded =>"
- + cf[0].getAttribute("id"));
+ if (size > 1) {
+ if (Trace.WARNING) {
+ Trace.trace(Trace.STRING_WARNING, " More than one .saveEditorPrompter found, only one loaded =>"
+ + cf[0].getAttribute("id"));
+ }
}
}
-
if (Trace.EXTENSION_POINT) {
Trace.trace(Trace.STRING_EXTENSION_POINT, "-<- Done loading .saveEditorPrompter extension point -<-");
}
Please sign in to comment.
Something went wrong with that request. Please try again.