Project

General

Profile

Actions

Bug #6329

open

java.lang.NullPointerException at ru.ispras.microtesk.mmu.translator.MmuTreeWalkerBase.newAttributeRef(MmuTreeWalkerBase.java:940)

Added by Alexander Kamkin about 9 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Category:
MMU Plugin
Target version:
Start date:
10/07/2015
Due date:
% Done:

0%

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

Description

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)
Actions #1

Updated by Andrei Tatarnikov about 9 years ago

Cannot see why this happens. Added a little check. Need an example to reproduce the crash.

Actions #2

Updated by Andrei Tatarnikov about 9 years ago

Inserted an additional check.

The specification violated the requirement: address argument passed to a buffer must be a variable referring to a structure, whose type matches the type of the buffer's address parameter. It cannot be an expression since the result of an expression is a bit vector and not a structure.

Actions #3

Updated by Andrei Tatarnikov almost 9 years ago

Same stack as in Bug #6326.

Actions #4

Updated by Alexander Kamkin over 4 years ago

  • Category set to MMU Plugin
  • Assignee changed from Andrei Tatarnikov to Alexander Kamkin
  • Target version changed from 2.3 to 2.5
Actions #5

Updated by Alexander Protsenko over 1 year ago

  • Target version changed from 2.5 to 2.6
Actions

Also available in: Atom PDF