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 86280

Summary: UnsupportedOperationException when user is creating Quote project
Product: cnd Reporter: soldatov <soldatov>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2006-10-02 08:22:06 UTC
- Push File|New Project...
- Select 'Quote' sample project
- Press 'Next' button, press 'Finish' button
==>
Exception occurred:

*********** Exception occurred ************ at 11:03 AM on Oct 2, 2006
java.lang.UnsupportedOperationException: getEndOffset must not be used
        at
org.netbeans.modules.cnd.modelimpl.apt.utils.APTUtils$APTEOFToken.getEndOffset(APTUtils.java:364)
        at
org.netbeans.modules.cnd.modelimpl.antlr2.CsmAST.getEndOffset(CsmAST.java:106)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableBase.getEndOffset(OffsetableBase.java:143)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.gatherMaps(Resolver3.java:192)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.gatherMaps(Resolver3.java:183)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.gatherMaps(Resolver3.java:179)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.Resolver3.resolve(Resolver3.java:355)
        at
org.netbeans.modules.cnd.modelimpl.csm.FunctionDefinitionImpl.findOwner(FunctionDefinitionImpl.java:92)
        at
org.netbeans.modules.cnd.modelimpl.csm.FunctionDefinitionImpl.findQualifiedName(FunctionDefinitionImpl.java:140)
        at
org.netbeans.modules.cnd.modelimpl.csm.FunctionDefinitionImpl.fixFakeRegistration(FunctionDefinitionImpl.java:178)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.fixFakeRegistrations(FileImpl.java:927)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.onParseFinish(ProjectBase.java:638)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.onFileParsingFinished(ParserQueue.java:519)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:68)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:50)
        at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Vladimir Voskresensky 2006-10-06 14:50:27 UTC
already fixed before.
Comment 2 Maria Tishkova 2007-08-06 17:29:10 UTC
verified