Project

General

Profile

Actions

Bug #8697

closed

Type mismatch in an mmu file causes NullPointerException

Added by Alexander Kamkin almost 7 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Tatarnikov
Category:
MMU Plugin
Target version:
Start date:
01/30/2018
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

java.lang.NullPointerException
    at ru.ispras.fortress.expression.Node.getDataTypeId(Node.java:121)
    at ru.ispras.fortress.expression.Node.isType(Node.java:133)
    at ru.ispras.microtesk.mmu.translator.MmuTreeWalkerBase.newAssignment(MmuTreeWalkerBase.java:1322)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.assignmentStmt(MmuTreeWalker.java:1656)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.statement(MmuTreeWalker.java:1504)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.sequence(MmuTreeWalker.java:1401)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.mmu(MmuTreeWalker.java:1338)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.declaration(MmuTreeWalker.java:403)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.startRule(MmuTreeWalker.java:250)
    at ru.ispras.microtesk.mmu.translator.MmuTranslator.start(MmuTranslator.java:124)
    at ru.ispras.microtesk.translator.Translator.translate(Translator.java:201)
    at ru.ispras.microtesk.MicroTESK.translate(MicroTESK.java:162)
    at ru.ispras.microtesk.MicroTESK.runTask(MicroTESK.java:135)
    at ru.ispras.microtesk.MicroTESK.main(MicroTESK.java:73)

Files

type_mismatch_test.mmu (351 Bytes) type_mismatch_test.mmu Alexander Kamkin, 01/30/2018 05:36 PM
Actions #1

Updated by Alexander Kamkin almost 5 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF