Index: trunk/src/org/openstreetmap/josm/gui/layer/LayerManager.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/LayerManager.java	(revision 10983)
+++ trunk/src/org/openstreetmap/josm/gui/layer/LayerManager.java	(revision 10985)
@@ -172,5 +172,5 @@
 
     /**
-     * Add a layer. The layer will be added at a given psoition.
+     * Add a layer. The layer will be added at a given position.
      * @param layer The layer to add
      */
Index: trunk/src/org/openstreetmap/josm/tools/bugreport/ReportedException.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/bugreport/ReportedException.java	(revision 10983)
+++ trunk/src/org/openstreetmap/josm/tools/bugreport/ReportedException.java	(revision 10985)
@@ -46,5 +46,4 @@
     private final LinkedList<Section> sections = new LinkedList<>();
     private final transient Thread caughtOnThread;
-    private final Throwable exception;
     private String methodWarningFrom;
 
@@ -55,5 +54,4 @@
     ReportedException(Throwable exception, Thread caughtOnThread) {
         super(exception);
-        this.exception = exception;
 
         allStackTraces = Thread.getAllStackTraces();
@@ -157,5 +155,5 @@
         }
 
-        return hasSameStackTrace(new CauseTraceIterator(), e.exception);
+        return hasSameStackTrace(new CauseTraceIterator(), e.getCause());
     }
 
@@ -247,5 +245,5 @@
     @Override
     public String toString() {
-        return "ReportedException [thread=" + caughtOnThread + ", exception=" + exception
+        return "ReportedException [thread=" + caughtOnThread + ", exception=" + getCause()
                 + ", methodWarningFrom=" + methodWarningFrom + "]";
     }
@@ -276,5 +274,5 @@
      */
     private final class CauseTraceIterator implements Iterator<Throwable> {
-        private Throwable current = exception;
+        private Throwable current = getCause();
         private final Set<Throwable> dejaVu = Collections.newSetFromMap(new IdentityHashMap<Throwable, Boolean>());
 
