org.apache.velocity.runtime.directive.MacroParseException: Invalid arg #0 in directive #MY_DIR

velocity-user | Evgeny Ryabitskiy | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Custom directive parameters without quotes

    velocity-user | 7 years ago | Evgeny Ryabitskiy
    org.apache.velocity.runtime.directive.MacroParseException: Invalid arg #0 in directive #MY_DIR
  2. 0

    Re: Custom directive parameters without quotes

    velocity-user | 7 years ago | bluejoe2008
    org.apache.velocity.runtime.directive.MacroParseException: Invalid arg #0 in directive #MY_DIR
  3. 0

    Custom directive parameters without quotes

    velocity-user | 7 years ago | Evgeny Ryabitskiy
    org.apache.velocity.runtime.directive.MacroParseException: Invalid arg #0 in directive #MY_DIR
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Custom directive parameters without quotes

    velocity-user | 7 years ago | bluejoe2008
    org.apache.velocity.runtime.directive.MacroParseException: Invalid arg #0 in directive #MY_DIR
  6. 0

    Re: Custom directive parameters without quotes

    velocity-user | 7 years ago | Evgeny Ryabitskiy
    org.apache.velocity.runtime.directive.MacroParseException: Invalid arg #0 in directive #MY_DIR

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.velocity.runtime.directive.MacroParseException

      Invalid arg #0 in directive #MY_DIR

      at org.apache.velocity.runtime.parser.Parser.Directive()
    2. Apache Velocity
      RuntimeInstance.parse
      1. org.apache.velocity.runtime.parser.Parser.Directive(Parser.java:802)
      2. org.apache.velocity.runtime.parser.Parser.Statement(Parser.java:373)
      3. org.apache.velocity.runtime.parser.Parser.process(Parser.java:311)
      4. org.apache.velocity.runtime.parser.Parser.parse(Parser.java:105)
      5. org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:1131)
      6. org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:1086)
      6 frames
    3. ru.diasoft.fa
      MacrosProcessorTest.testNoLockDirective3
      1. ru.diasoft.fa.dsutils.macro.MacrosProcessor.processTemplate(MacrosProcessor.java:53)
      2. ru.diasoft.fa.dsutils.macro.MacrosProcessorTest.testNoLockDirective3(MacrosProcessorTest.java:30)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. JUnit
      JUnit38ClassRunner.run
      1. junit.framework.TestCase.runTest(TestCase.java:168)
      2. junit.framework.TestCase.runBare(TestCase.java:134)
      3. junit.framework.TestResult$1.protect(TestResult.java:110)
      4. junit.framework.TestResult.runProtected(TestResult.java:128)
      5. junit.framework.TestResult.run(TestResult.java:113)
      6. junit.framework.TestCase.run(TestCase.java:124)
      7. junit.framework.TestSuite.runTest(TestSuite.java:232)
      8. junit.framework.TestSuite.run(TestSuite.java:227)
      9. org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
      9 frames
    6. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
      1 frame
    7. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      5 frames