This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 198604
Collapse All | Expand All

(-)a/openide.filesystems/src/org/openide/filesystems/annotations/LayerGeneratingProcessor.java (-3 / +3 lines)
Lines 134-144 Link Here
134
            }
134
            }
135
            return false;
135
            return false;
136
        }
136
        }
137
        if (roundEnv.processingOver() && !roundEnv.errorRaised()) {
137
        if (roundEnv.processingOver()) {
138
            Document doc = generatedLayerByProcessor.remove(processingEnv);
138
            Document doc = generatedLayerByProcessor.remove(processingEnv);
139
            if (doc != null) {
139
            List<Element> originatingElementsL = originatingElementsByProcessor.remove(processingEnv);
140
            if (doc != null && !roundEnv.errorRaised()) {
140
                Element[] originatingElementsA = new Element[0];
141
                Element[] originatingElementsA = new Element[0];
141
                List<Element> originatingElementsL = originatingElementsByProcessor.remove(processingEnv);
142
                if (originatingElementsL != null) {
142
                if (originatingElementsL != null) {
143
                    originatingElementsA = originatingElementsL.toArray(originatingElementsA);
143
                    originatingElementsA = originatingElementsL.toArray(originatingElementsA);
144
                }
144
                }

Return to bug 198604