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.

Bug 185846 - UncaughtExceptionsVisitor.visitTry NPE
Summary: UncaughtExceptionsVisitor.visitTry NPE
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Karol Harezlak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 14:21 UTC by Karol Harezlak
Modified: 2010-05-21 11:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karol Harezlak 2010-05-10 14:21:19 UTC
I am getting this on some broken sources:
java.lang.NullPointerException
    at org.netbeans.modules.javafx.editor.hints.UncaughtExceptionsVisitor.visitTry(UncaughtExceptionsVisitor.java:93)
    at org.netbeans.modules.javafx.editor.hints.UncaughtExceptionsVisitor.visitTry(UncaughtExceptionsVisitor.java:63)
    at com.sun.tools.javafx.tree.JFXTry.accept(JFXTry.java:69)
    at com.sun.javafx.api.tree.JavaFXTreePathScanner.scan(JavaFXTreePathScanner.java:63)
    at com.sun.javafx.api.tree.JavaFXTreeScanner.scan(JavaFXTreeScanner.java:94)
    at com.sun.javafx.api.tree.JavaFXTreeScanner.visitBlockExpression(JavaFXTreeScanner.java:242)
    at org.netbeans.modules.javafx.editor.hints.UncaughtExceptionsVisitor.visitBlockExpression(UncaughtExceptionsVisitor.java:80)
    at org.netbeans.modules.javafx.editor.hints.UncaughtExceptionsVisitor.visitBlockExpression(UncaughtExceptionsVisitor.java:63)
    at com.sun.tools.javafx.tree.JFXBlock.accept(JFXBlock.java:99)
    at com.sun.javafx.api.tree.JavaFXTreePathScanner.scan(JavaFXTreePathScanner.java:63)
    at com.sun.javafx.api.tree.JavaFXTreeScanner.scanAndReduce(JavaFXTreeScanner.java:84)
    at com.sun.javafx.api.tree.JavaFXTreeScanner.visitConditionalExpression(JavaFXTreeScanner.java:155)
    at com.sun.tools.javafx.tree.JFXIfExpression.accept(JFXIfExpression.java:74)
    at com.sun.javafx.api.tree.JavaFXTreePathScanner.scan(JavaFXTreePathScanner.java:63)
    at com.sun.javafx.api.tree.JavaFXTreeScanner.scanAndReduce(JavaFXTreeScanner.java:84)
Comment 1 Karol Harezlak 2010-05-10 15:21:06 UTC
fixed,

http://hg.netbeans.org/javafx/rev/29e6c18412d3
Comment 2 Alexandr Scherbatiy 2010-05-21 11:10:39 UTC
unable to reproduce in NB 6.9 RC1