3 Replies Latest reply on Feb 13, 2014 11:31 AM by Lincoln Baxter III

    Re: [forge-users] Forge 2. Exception when parsing/running

    Lincoln Baxter III Master

      Hey Pablo,

       

      Do you have the Forge 2 source code checked out? If so, could you do me a

      favor? Make sure you have this project in your eclipse/IDE workspace:

       

      https://github.com/forge/furnace-simple

       

      Start forge with `forge --debug` and attach the debugger via the

      instructions here:

       

      http://forge.jboss.org/docs/using/debugging-forge.html

       

      Set a breakpoint in this class:

       

      https://github.com/forge/furnace-simple/blob/master/impl/src/main/java/org/jboss/forge/furnace/container/simple/impl/SimpleExportedInstanceImpl.java#L53

       

      Then run the 'ls' command and your breakpoint should be hit. Could you find

      the exception there and tell us as much as possible about what is going on?

       

      I know this is a lot, but I can't reproduce this issue locally.

       

      Thanks! This would be a BIG help.

       

      ~Lincoln

       

       

      On Wed, Feb 12, 2014 at 1:36 PM, Pablo Palazon <pablo.palazon@gmail.com>wrote:

       

      Hi again,

       

      That's the log with debug log level when I execute ls command, and produce

      the error.

       

      http://paste2.org/ze4EeJUD

       

      Thanks

       

      >

      On Wed, Feb 12, 2014 at 5:52 PM, Lincoln Baxter, III <

      lincolnbaxter@gmail.com> wrote:

       

      >> Pablo,

      >>

      >> Could you also paste the results of "forge --list" from the command line

      >> (while forge is NOT running.) This should let us know what version of

      >> addons you are running. Thank you!

      >>

      >> ~Lincoln

      >>

      >>

      >> On Wed, Feb 12, 2014 at 8:15 AM, George Gastaldi <ggastald@redhat.com>wrote:

      >>

      >>> Hi Pablo.

      >>>

      >>> Does it happen everytime? Could you paste2.org your logs in

      >>> ~/.forge/logs/?

      >>>

      >>> Thanks

      >>>

      >>> > Em 12/02/2014, às 08:24, Pablo Palazon <pablo.palazon@gmail.com>

      >>> escreveu:

      >>> >

      >>> > Hi forge users,

      >>> >

      >>> > I'm using Forge 2.0.0.Final, and I have some problems with command

      >>> execution on forge CLI. When I execute any command, for example 'ls', I

      >>> have this reply:

      >>> >

      >>> > Exception when parsing/running: ls, Could not create instance of

      >>> through

      >>> reflection.

      >>> >

      >>> > That's my environment vars

      >>> >

      >>> > Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a;

      >>> 2013-09-17 17:22:22+0200)

      >>> > Maven home: /proyectos/javatools/apache-maven/apache-maven-3.1.1

      >>> > Java version: 1.7.0_51, vendor: Oracle Corporation

      >>> > Java home: /opt/java/jdk1.7.0_51/jre

      >>> > Default locale: en_US, platform encoding: UTF-8

      >>> > OS name: "linux", version: "3.8.0-33-generic", arch: "amd64", family:

      >>> "unix"

      >>> >

      >>> > Thanks so much in advance.

      >>> > _______________________________________________

      >>> > 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

      >>

      >>

      >>

      >>

      >> --

      >> Lincoln Baxter, III

      >> http://ocpsoft.org

      >> "Simpler is better."

      >>

      >> _______________________________________________

      >> 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

       

       

       

       

      --

      Lincoln Baxter, III

      http://ocpsoft.org

      "Simpler is better."