6 Replies Latest reply on Apr 28, 2014 11:34 PM by lincolnthree

    Forge 2.5.0.Final project-new failure

    gerry.matte

      Hello.

      I've downloaded and expanded the offline distribution of 2.5.0.Final as repaired this date.

      I attempted to to create a new project by entering into the forge console (in a DOS window) the command

      project-new --named par --topLevelPackage ca.gerrymatte.par

       

      Although the folders for a project named par seem to have been created, they are all empty.

      And the error message below was received:

      Microsoft Windows [Version 6.1.7601]

      Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

       

      C:\Users\Gerry\Documents\$develop\$code>forge

       

          _____

         |  ___|__  _ __ __ _  ___

         | |_ / _ \| `__/ _` |/ _ \  \\

         |  _| (_) | | | (_| |  __/  //

         |_|  \___/|_|  \__, |\___|

                         |___/

       

      JBoss Forge, version [ 2.5.0.Final ] - JBoss, by Red Hat, Inc. [ http://forge.jboss.org ]

       

      [$code]$ project-new --named par --topLevelPackage ca.gerrymatte.par

      #

      # A fatal error has been detected by the Java Runtime Environment:

      #

      #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77a771b8, pid=10276, tid=8432

      #

      # JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)

      # Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode, sharing windows-x86 )

      # Problematic frame:

      # C  [ntdll.dll+0x371b8]

      #

      # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

      #

      # An error report file with more information is saved as:

      # C:\Users\Gerry\Documents\$develop\$code\hs_err_pid10276.log

      #

      # If you would like to submit a bug report, please visit:

      #   http://bugreport.sun.com/bugreport/crash.jsp

      #

      C:\Users\Gerry\Documents\$develop\$code>

       

      I've attached the error report file and also the pom.xml that was created in the par folder.

      Please advise if I can supply additional info.

      Thanks

      Gerry

        • 1. Re: [forge-users] Forge 2.5.0.Final project-new failure
          gastaldi

          Wow! That's a tough one. Is it always reproducible?

           

          On 28-04-2014 15:53, forge-users@lists.jboss.org wrote:

          Hello.

          I've downloaded and expanded the offline distribution of 2.5.0.Final as repaired this date.

          I attempted to to create a new project by entering into the forge console (in a DOS window) the command

          project-new --named par --topLevelPackage ca.gerrymatte.par

           

          Although the folders for a project named par seem to have been created, they are all empty.

          And the error message below was received:

          Microsoft Windows

          Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

           

          C:\Users\Gerry\Documents\$develop\$code>forge

           

               _____

              |  ___|__  _ __ __ _  ___

              | |_ / _ \| `__/ _` |/ _ \ 

              |  | () | | | (_| |  __/  //

              |_|  \___/|_|  \__, |\___|

                              |___/

           

          JBoss Forge, version - JBoss, by Red Hat, Inc. http://forge.jboss.org

           

          $ project-new --named par --topLevelPackage ca.gerrymatte.par

          #

          1. A fatal error has been detected by the Java Runtime Environment:

          #

          1. EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77a771b8, pid=10276, tid=8432

          #

          1. JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)

          2. Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode, sharing windows-x86 )

          3. Problematic frame:

          #

          1. Failed to write core dump. Minidumps are not enabled by default on client versions of Windows

          #

          1. An error report file with more information is saved as:

          2. C:\Users\Gerry\Documents\$develop\$code\hs_err_pid10276.log

          #

          1. If you would like to submit a bug report, please visit:

          2.   http://bugreport.sun.com/bugreport/crash.jsp

          #

          C:\Users\Gerry\Documents\$develop\$code>

           

          I've attached the error report file and also the pom.xml that was created in the par folder.

          Please advise if I can supply additional info.

          Thanks

          Gerry

           

          Posted by forums

          Original post: https://community.jboss.org/message/871317#871317

           

          >

          _______________________________________________

          forge-users mailing list

          forge-users@lists.jboss.org

          https://lists.jboss.org/mailman/listinfo/forge-users

           

           

          • 2. Re: Forge 2.5.0.Final project-new failure
            gerry.matte

            I tried again to create a new project - this time I decided to let forge prompt me for parameters which it did.

            After I responded to the prompt for a project name, the jvm threw an exception (popup window) which killed my forge session when closed.

            (See the attached screen image).

             

            This time, there was no error log produced and no indication of why java stopped working.

             

            I've also attached a screen image of the folder tree produced by forge just before the jvm died.

             

            This should be a very easy reproducible error.  I will find another win7 PC and try it on that machine also.

            Gerry

            forge2.5.0-project-new.png

            forge2.5.0-project-new-foldersAfter.png

            • 3. Re: [forge-users] Forge 2.5.0.Final project-new failure
              gastaldi

              Can you update to JDK 1.7.55 and tell if this error keeps happening?

              Also try to increase your Xmx settings in the eclipse.ini file.

               

              On 28-04-2014 19:47, forge-users@lists.jboss.org wrote:

              I tried again to create a new project - this time I decided to let forge prompt me for parameters which it did.

              After I responded to the prompt for a project name, the jvm threw an exception (popup window) which killed my forge session when closed.

              (See the attached screen image).

               

              This time, there was no error log produced and no indication of why java stopped working.

               

              I've also attached a screen image of the folder tree produced by forge just before the jvm died.

               

              This should be a very easy reproducible error.  I will find another win7 PC and try it on that machine also.

              Gerry

                Image:forge2.5.0-project-new.png

                Image:forge2.5.0-project-new-foldersAfter.png

               

              Posted by forums

              Original post: https://community.jboss.org/message/871353#871353

               

              _______________________________________________

              forge-users mailing list

              forge-users@lists.jboss.org

              https://lists.jboss.org/mailman/listinfo/forge-users

               

              _______________________________________________

              forge-users mailing list

              forge-users@lists.jboss.org

              https://lists.jboss.org/mailman/listinfo/forge-users

               

              • 4. Re: Forge 2.5.0.Final project-new failure
                gerry.matte

                Ok.

                Now I'm flumoxed.

                On my wife's PC which has the exact same build of java and is also a 64 bit windows 7 machine the project-new command executed with no errors or exceptions.

                It was interesting to note that the folders and files produced on both machines were identical.

                I'm now of the opinion that the error was thrown by forge at the last step as it tried to change to the new project's folder .....

                 

                I may have to re-install java on my pc in case it has been corrupted.  Given the error message I may have an issue with security and permissions on my pc......

                sigh ....

                • 5. Re: Forge 2.5.0.Final project-new failure
                  gerry.matte

                  Ok.

                  I uninstalled java 1.7.0_51-b13 and installed the latest java version 1.7.0_55-b13.

                  I also discovered that my network connection had lost it's DNS server specifications and my MS Outlook files had become corrupted again.

                   

                  The good news is that after repairing those problems I am now able to run the forge project-new command with no errors.

                  For anyone looking at this post with concerns, I suspect the problems I experienced were related to a sick PC not to any problems with forge 2.

                  • 6. Re: [forge-users] Forge 2.5.0.Final project-new failure
                    lincolnthree

                    Interesting! That's very good news. I do wonder how Java would get

                    corrupted, as such - but it sounds like you found the root cause and

                    hopefully this helps others in the same situation. Thanks for sticking it

                    out! JVM crashes are ... usually not the application's fault but also

                    very disturbing.

                     

                     

                    On Mon, Apr 28, 2014 at 11:17 PM, <forge-users@lists.jboss.org> wrote:

                     

                    Ok.

                    I uninstalled java 1.7.0_51-b13 and installed the latest java version

                    1.7.0_55-b13.

                    I also discovered that my network connection had lost it's DNS server

                    specifications and my MS Outlook files had become corrupted again.

                     

                    The good news is that after repairing those problems I am now able to run

                    the forge project-new command with no errors.

                    For anyone looking at this post with concerns, I suspect the problems I

                    experienced were related to a sick PC not to any problems with forge 2.

                     

                    Posted by forums

                    Original post: https://community.jboss.org/message/871377#871377

                    _______________________________________________

                    forge-users mailing list

                    forge-users@lists.jboss.org

                    https://lists.jboss.org/mailman/listinfo/forge-users

                     

                     

                     

                     

                    --

                    Lincoln Baxter, III

                    http://ocpsoft.org

                    "Simpler is better."