Actions
Bug #6326
closedIf an nml file contains no operations, translation fails with NPE
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
Updated by Andrei Tatarnikov about 9 years ago
Cannot reproduce. Need an example.
Updated by Andrei Tatarnikov almost 9 years ago
Need a an example. "If an nml file contains no operations, translation fails with NPE" is not enough. I deleted all operations from minimips.nml, but the translator does not crash. If this does not happen any longer, the issue must be closed.
Updated by Alexander Kamkin almost 5 years ago
- Status changed from New to Closed
Actions