Project

General

Profile

Actions

Bug #9209

closed

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

Added by Sergey Smolov over 6 years ago. Updated over 6 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

Actions #1

Updated by Sergey Smolov over 6 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)
Actions #2

Updated by Sergey Smolov over 6 years ago

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

Fixed in 9ea224d6

Actions #3

Updated by Sergey Smolov over 6 years ago

  • Assignee changed from Alexander Kamkin to Sergey Smolov
Actions #4

Updated by Sergey Smolov over 6 years ago

  • Status changed from Resolved to Verified
Actions #5

Updated by Sergey Smolov over 6 years ago

  • Status changed from Verified to Closed
Actions

Also available in: Atom PDF