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 115262 - Plenty of NPE when CND pack is activated in plugin manager
Summary: Plenty of NPE when CND pack is activated in plugin manager
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-11 14:36 UTC by Jana Maleckova
Modified: 2007-10-15 13:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
115262 (1.79 KB, text/plain)
2007-09-11 14:38 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2007-09-11 14:36:56 UTC
Product Version: NetBeans IDE 6.0 Beta 1 (Build 200709101200) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)

Description:
============
I installed Basic IDE by installer. CND pack is not in installation by default therefore I installed pack through plugin
manager. Then I have just deactivated and finally activated this plugin .. During the last step, many exceptions were thrown

StackTrace:
===========
java.lang.NullPointerException
	at org.netbeans.modules.cnd.loaders.MIMEResolver.findMIMEType(MIMEResolver.java:72)
	at org.openide.filesystems.MIMESupport$CachedFileObject.resolveMIME(MIMESupport.java:231)
	at org.openide.filesystems.MIMESupport$CachedFileObject.getMIMEType(MIMESupport.java:219)
	at org.openide.filesystems.MIMESupport.findMIMEType(MIMESupport.java:93)
Comment 1 Jana Maleckova 2007-09-11 14:38:20 UTC
Created attachment 48577 [details]
115262
Comment 2 Alexander Simon 2007-09-11 16:49:15 UTC
fixed

CVS log:

Checking in ShellDataLoader.java;
/shared/data/ccvs/repository/cnd/core/src/org/netbeans/modules/cnd/loaders/ShellDataLoader.java,v  <--  ShellDataLoader.java
new revision: 1.9; previous revision: 1.8
done
Comment 3 Jana Maleckova 2007-10-15 13:47:11 UTC
verified on

Product Version: NetBeans IDE Dev (Build 200710150000)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05