Hey Pablo,
Thanks for taking a very detailed look at this! Based on your findings, I
believe that this issue has been resolved in the 2.0.1-SNAPSHOT code (there
was an issue where classes were being compared for equality by their hash
code, which is not correct. We've since switched to using the class name
and issues such as this one (where classes of the incorrect type show up in
odd places) seem to be resolved.
Again, I really appreciate you taking the time to dig into this problem for
us!
~Lincoln
On Thu, Feb 13, 2014 at 9:50 AM, Pablo Palazon <pablo.palazon(a)gmail.com>wrote:
Hey,
It was a strange error because there was an ClassNotFoundException
of org.jboss.forge.addon.ui.impl.input.InputComponentProducer, and I don't
know why. On forge bootstrap when UI addon is loading. All necessary jars
has been installed, included ui-impl-2.0.0.Final.jar
I deleted .forge directory and local maven repository of /org/jboss/forge,
and I installed another time Forge 2. The error was rid, but I don't know
why.
Thanks so much for your attention
On Wed, Feb 12, 2014 at 10:09 PM, Lincoln Baxter, III <
lincolnbaxter(a)gmail.com> wrote:
> 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/or...
>
> 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(a)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(a)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(a)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(a)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
>>>> [org.jboss.forge.addon.devtools.java.RegisterAsServiceCommand] 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(a)lists.jboss.org
>>>> >
https://lists.jboss.org/mailman/listinfo/forge-users
>>>>
>>>> _______________________________________________
>>>> forge-users mailing list
>>>> forge-users(a)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(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/forge-users
>>>
>>
>>
>> _______________________________________________
>> forge-users mailing list
>> forge-users(a)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(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/forge-users
>
_______________________________________________
forge-users mailing list
forge-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users