Project

General

Profile

Bug #9209

java.util.EmptyStackException at ru.ispras.verilog.parser.util.TokenSourceStack.getLastParentToken(TokenSourceStack.java:70)

Added by Sergey Smolov almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
08/11/2018
Due date:
% Done:

100%

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

Description

java.util.EmptyStackException
    at java.util.Stack.peek(Stack.java:102)
    at ru.ispras.verilog.parser.util.TokenSourceStack.getLastParentToken(TokenSourceStack.java:70)
    at ru.ispras.verilog.parser.util.TokenSourceStack.nextToken(TokenSourceStack.java:138)
    at org.antlr.runtime.BufferedTokenStream.fetch(BufferedTokenStream.java:143)
    at org.antlr.runtime.BufferedTokenStream.sync(BufferedTokenStream.java:137)
    at org.antlr.runtime.CommonTokenStream.setup(CommonTokenStream.java:137)
    at org.antlr.runtime.CommonTokenStream.LT(CommonTokenStream.java:94)
    at ru.ispras.verilog.parser.grammar.VerilogParser.startRule(VerilogParser.java:435)
    at ru.ispras.verilog.parser.VerilogFrontend.startParser(VerilogFrontend.java:230)
    at ru.ispras.verilog.parser.VerilogFrontend.startParser(VerilogFrontend.java:240)
    at ru.ispras.verilog.parser.VerilogFrontend.start(VerilogFrontend.java:265)
    at ru.ispras.verilog.parser.VerilogFrontend.start(VerilogFrontend.java:275)
    at ru.ispras.verilog.parser.VerilogTranslator.start(VerilogTranslator.java:162)
    at ru.ispras.verilog.parser.sample.VerilogPrinter.main(VerilogPrinter.java:45)
    at ru.ispras.verilog.parser.VerilogBenchmarkTest.runTest(VerilogBenchmarkTest.java:64)
    at ru.ispras.verilog.parser.VerilogBenchmarkTest.runTest(VerilogBenchmarkTest.java:50)

To reproduce the bug, run any of the following test cases:

ru.ispras.verilog.parser.VerilogVisVerilog2SmvTestCase.runTest_Miim_vMiim
ru.ispras.verilog.parser.VerilogVisVerilog2SmvTestCase.runTest_BufAI_bufferAlloc
ru.ispras.verilog.parser.VerilogVisVerilog2SmvTestCase.runTest_BufAI_buf_bug

History

#1

Updated by Sergey Smolov almost 2 years ago

  • Subject changed from java.util.EmptyStackException at at ru.ispras.verilog.parser.util.TokenSourceStack.getLastParentToken(TokenSourceStack.java:70) to java.util.EmptyStackException at ru.ispras.verilog.parser.util.TokenSourceStack.getLastParentToken(TokenSourceStack.java:70)
#2

Updated by Sergey Smolov almost 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

Fixed in 9ea224d6

#3

Updated by Sergey Smolov almost 2 years ago

  • Assignee changed from Alexander Kamkin to Sergey Smolov
#4

Updated by Sergey Smolov almost 2 years ago

  • Status changed from Resolved to Verified
#5

Updated by Sergey Smolov almost 2 years ago

  • Status changed from Verified to Closed

Also available in: Atom PDF