Note that there are some explanatory texts on larger screens.

plurals
  1. POError opening zip file or JAR manifest missing : C:/Program
    primarykey
    data
    text
    <pre><code>Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\ubiquibacon&gt;set GRAILS_HOME=C:\Program Files\GGTS\grails-2.0.4 JAVA_HOME=C:\Program Files\Java\jdk1.7.0_25 Path=C:\Program Files\Java\jdk1.7.0_25\bin;C:\Program Files\GGTS\grails-2.0.4\bin C:\Users\ubiquibacon&gt;grails Error opening zip file or JAR manifest missing : C:/Program Error occurred during initialization of VM agent library failed to init: instrument C:\Users\ubiquibacon&gt; </code></pre> <p>I have two main Grails project I work with. Project "A" is in production is developed with Grails 2.0.4 using Netbeans, project "B" is still a prototype and is developed with Grails 2.2.4 using <a href="http://grails.org/products/ggts" rel="nofollow noreferrer">GGTS</a>. I have a <code>.bat</code> script I run to quickly change my <code>GRAILS_HOME</code> and <code>PATH</code> variables when switching between the two versions of Grails. This worked well until I decided to play around and open project "A" in GGTS. I also recently upgraded Java from 1.6.0_18 x86 to 1.7.0_25 x64. Now something is preventing Grails 2.0.4 from running at all as can be seen from the posted command line output. My environment variables and path are correct, I have deleted the <code>.grails</code> directory, and I have restarted my computer, none of which have helped correct the problem.</p> <p>The first line of the error is curious because it appears to be looking in a non-existent path <code>C:\Program</code>. I wonder if the rest of the path may be getting hacked off because of a space <code>C:\Program Files\???</code> but that is just a thought.</p> <p>I have already tried all the answers to <a href="https://stackoverflow.com/questions/11145814/grails-2-0-4-error-opening-zip-file-or-jar-manifest-missing-springloaded">this</a> question, none of which helped solve my issue.</p> <p>Any guidance would be appreciated.</p> <p><strong>Update:</strong></p> <p>A work around listed in the JIRA issue <a href="http://jira.grails.org/browse/GRAILS-7936" rel="nofollow noreferrer">here</a> says to change line 60 of <code>startGrails.bat</code> from this:</p> <pre><code>set AGENT_STRING=-javaagent:%GRAILS_HOME:\=/%/lib/com.springsource.springloaded/springloaded-core/jars/springloaded-core-1.0.5.jar -noverify -Dspringloaded=profile=grails </code></pre> <p>to this:</p> <pre><code>set AGENT_STRING="-javaagent:%GRAILS_HOME:\=/%/lib/com.springsource.springloaded/springloaded-core/jars/springloaded-core-1.0.5.jar" -noverify -Dspringloaded=profile=grails </code></pre> <p>After doing that I get a new error:</p> <pre><code>C:\Users\westerhold&gt;grails Exception: java.lang.NumberFormatException thrown from the UncaughtExceptionHandler in thread "main" C:\Users\westerhold&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload