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 74542 - NullPointerException when surounding with try-catch
Summary: NullPointerException when surounding with try-catch
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-06 21:09 UTC by pnume66
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Message log (130.55 KB, text/plain)
2006-04-06 21:13 UTC, pnume66
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pnume66 2006-04-06 21:09:46 UTC
The source editor sometimes throws a NullPointer exception when i do the 
following.

step 1 write a JdbcRowSetImpl.getString(column) statement.
(The editor now comes up will out beloved lightbulp :) )

Step 2 Click the surround with try-catch options.

This is the Exception i got last time.

java.lang.NullPointerException
	at org.netbeans.modules.javacore.TryWrapper.<init>(TryWrapper.java:59)
	at org.netbeans.modules.java.hints.TryWrapperJavaHint.implement
(TryWrapperJavaHint.java:58)
	at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:334)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:926)
Comment 1 pnume66 2006-04-06 21:13:33 UTC
Created attachment 29678 [details]
Message log
Comment 2 Jan Becicka 2006-10-26 16:27:56 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 3 Quality Engineering 2007-09-20 12:04:20 UTC
Reorganization of java component