Project

General

Profile

Actions

Bug #6326

closed

If an nml file contains no operations, translation fails with NPE

Added by Alexander Kamkin about 9 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Andrei Tatarnikov
Category:
-
Target version:
Start date:
10/06/2015
Due date:
% Done:

0%

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

Description

Total time: 0 seconds
Translating: xxx.nml
Model name: xxx
Included: xxx.nml
Error: FAILED TO SYNTHESIZE INFORMATION ON DESCRIBED OPERATIONS. TRANSLATION WAS INTERRUPTED.
Translating: xxx.mmu
Model name: xxx

Included: xxx.mmu

xxx.nml 0:0 ERROR (EMITTER): "The operation list is empty. No information to be analyzed." 
java.lang.NullPointerException
    at ru.ispras.microtesk.mmu.translator.MmuTreeWalkerBase.newAttributeRef(MmuTreeWalkerBase.java:940)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.attributeRef(MmuTreeWalker.java:2082)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.variableAtom(MmuTreeWalker.java:3705)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.variableBitfield(MmuTreeWalker.java:3570)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.variableConcat(MmuTreeWalker.java:3454)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.variable(MmuTreeWalker.java:3365)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.atom(MmuTreeWalker.java:3219)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.expr(MmuTreeWalker.java:2175)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.assignmentStmt(MmuTreeWalker.java:1658)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.statement(MmuTreeWalker.java:1499)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.sequence(MmuTreeWalker.java:1391)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.mmu(MmuTreeWalker.java:1317)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.declaration(MmuTreeWalker.java:342)
    at ru.ispras.microtesk.mmu.translator.grammar.MmuTreeWalker.startRule(MmuTreeWalker.java:205)
    at ru.ispras.microtesk.mmu.translator.MmuTranslator.start(MmuTranslator.java:138)
    at ru.ispras.microtesk.translator.Translator.start(Translator.java:97)
    at ru.ispras.microtesk.MicroTESK.translate(MicroTESK.java:141)
    at ru.ispras.microtesk.MicroTESK.main(MicroTESK.java:74)

BUILD FAILED
Actions

Also available in: Atom PDF