You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rave.apache.org by Jasha Joachimsthal <j....@onehippo.com> on 2011/06/20 15:49:26 UTC

Re: Problem running Rave: java.lang.IllegalAccessError

On 20 June 2011 15:34, Scott Wilson <sc...@gmail.com> wrote:

>
> On 20 Jun 2011, at 12:26, Ate Douma wrote:
>
> > On 06/20/2011 10:45 AM, Scott Wilson wrote:
> >> Hi everyone,
> >>
> >> When I use the instructions here to start Rave:
> >>
> >> http://incubator.apache.org/rave/source.html
> >>
> >> The portal starts up fine, and I can log in, but then I get a 500 error
> which seems to be thrown by this:
> >>
> >> [WARNING] [talledLocalContainer] SEVERE: Servlet.service() for servlet
> jsonRpcServlet threw exception
> >> [WARNING] [talledLocalContainer] java.lang.IllegalAccessError: tried to
> access method
> org.apache.shindig.common.util.HashUtil.getMessageDigest()Ljava/security/MessageDigest;
> from class
> org.apache.shindig.gadgets.servlet.ETaggingHttpResponse$BufferServletOutputStream
> >>
> >> Any ideas?
> >
> > Hmm, no. I cannot reproduce it.
> > Can you be more specific on which interaction this occurs, or is this
> immediately after the login itself, e.g. first render of the home page?
> >
> > Which also would be good to know is what browser/version you encountered
> this with.
>
> Yes, first render of the home page after login.
>
> This happens on Mac OS X, with Firefox, Opera, Safari and Chrome.
>
> So I'm doing:
>
> cd [rave-master]
> mvn install
> cd [rave-project]
> mvn install
> cd [rave-portal]
> mvn cargo:start
>
> I'm using Maven 3.0.2 on Java 1.6.0-24 on Mac 10.6.7
>
>
That's almost identical to my system (Maven 3.0.3 instead of 3.0.2) but no
problems here. Did you do the mvn install after a clean checkout or after an
update? In case of an update, try mvn clean install.


Jasha Joachimsthal

Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466
US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)

www.onehippo.com

Re: Problem running Rave: java.lang.IllegalAccessError

Posted by Scott Wilson <sc...@gmail.com>.
On 20 Jun 2011, at 16:17, Jasha Joachimsthal wrote:

> On 20 June 2011 17:06, Scott Wilson <sc...@gmail.com> wrote:
> 
>> On 20 Jun 2011, at 14:58, Marlon Pierce wrote:
>> 
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>> 
>>> I also can't reproduce the problem. I have a similar environment (and
>> used maven 3.0.2). I moved my old .m2 out of the way and did a completely
>> clean build.  I successfully logged in as john.doe, canonical, and jane.doe.
>>> 
>>> 
>>> Scott, what user name are you using?
>> 
>> I've been using canonical as the user name, but the other usernames have
>> the same effect.
>> 
>> Jasha - its an update; I've tried mvn clean install but the same result.
>> 
>> Looks like I'll probably have to delete and reinstall a clean version.
>> 
>> Incidentally, I also see this in the console:
>> 
>> [WARNING] [talledLocalContainer] SEVERE: Error configuring application
>> listener of class
>> org.apache.shindig.common.servlet.GuiceServletContextListener
>> [WARNING] [talledLocalContainer] java.lang.ClassNotFoundException:
>> org.apache.shindig.common.servlet.GuiceServletContextListener
>> 
>> 
>> 
> That class should be inside shindig-common. Maybe your local version of that
> jar is corrupt. Try deleting the jars (or entire directory) under
> ~/.m2/repository/org/apache/shindig/shindig-common
> and rebuild Rave.

Yes - that was it - I must have had a corrupt shindig jar. Thanks Jasha.

All works now :-)

> 
> Jasha Joachimsthal
> 
> Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466
> US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)
> 
> www.onehippo.com


Re: Problem running Rave: java.lang.IllegalAccessError

Posted by Jasha Joachimsthal <j....@onehippo.com>.
On 20 June 2011 17:06, Scott Wilson <sc...@gmail.com> wrote:

> On 20 Jun 2011, at 14:58, Marlon Pierce wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I also can't reproduce the problem. I have a similar environment (and
> used maven 3.0.2). I moved my old .m2 out of the way and did a completely
> clean build.  I successfully logged in as john.doe, canonical, and jane.doe.
> >
> >
> > Scott, what user name are you using?
>
> I've been using canonical as the user name, but the other usernames have
> the same effect.
>
> Jasha - its an update; I've tried mvn clean install but the same result.
>
> Looks like I'll probably have to delete and reinstall a clean version.
>
> Incidentally, I also see this in the console:
>
> [WARNING] [talledLocalContainer] SEVERE: Error configuring application
> listener of class
> org.apache.shindig.common.servlet.GuiceServletContextListener
> [WARNING] [talledLocalContainer] java.lang.ClassNotFoundException:
> org.apache.shindig.common.servlet.GuiceServletContextListener
>
>
>
That class should be inside shindig-common. Maybe your local version of that
jar is corrupt. Try deleting the jars (or entire directory) under
~/.m2/repository/org/apache/shindig/shindig-common
and rebuild Rave.

Jasha Joachimsthal

Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466
US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)

www.onehippo.com

Re: Problem running Rave: java.lang.IllegalAccessError

Posted by Scott Wilson <sc...@gmail.com>.
On 20 Jun 2011, at 14:58, Marlon Pierce wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I also can't reproduce the problem. I have a similar environment (and used maven 3.0.2). I moved my old .m2 out of the way and did a completely clean build.  I successfully logged in as john.doe, canonical, and jane.doe.
> 
> 
> Scott, what user name are you using?

I've been using canonical as the user name, but the other usernames have the same effect.

Jasha - its an update; I've tried mvn clean install but the same result.

Looks like I'll probably have to delete and reinstall a clean version.

Incidentally, I also see this in the console:

[WARNING] [talledLocalContainer] SEVERE: Error configuring application listener of class org.apache.shindig.common.servlet.GuiceServletContextListener
[WARNING] [talledLocalContainer] java.lang.ClassNotFoundException: org.apache.shindig.common.servlet.GuiceServletContextListener


> 
> 
> Marlon
> 
> 
> On 6/20/11 9:49 AM, Jasha Joachimsthal wrote:
>> On 20 June 2011 15:34, Scott Wilson <sc...@gmail.com> wrote:
>> 
>>> 
>>> On 20 Jun 2011, at 12:26, Ate Douma wrote:
>>> 
>>>> On 06/20/2011 10:45 AM, Scott Wilson wrote:
>>>>> Hi everyone,
>>>>> 
>>>>> When I use the instructions here to start Rave:
>>>>> 
>>>>> http://incubator.apache.org/rave/source.html
>>>>> 
>>>>> The portal starts up fine, and I can log in, but then I get a 500 error
>>> which seems to be thrown by this:
>>>>> 
>>>>> [WARNING] [talledLocalContainer] SEVERE: Servlet.service() for servlet
>>> jsonRpcServlet threw exception
>>>>> [WARNING] [talledLocalContainer] java.lang.IllegalAccessError: tried to
>>> access method
>>> org.apache.shindig.common.util.HashUtil.getMessageDigest()Ljava/security/MessageDigest;
>>> from class
>>> org.apache.shindig.gadgets.servlet.ETaggingHttpResponse$BufferServletOutputStream
>>>>> 
>>>>> Any ideas?
>>>> 
>>>> Hmm, no. I cannot reproduce it.
>>>> Can you be more specific on which interaction this occurs, or is this
>>> immediately after the login itself, e.g. first render of the home page?
>>>> 
>>>> Which also would be good to know is what browser/version you encountered
>>> this with.
>>> 
>>> Yes, first render of the home page after login.
>>> 
>>> This happens on Mac OS X, with Firefox, Opera, Safari and Chrome.
>>> 
>>> So I'm doing:
>>> 
>>> cd [rave-master]
>>> mvn install
>>> cd [rave-project]
>>> mvn install
>>> cd [rave-portal]
>>> mvn cargo:start
>>> 
>>> I'm using Maven 3.0.2 on Java 1.6.0-24 on Mac 10.6.7
>>> 
>>> 
>> That's almost identical to my system (Maven 3.0.3 instead of 3.0.2) but no
>> problems here. Did you do the mvn install after a clean checkout or after an
>> update? In case of an update, try mvn clean install.
>> 
>> 
>> Jasha Joachimsthal
>> 
>> Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466
>> US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)
>> 
>> www.onehippo.com
>> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iQEcBAEBAgAGBQJN/1IiAAoJEEfVXEODPFIDZkQH/3SLKQ1r1seDVPzvuyRneTxK
> J6qmHZp1CQXWpZ4v1sE+QdRLa0MoKrJQiOLnHKkvslHU/l0CnfUyQXPbT7Xthj1M
> GHkYQdQkipq+TxeaEZ1+5f1mrwE7Uu/yAes9B6UGgJ1Q51ssxSzZHefje74kS4YD
> NjNjhqH4SLD2FW2iaflLtLQCqvDQA8TLOWzeV3wmxno53NwzzVH/TjbvUKZWZapG
> nL1S6/KqVG62XUF2A0LDklN2YuHHoDY1LFp7MgRwbgV1D7dIOr3t5jt/v9w1k73G
> SxNi/rnmKLY1HW3SfP4Th7580bQpfGoz3BEp7MZPMCUjsSGVIy8Bi4anadIy1Dc=
> =3vwx
> -----END PGP SIGNATURE-----


Re: Problem running Rave: java.lang.IllegalAccessError

Posted by Marlon Pierce <mp...@cs.indiana.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I also can't reproduce the problem. I have a similar environment (and used maven 3.0.2). I moved my old .m2 out of the way and did a completely clean build.  I successfully logged in as john.doe, canonical, and jane.doe.


Scott, what user name are you using?


Marlon


On 6/20/11 9:49 AM, Jasha Joachimsthal wrote:
> On 20 June 2011 15:34, Scott Wilson <sc...@gmail.com> wrote:
> 
>>
>> On 20 Jun 2011, at 12:26, Ate Douma wrote:
>>
>>> On 06/20/2011 10:45 AM, Scott Wilson wrote:
>>>> Hi everyone,
>>>>
>>>> When I use the instructions here to start Rave:
>>>>
>>>> http://incubator.apache.org/rave/source.html
>>>>
>>>> The portal starts up fine, and I can log in, but then I get a 500 error
>> which seems to be thrown by this:
>>>>
>>>> [WARNING] [talledLocalContainer] SEVERE: Servlet.service() for servlet
>> jsonRpcServlet threw exception
>>>> [WARNING] [talledLocalContainer] java.lang.IllegalAccessError: tried to
>> access method
>> org.apache.shindig.common.util.HashUtil.getMessageDigest()Ljava/security/MessageDigest;
>> from class
>> org.apache.shindig.gadgets.servlet.ETaggingHttpResponse$BufferServletOutputStream
>>>>
>>>> Any ideas?
>>>
>>> Hmm, no. I cannot reproduce it.
>>> Can you be more specific on which interaction this occurs, or is this
>> immediately after the login itself, e.g. first render of the home page?
>>>
>>> Which also would be good to know is what browser/version you encountered
>> this with.
>>
>> Yes, first render of the home page after login.
>>
>> This happens on Mac OS X, with Firefox, Opera, Safari and Chrome.
>>
>> So I'm doing:
>>
>> cd [rave-master]
>> mvn install
>> cd [rave-project]
>> mvn install
>> cd [rave-portal]
>> mvn cargo:start
>>
>> I'm using Maven 3.0.2 on Java 1.6.0-24 on Mac 10.6.7
>>
>>
> That's almost identical to my system (Maven 3.0.3 instead of 3.0.2) but no
> problems here. Did you do the mvn install after a clean checkout or after an
> update? In case of an update, try mvn clean install.
> 
> 
> Jasha Joachimsthal
> 
> Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466
> US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)
> 
> www.onehippo.com
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJN/1IiAAoJEEfVXEODPFIDZkQH/3SLKQ1r1seDVPzvuyRneTxK
J6qmHZp1CQXWpZ4v1sE+QdRLa0MoKrJQiOLnHKkvslHU/l0CnfUyQXPbT7Xthj1M
GHkYQdQkipq+TxeaEZ1+5f1mrwE7Uu/yAes9B6UGgJ1Q51ssxSzZHefje74kS4YD
NjNjhqH4SLD2FW2iaflLtLQCqvDQA8TLOWzeV3wmxno53NwzzVH/TjbvUKZWZapG
nL1S6/KqVG62XUF2A0LDklN2YuHHoDY1LFp7MgRwbgV1D7dIOr3t5jt/v9w1k73G
SxNi/rnmKLY1HW3SfP4Th7580bQpfGoz3BEp7MZPMCUjsSGVIy8Bi4anadIy1Dc=
=3vwx
-----END PGP SIGNATURE-----