Project

General

Profile

Actions

Bug #1926

open

NullPointerException at Descs$StructUnionDescriptor.sizeField_list

Added by Alexey Khoroshilov about 13 years ago. Updated about 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/20/2011
Due date:
% Done:

0%

Estimated time:
Detected in build:
2.9.316-beta-110421
Platform:
Published in build:

Description

helpers.sec(3,40): error: specification typedef for 'SpecBtree' defined with incomplete type.
helpers.sec(3,40): error: specification type 'SpecBtree' is declared with conflicting base types.
helpers.seh(15,3): info: previous declaration of 'SpecBtree'.
helpers.sei(?,?): error:  Internal error:
java.lang.NullPointerException
        at ru.ispras.redverst.frontend.se.c.Descs$StructUnionDescriptor.sizeField_list(Descs.java:2137)
        at ru.ispras.redverst.frontend.se.c.TypeChecker.visitCallExpr(TypeChecker.java:9856)
        at ru.ispras.redverst.frontend.se.c.SEC$CallExpr.accept(SEC.java:10823)
        at ru.ispras.redverst.frontend.se.c.TypeChecker.visitCommonReturnExpression(TypeChecker.java:7915)
        at ru.ispras.redverst.frontend.se.c.SEC$CommonReturnExpression.accept(SEC.java:7547)
        at ru.ispras.redverst.frontend.se.c.TypeChecker.visitReturnStatement(TypeChecker.java:7663)
        at ru.ispras.redverst.frontend.se.c.SEC$ReturnStatement.accept(SEC.java:7457)
        at ru.ispras.redverst.frontend.se.c.TypeChecker.visitStatementBlockItem(TypeChecker.java:7480)
        at ru.ispras.redverst.frontend.se.c.SEC$StatementBlockItem.accept(SEC.java:6592)
        at ru.ispras.redverst.frontend.se.c.TypeChecker.visitCompoundStatement(TypeChecker.java:7419)
        at ru.ispras.redverst.frontend.se.c.SEC$CompoundStatement.accept(SEC.java:6462)
        at ru.ispras.redverst.frontend.se.c.TypeChecker.checkFunctionBody(TypeChecker.java:3629)
        at ru.ispras.redverst.frontend.se.c.TypeChecker.visitFunctionDefinition(TypeChecker.java:4278)
        at ru.ispras.redverst.frontend.se.c.SEC$FunctionDefinition.accept(SEC.java:395)
        at ru.ispras.redverst.frontend.se.c.TypeChecker.visitTranslationUnit(TypeChecker.java:3801)
        at ru.ispras.redverst.frontend.se.c.SEC$TranslationUnit.accept(SEC.java:198)
        at ru.ispras.redverst.se.c.CheckAction.process(CheckAction.java:46)
        at ru.ispras.redverst.se.c.GenerateAction.process(GenerateAction.java:60)
        at com.unitesk.atp.tree.tool.Tool.process(Tool.java:144)
        at com.unitesk.atp.tree.tool.Tool.run(Tool.java:107)
        at ru.ispras.redverst.se.c.Main.singleSourceMain(Main.java:223)
        at ru.ispras.redverst.se.c.Main.main(Main.java:218)

Files

helpers.sei (64.3 KB) helpers.sei Alexey Khoroshilov, 10/20/2011 12:31 AM
Actions

Also available in: Atom PDF