You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@click.apache.org by Ashish Gupta <as...@gmail.com> on 2009/11/11 07:19:38 UTC

Exception with ClickIDE in Eclipse3.4.1

Hi,
I have recently came to know about Click Framework and have decided to give
a try. I have downloded Click2.1.O and ClickIDE2.1.0.

I am using ClickIDE with Eclipse 3.4.1 but get NPE when trying to open
click.xml in Click Configuration Editor. Also get ClassCastException while
opening the *.htm file in Click Template Editor. Wondering whether I am
doing something wrong while installing ClickIDE plugin? Is there any
documenation on how to setup the ClickIDE in Eclipse?

Regards
Ashish

Re: Exception with ClickIDE in Eclipse3.4.1

Posted by Ashish Gupta <as...@gmail.com>.
Hi Bob, Nakoi,
Thanks for your suggestion. I will give a try and and revert back whether
the issue I am facing gets resolved.

Since both of you are also of similar opinion about the plugin management in
Eclipse, I am sure many other might also hold similar views. And maybe it is
time that something is done about it by the community. I wish I could take
up the initiative.

Thanks
Ashish

On Thu, Nov 19, 2009 at 9:56 AM, Naoki Takezoe <ta...@gmail.com> wrote:

> Hi Ashish,
>
> Eclipse plugin system is so complex and it causes problems
> sometimes.
>
> Try -clean option to run Eclipse if you get troubles about
> plugin management. It cleans plugin cache and reloads plugins.
>
> As Bob says, the easiest way to setup ClickIDE is using
> Eclipse for JavaEE Developers package and puts ClickIDE jars
> into plugins directory.
>
> Regards,
>
> 2009/11/18 Bob Schellink <sa...@gmail.com>:
>  > Hi Ashish,
> >
> > Yeah the Eclipse plugin system can get tricky. Are you using the JEE
> version
> > of Eclipse or have you installed WTP separately? If you in the fortunate
> > position you might want to give the JEE version a try:
> >
> > http://www.eclipse.org/downloads/packages/release/ganymede/sr2
> >
> > A new version of Click will be released in the next few weeks and we will
> > push out an Eclipse 3.5 compatible plugin soon after.
> >
> > kind regards
> >
> > bob
> >
> > Ashish Gupta wrote:
> >>
> >> Hi Nakoi,
> >> I am using WTP 3.0.1 version. And I created the project as per the
> >> instructions in http://incubator.apache.org/click/.
> >>  Unfortunately I removed the ide plugin and deleted the project. Now
> when
> >> I tried again, it seems eclipse is not picking the Click IDE plugin. I
> don't
> >> see Click as an option in the 'Project Facets'. I even tried reverting
> to
> >> previous configuration, but of little use. So I guess I am stuck with
> >> another problem. I hate this plugin management in eclipse. I wish
> eclipse
> >> provided a easier, cleaner way to uninstall a plugin.
> >>  Thanks
> >> Ashish
> >> On Tue, Nov 17, 2009 at 8:26 AM, Naoki Takezoe <takezoe@gmail.com
> >> <ma...@gmail.com>> wrote:
> >>
> >>    Hi Ashish,
> >>
> >>    Hmm... I can't guess your problem.
> >>    I tried ClickIDE 2.1.0 on Eclipse 3.4.1 but I didn't get these
> errors.
> >>
> >>    I need additional informations:
> >>
> >>    1) Which version of WTP are you using? or Ganymede for JavaEE
> >>    developers?
> >>    2) How did you create your project? (Create project using ClickIDE?)
> >>
> >>    Regards,
> >>
> >>    2009/11/14 Ashish Gupta <ashishgupta001@gmail.com
> >>    <ma...@gmail.com>>:
> >>     > Hi Nakoi,
> >>     > I am using ClickIDE with Click1.5. I was trying to the example as
> >>    in "Click
> >>     > Quick Start Guide".
> >>     > Please find the exception stack as atatchment.
> >>     >
> >>     > Thanks
> >>     > Ashish
> >>     >
> >>     > On Wed, Nov 11, 2009 at 11:49 AM, Ashish Gupta
> >>    <ashishgupta001@gmail.com <ma...@gmail.com>>
> >>     > wrote:
> >>     >>
> >>     >> Hi,
> >>     >> I have recently came to know about Click Framework and have
> >>    decided to
> >>     >> give a try. I have downloded Click2.1.O and ClickIDE2.1.0.
> >>     >>
> >>     >> I am using ClickIDE with Eclipse 3.4.1 but get NPE when trying
> >>    to open
> >>     >> click.xml in Click Configuration Editor. Also get
> >>    ClassCastException while
> >>     >> opening the *.htm file in Click Template Editor. Wondering
> >>    whether I am
> >>     >> doing something wrong while installing ClickIDE plugin? Is there
> >> any
> >>     >> documenation on how to setup the ClickIDE in Eclipse?
> >>     >>
> >>     >> Regards
> >>     >> Ashish
> >>     >
> >>
> >>
> >>
> >>    --
> >>    Naoki Takezoe
> >>
> >>
> >
> >
>
>
>
> --
> Naoki Takezoe
>

Re: Exception with ClickIDE in Eclipse3.4.1

Posted by Naoki Takezoe <ta...@gmail.com>.
Hi Ashish,

Eclipse plugin system is so complex and it causes problems
sometimes.

Try -clean option to run Eclipse if you get troubles about
plugin management. It cleans plugin cache and reloads plugins.

As Bob says, the easiest way to setup ClickIDE is using
Eclipse for JavaEE Developers package and puts ClickIDE jars
into plugins directory.

Regards,

2009/11/18 Bob Schellink <sa...@gmail.com>:
> Hi Ashish,
>
> Yeah the Eclipse plugin system can get tricky. Are you using the JEE version
> of Eclipse or have you installed WTP separately? If you in the fortunate
> position you might want to give the JEE version a try:
>
> http://www.eclipse.org/downloads/packages/release/ganymede/sr2
>
> A new version of Click will be released in the next few weeks and we will
> push out an Eclipse 3.5 compatible plugin soon after.
>
> kind regards
>
> bob
>
> Ashish Gupta wrote:
>>
>> Hi Nakoi,
>> I am using WTP 3.0.1 version. And I created the project as per the
>> instructions in http://incubator.apache.org/click/.
>>  Unfortunately I removed the ide plugin and deleted the project. Now when
>> I tried again, it seems eclipse is not picking the Click IDE plugin. I don't
>> see Click as an option in the 'Project Facets'. I even tried reverting to
>> previous configuration, but of little use. So I guess I am stuck with
>> another problem. I hate this plugin management in eclipse. I wish eclipse
>> provided a easier, cleaner way to uninstall a plugin.
>>  Thanks
>> Ashish
>> On Tue, Nov 17, 2009 at 8:26 AM, Naoki Takezoe <takezoe@gmail.com
>> <ma...@gmail.com>> wrote:
>>
>>    Hi Ashish,
>>
>>    Hmm... I can't guess your problem.
>>    I tried ClickIDE 2.1.0 on Eclipse 3.4.1 but I didn't get these errors.
>>
>>    I need additional informations:
>>
>>    1) Which version of WTP are you using? or Ganymede for JavaEE
>>    developers?
>>    2) How did you create your project? (Create project using ClickIDE?)
>>
>>    Regards,
>>
>>    2009/11/14 Ashish Gupta <ashishgupta001@gmail.com
>>    <ma...@gmail.com>>:
>>     > Hi Nakoi,
>>     > I am using ClickIDE with Click1.5. I was trying to the example as
>>    in "Click
>>     > Quick Start Guide".
>>     > Please find the exception stack as atatchment.
>>     >
>>     > Thanks
>>     > Ashish
>>     >
>>     > On Wed, Nov 11, 2009 at 11:49 AM, Ashish Gupta
>>    <ashishgupta001@gmail.com <ma...@gmail.com>>
>>     > wrote:
>>     >>
>>     >> Hi,
>>     >> I have recently came to know about Click Framework and have
>>    decided to
>>     >> give a try. I have downloded Click2.1.O and ClickIDE2.1.0.
>>     >>
>>     >> I am using ClickIDE with Eclipse 3.4.1 but get NPE when trying
>>    to open
>>     >> click.xml in Click Configuration Editor. Also get
>>    ClassCastException while
>>     >> opening the *.htm file in Click Template Editor. Wondering
>>    whether I am
>>     >> doing something wrong while installing ClickIDE plugin? Is there
>> any
>>     >> documenation on how to setup the ClickIDE in Eclipse?
>>     >>
>>     >> Regards
>>     >> Ashish
>>     >
>>
>>
>>
>>    --
>>    Naoki Takezoe
>>
>>
>
>



-- 
Naoki Takezoe

Re: Exception with ClickIDE in Eclipse3.4.1

Posted by Bob Schellink <sa...@gmail.com>.
Hi Ashish,

Yeah the Eclipse plugin system can get tricky. Are you using the JEE version of Eclipse or have you 
installed WTP separately? If you in the fortunate position you might want to give the JEE version a try:

http://www.eclipse.org/downloads/packages/release/ganymede/sr2

A new version of Click will be released in the next few weeks and we will push out an Eclipse 3.5 
compatible plugin soon after.

kind regards

bob

Ashish Gupta wrote:
> Hi Nakoi,
> I am using WTP 3.0.1 version. And I created the project as per the 
> instructions in http://incubator.apache.org/click/.
>  
> Unfortunately I removed the ide plugin and deleted the project. Now when 
> I tried again, it seems eclipse is not picking the Click IDE plugin. I 
> don't see Click as an option in the 'Project Facets'. I even tried 
> reverting to previous configuration, but of little use. So I guess I am 
> stuck with another problem. I hate this plugin management in eclipse. I 
> wish eclipse provided a easier, cleaner way to uninstall a plugin.
>  
> Thanks
> Ashish
> On Tue, Nov 17, 2009 at 8:26 AM, Naoki Takezoe <takezoe@gmail.com 
> <ma...@gmail.com>> wrote:
> 
>     Hi Ashish,
> 
>     Hmm... I can't guess your problem.
>     I tried ClickIDE 2.1.0 on Eclipse 3.4.1 but I didn't get these errors.
> 
>     I need additional informations:
> 
>     1) Which version of WTP are you using? or Ganymede for JavaEE
>     developers?
>     2) How did you create your project? (Create project using ClickIDE?)
> 
>     Regards,
> 
>     2009/11/14 Ashish Gupta <ashishgupta001@gmail.com
>     <ma...@gmail.com>>:
>      > Hi Nakoi,
>      > I am using ClickIDE with Click1.5. I was trying to the example as
>     in "Click
>      > Quick Start Guide".
>      > Please find the exception stack as atatchment.
>      >
>      > Thanks
>      > Ashish
>      >
>      > On Wed, Nov 11, 2009 at 11:49 AM, Ashish Gupta
>     <ashishgupta001@gmail.com <ma...@gmail.com>>
>      > wrote:
>      >>
>      >> Hi,
>      >> I have recently came to know about Click Framework and have
>     decided to
>      >> give a try. I have downloded Click2.1.O and ClickIDE2.1.0.
>      >>
>      >> I am using ClickIDE with Eclipse 3.4.1 but get NPE when trying
>     to open
>      >> click.xml in Click Configuration Editor. Also get
>     ClassCastException while
>      >> opening the *.htm file in Click Template Editor. Wondering
>     whether I am
>      >> doing something wrong while installing ClickIDE plugin? Is there any
>      >> documenation on how to setup the ClickIDE in Eclipse?
>      >>
>      >> Regards
>      >> Ashish
>      >
> 
> 
> 
>     --
>     Naoki Takezoe
> 
> 


Re: Exception with ClickIDE in Eclipse3.4.1

Posted by Ashish Gupta <as...@gmail.com>.
Hi Nakoi,
I am using WTP 3.0.1 version. And I created the project as per the
instructions in http://incubator.apache.org/click/.

Unfortunately I removed the ide plugin and deleted the project. Now when I
tried again, it seems eclipse is not picking the Click IDE plugin. I don't
see Click as an option in the 'Project Facets'. I even tried reverting to
previous configuration, but of little use. So I guess I am stuck with
another problem. I hate this plugin management in eclipse. I wish eclipse
provided a easier, cleaner way to uninstall a plugin.

Thanks
Ashish
On Tue, Nov 17, 2009 at 8:26 AM, Naoki Takezoe <ta...@gmail.com> wrote:

> Hi Ashish,
>
> Hmm... I can't guess your problem.
> I tried ClickIDE 2.1.0 on Eclipse 3.4.1 but I didn't get these errors.
>
> I need additional informations:
>
> 1) Which version of WTP are you using? or Ganymede for JavaEE developers?
> 2) How did you create your project? (Create project using ClickIDE?)
>
> Regards,
>
> 2009/11/14 Ashish Gupta <as...@gmail.com>:
>  > Hi Nakoi,
> > I am using ClickIDE with Click1.5. I was trying to the example as in
> "Click
> > Quick Start Guide".
> > Please find the exception stack as atatchment.
> >
> > Thanks
> > Ashish
> >
> > On Wed, Nov 11, 2009 at 11:49 AM, Ashish Gupta <ashishgupta001@gmail.com
> >
> > wrote:
> >>
> >> Hi,
> >> I have recently came to know about Click Framework and have decided to
> >> give a try. I have downloded Click2.1.O and ClickIDE2.1.0.
> >>
> >> I am using ClickIDE with Eclipse 3.4.1 but get NPE when trying to open
> >> click.xml in Click Configuration Editor. Also get ClassCastException
> while
> >> opening the *.htm file in Click Template Editor. Wondering whether I am
> >> doing something wrong while installing ClickIDE plugin? Is there any
> >> documenation on how to setup the ClickIDE in Eclipse?
> >>
> >> Regards
> >> Ashish
> >
>
>
>
> --
> Naoki Takezoe
>

Re: Exception with ClickIDE in Eclipse3.4.1

Posted by Naoki Takezoe <ta...@gmail.com>.
Hi Ashish,

Hmm... I can't guess your problem.
I tried ClickIDE 2.1.0 on Eclipse 3.4.1 but I didn't get these errors.

I need additional informations:

1) Which version of WTP are you using? or Ganymede for JavaEE developers?
2) How did you create your project? (Create project using ClickIDE?)

Regards,

2009/11/14 Ashish Gupta <as...@gmail.com>:
> Hi Nakoi,
> I am using ClickIDE with Click1.5. I was trying to the example as in "Click
> Quick Start Guide".
> Please find the exception stack as atatchment.
>
> Thanks
> Ashish
>
> On Wed, Nov 11, 2009 at 11:49 AM, Ashish Gupta <as...@gmail.com>
> wrote:
>>
>> Hi,
>> I have recently came to know about Click Framework and have decided to
>> give a try. I have downloded Click2.1.O and ClickIDE2.1.0.
>>
>> I am using ClickIDE with Eclipse 3.4.1 but get NPE when trying to open
>> click.xml in Click Configuration Editor. Also get ClassCastException while
>> opening the *.htm file in Click Template Editor. Wondering whether I am
>> doing something wrong while installing ClickIDE plugin? Is there any
>> documenation on how to setup the ClickIDE in Eclipse?
>>
>> Regards
>> Ashish
>



-- 
Naoki Takezoe

Re: Exception with ClickIDE in Eclipse3.4.1

Posted by Ashish Gupta <as...@gmail.com>.
Hi Nakoi,
I am using ClickIDE with Click1.5. I was trying to the example as in "Click
Quick Start Guide".
Please find the exception stack as atatchment.

Thanks
Ashish

On Wed, Nov 11, 2009 at 11:49 AM, Ashish Gupta <as...@gmail.com>wrote:

> Hi,
> I have recently came to know about Click Framework and have decided to give
> a try. I have downloded Click2.1.O and ClickIDE2.1.0.
>
> I am using ClickIDE with Eclipse 3.4.1 but get NPE when trying to open
> click.xml in Click Configuration Editor. Also get ClassCastException while
> opening the *.htm file in Click Template Editor. Wondering whether I am
> doing something wrong while installing ClickIDE plugin? Is there any
> documenation on how to setup the ClickIDE in Eclipse?
>
> Regards
> Ashish
>

Re: Exception with ClickIDE in Eclipse3.4.1

Posted by Naoki Takezoe <ta...@gmail.com>.
Hi Ashish,

ClickIDE is sure to work with Eclipse 3.4.
The simple documentation is here:
http://incubator.apache.org/click/docs/click-ide.html

However ClickIDE 2.1.0 supports only Click 1.5.x  which are
released from SF.net.

So the current version of ClickIDE can't work for Apache Click.
The ClickIDE which supports Apache Click is only in SVN trunk.
It's not released yet.

If you are using ClickIDE 2.1.0 with Click 1.5.x, it might be a bug.
Anyway, Could you send your stack trace?

Regards,

2009/11/11 Ashish Gupta <as...@gmail.com>:
> Hi,
> I have recently came to know about Click Framework and have decided to give
> a try. I have downloded Click2.1.O and ClickIDE2.1.0.
>
> I am using ClickIDE with Eclipse 3.4.1 but get NPE when trying to open
> click.xml in Click Configuration Editor. Also get ClassCastException while
> opening the *.htm file in Click Template Editor. Wondering whether I am
> doing something wrong while installing ClickIDE plugin? Is there any
> documenation on how to setup the ClickIDE in Eclipse?
>
> Regards
> Ashish



-- 
Naoki Takezoe