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 78142 - Random NPE from ASTProvider when deleting WS client
Summary: Random NPE from ASTProvider when deleting WS client
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 15:24 UTC by Max Sauer
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE stack trace (2.27 KB, text/plain)
2006-06-16 15:25 UTC, Max Sauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2006-06-16 15:24:52 UTC
I'm getting following NPE in cca 1/3 of attempts to delete a Web Service Client:

java.lang.NullPointerException
	at org.netbeans.modules.javacore.parser.ASTProvider.getToken(ASTProvider.java:331)
	at
org.netbeans.modules.javacore.parser.TokenIterator.getNextTokenType(TokenIterator.java:63)
	at
org.netbeans.modules.javacore.scanning.JavaUpdater.makeIndex(JavaUpdater.java:96)
	at
org.netbeans.modules.javacore.scanning.JavaUpdater.computeIndex(JavaUpdater.java:58)
...
(whole stack trace attached)

Steps to reproduce:
-------------------
1) Create a WebAppplication project
2) Add a WS Client to it, ie. from project's context menu inside explorer
3) Delete the Web Service client from inside explorer
--> Random NPE

---------------
Netbeans 5.5dev 200606150200
JDK 1.6.0-rc-b87
Solaris 10 / Sparc
Glassfish
Comment 1 Max Sauer 2006-06-16 15:25:23 UTC
Created attachment 31124 [details]
NPE stack trace
Comment 2 Jan Becicka 2006-10-26 16:27:21 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 3 Max Sauer 2006-10-30 10:30:21 UTC
Verified.
---
NetBeans IDE Dev (Build 061030)
1.5.0_07; Java HotSpot(TM) Server VM 1.5.0_07-b03
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 4 Quality Engineering 2007-09-20 12:34:43 UTC
Reorganization of java component