Project

General

Profile

Bug #10649

(let) java.lang.NullPointerException: null

Added by Alexander Protsenko 5 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Category:
nML Translator
Target version:
Start date:
12/28/2020
Due date:
% Done:

0%

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

Description

********************************************************************************
ATTENTION! An unexpected error has occurred:
java.lang.NullPointerException: null

The program will be terminated. Please contact us at: 
microtesk-support@ispras.ru
We are sorry for the inconvenience.

Exception stack:

java.lang.NullPointerException
    at ru.ispras.microtesk.translator.nml.antlrex.LocationFactory.location(LocationFactory.java:67)
    at ru.ispras.microtesk.translator.nml.grammar.NmlTreeWalker.locationAtom(NmlTreeWalker.java:5984)
    at ru.ispras.microtesk.translator.nml.grammar.NmlTreeWalker.locationVal(NmlTreeWalker.java:5846)
    at ru.ispras.microtesk.translator.nml.grammar.NmlTreeWalker.locationExpr(NmlTreeWalker.java:5725)
    at ru.ispras.microtesk.translator.nml.grammar.NmlTreeWalker.atom(NmlTreeWalker.java:5213)
    at ru.ispras.microtesk.translator.nml.grammar.NmlTreeWalker.numExpr(NmlTreeWalker.java:4471)
    at ru.ispras.microtesk.translator.nml.grammar.NmlTreeWalker.expr(NmlTreeWalker.java:4123)
    at ru.ispras.microtesk.translator.nml.grammar.NmlTreeWalker.constExpr(NmlTreeWalker.java:3887)
    at ru.ispras.microtesk.translator.nml.grammar.NmlTreeWalker.letExpr(NmlTreeWalker.java:549)
    at ru.ispras.microtesk.translator.nml.grammar.NmlTreeWalker.letDef(NmlTreeWalker.java:499)
    at ru.ispras.microtesk.translator.nml.grammar.NmlTreeWalker.procSpec(NmlTreeWalker.java:400)
    at ru.ispras.microtesk.translator.nml.grammar.NmlTreeWalker.startRule(NmlTreeWalker.java:293)
    at ru.ispras.microtesk.translator.nml.NmlTranslator.startParserAndWalker(NmlTranslator.java:181)
    at ru.ispras.microtesk.translator.nml.NmlTranslator.start(NmlTranslator.java:126)
    at ru.ispras.microtesk.translator.Translator.translate(Translator.java:201)
    at ru.ispras.microtesk.MicroTESK.translate(MicroTESK.java:150)
    at ru.ispras.microtesk.MicroTESK.runTask(MicroTESK.java:142)
    at ru.ispras.microtesk.MicroTESK.main(MicroTESK.java:80)

********************************************************************************

Нужна адекватная диагностика.

Код, вызывающий это:

let NULL_POINTER = NULL_POINTER2
let NULL_POINTER2 = 0x1

Also available in: Atom PDF