Project

General

Profile

Actions

Bug #10747

open

Переопределение define_section_text (в соответствии с microtesk-2.5-user-guide-ru)

Added by Alexander Protsenko almost 4 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Category:
Template Processor
Target version:
Start date:
03/11/2021
Due date:
% Done:

0%

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

Description

def define_section_text
  section_text(:prefix => '#', :pa => 0x0) {}
end
  def pre
    ################################################################################################

    define_section_text
  ...
end

Ошибка:

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

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

Exception stack:

java.lang.IllegalArgumentException
    at ru.ispras.fortress.util.InvariantChecks.checkTrue(ru/ispras/fortress/util/InvariantChecks.java:54)
    at ru.ispras.fortress.util.InvariantChecks.checkTrue(ru/ispras/fortress/util/InvariantChecks.java:38)
    at ru.ispras.microtesk.model.memory.Section.<init>(ru/ispras/microtesk/model/memory/Section.java:61)
    at ru.ispras.microtesk.test.template.Template.beginSectionText(ru/ispras/microtesk/test/template/Template.java:1264)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Если определить ":va => 0x0" ошибки не будет.

(Нужна корректная диагностика, как минимум.)

Actions #1

Updated by Alexander Protsenko almost 2 years ago

  • Target version changed from 2.5 to 2.6
Actions

Also available in: Atom PDF