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 198552

Summary: NoSuchMethodError: org.netbeans.modules.cnd.utils.MIMESupport.getSourceFileMIMEType(Lorg/openide/filesystems/FileObject;)Ljava/lang/String;
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED FIXED    
Severity: normal CC: vv159170
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 178735
Attachments: stacktrace

Description Exceptions Reporter 2011-05-12 12:32:30 UTC
This issue was reported manually by vv159170.
It already has 8 duplicates 


Build: NetBeans IDE Dev (Build 201104250000)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02-334, Java(TM) SE Runtime Environment, 1.6.0_24-b07-334-10M3326
OS: Mac OS X

Stacktrace: 
java.lang.NoSuchMethodError: org.netbeans.modules.cnd.utils.MIMESupport.getSourceFileMIMEType(Lorg/openide/filesystems/FileObject;)Ljava/lang/String;
   at org.netbeans.modules.cnd.modelimpl.trace.NativeProjectProvider.getLanguage(NativeProjectProvider.java:124)
   at org.netbeans.modules.cnd.modelimpl.csm.core.CsmStandaloneFileProviderImpl$NativeProjectImpl.getNativeProjectImpl(CsmStandaloneFileProviderImpl.java:339)
   at org.netbeans.modules.cnd.modelimpl.csm.core.CsmStandaloneFileProviderImpl.getCsmFile(CsmStandaloneFileProviderImpl.java:173)
   at org.netbeans.modules.cnd.model.tasks.CsmFileTaskFactory.getCsmFile(CsmFileTaskFactory.java:262)
   at org.netbeans.modules.cnd.model.tasks.CsmFileTaskFactory.stateChangedImpl(CsmFileTaskFactory.java:209)
   at org.netbeans.modules.cnd.model.tasks.CsmFileTaskFactory.access$300(CsmFileTaskFactory.java:75)
Comment 1 Exceptions Reporter 2011-05-12 12:32:34 UTC
Created attachment 108247 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2011-05-12 13:45:31 UTC
http://hg.netbeans.org/cnd-main/rev/babe8682544b
Comment 3 Quality Engineering 2011-05-13 06:02:15 UTC
Integrated into 'main-golden', will be available in build *201105130000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/babe8682544b
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #198552 -  NoSuchMethodError: org.netbeans.modules.cnd.utils.MIMESupport.getSourceFileMIMEType