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 258217

Summary: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Project DiscoveryAssignee: Alexander Simon <alexvsimon>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2016-03-03 07:14:12 UTC
Extracted exception from bug #258211 log:

INFO [org.netbeans.modules.cnd.dwarfdiscovery.provider.DwarfSource]: Exception in file /home/alex/devel/massa/eventserver-trunk/build/native/obj/libutils/simmlib/libutils/socketpair_win32.o
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
	at org.netbeans.modules.cnd.dwarfdump.CompilationUnit.initMacrosTable(CompilationUnit.java:568)
	at org.netbeans.modules.cnd.dwarfdump.CompilationUnit.getMacrosTable(CompilationUnit.java:454)
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.DwarfSource.gatherMacros(DwarfSource.java:900)
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.DwarfSource.process(DwarfSource.java:517)
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.BaseDwarfProvider.processUnit(BaseDwarfProvider.java:523)
[catch] at org.netbeans.modules.cnd.dwarfdiscovery.provider.BaseDwarfProvider.getSourceFilePropertiesLocal(BaseDwarfProvider.java:447)
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.BaseDwarfProvider.getSourceFileProperties(BaseDwarfProvider.java:396)
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.BaseProvider.processArtifactFile(BaseProvider.java:352)
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.BaseProvider.access$400(BaseProvider.java:76)
	at org.netbeans.modules.cnd.dwarfdiscovery.provider.BaseProvider$MyRunnable.run(BaseProvider.java:461)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Comment 1 Alexander Simon 2016-03-03 10:34:56 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/8bf30ab9b876
Comment 2 Quality Engineering 2016-03-04 02:07:28 UTC
Integrated into 'main-silver', will be available in build *201603040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8bf30ab9b876
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #258217 java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
Comment 3 Vladimir Kvashin 2016-04-15 16:59:50 UTC
verified in builds on enum server