You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Sergiy Yevtushenko <se...@gmail.com> on 2008/06/26 21:34:40 UTC
problem at startup
Hi,
At some point after refreshing wicket sources to latest from repository, I
started getting following error at jetty startup:
...
java.lang.NoSuchMethodError:
org.apache.wicket.util.value.IValueMap.put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
at org.apache.wicket.markup.parser.XmlTag.put(XmlTag.java:454)
at
org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:635)
at
org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:288)
at
org.apache.wicket.markup.parser.XmlPullParser.nextTag(XmlPullParser.java:423)
at
org.apache.wicket.protocol.http.WicketFilter.getFilterPath(WicketFilter.java:682)
at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:519)
(jetty part skipped)
...
Is it a known issue or I met something new?
Regards,
Sergiy.
*---------------------------------------------
ES@Home http://es.os2.ru/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: problem at startup
Posted by Sergiy Yevtushenko <se...@gmail.com>.
Maarten Bosteels wrote:
> I think an "mvn clean compile" will solve this.
It doesn't. I've tried this as well as many other things including fresh wicket
sources install from svn. Also, the issue is reproducible with quickstart (with
obvious change in pom.xml - adding of proper compiler version) using mvn jetty:run.
Regards,
Sergiy.
*---------------------------------------------
ES@Home http://es.os2.ru/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: problem at startup
Posted by Maarten Bosteels <mb...@gmail.com>.
I think an "mvn clean compile" will solve this.
Maarten
On Fri, Jun 27, 2008 at 9:14 PM, Sergiy Yevtushenko <
sergey.yevtushenko@gmail.com> wrote:
> Timo Rantalaiho wrote:
>
> Me too. Probably it worth to report the issue to Sun, because it looks
>>> like JVM issue.
>>>
>>
>> Or searching in the Bug parade, in the early 1.5.0_x versions
>> there are a lot of bugs that are fixed later. What JVM version
>> are you using?
>>
>
> java version "1.6.0_06"
> Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
> Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)
>
> Regards,
> Sergiy.
> *---------------------------------------------
> ES@Home http://es.os2.ru/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: problem at startup
Posted by Sergiy Yevtushenko <se...@gmail.com>.
Timo Rantalaiho wrote:
>> Me too. Probably it worth to report the issue to Sun, because it looks like
>> JVM issue.
>
> Or searching in the Bug parade, in the early 1.5.0_x versions
> there are a lot of bugs that are fixed later. What JVM version
> are you using?
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)
Regards,
Sergiy.
*---------------------------------------------
ES@Home http://es.os2.ru/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: problem at startup
Posted by Timo Rantalaiho <Ti...@ri.fi>.
On Fri, 27 Jun 2008, Sergiy Yevtushenko wrote:
> Me too. Probably it worth to report the issue to Sun, because it looks like
> JVM issue.
Or searching in the Bug parade, in the early 1.5.0_x versions
there are a lot of bugs that are fixed later. What JVM version
are you using?
Best wishes,
Timo
--
Timo Rantalaiho
Reaktor Innovations Oy <URL: http://www.ri.fi/ >
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: problem at startup
Posted by Sergiy Yevtushenko <se...@gmail.com>.
Igor Vaynberg wrote:
> we removed those methods because they are declared in java.util.map
>
> IValueMap extends Map<String, Object>
>
> and map has Object put<String,Object> so i dont see why it wouldnt
> find the method...
Me too. Probably it worth to report the issue to Sun, because it looks like JVM
issue.
Regards,
Sergiy.
*---------------------------------------------
ES@Home http://es.os2.ru/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: problem at startup
Posted by Igor Vaynberg <ig...@gmail.com>.
we removed those methods because they are declared in java.util.map
IValueMap extends Map<String, Object>
and map has Object put<String,Object> so i dont see why it wouldnt
find the method...
-igor
On Thu, Jun 26, 2008 at 10:01 PM, Sergiy Yevtushenko
<se...@gmail.com> wrote:
> Igor Vaynberg wrote:
>
>> what version are you on?
>
> I've resolved the issue by rolling back IValueMap.java from latest 669997 to
> previous 660341. Differences between these two versions are following:
>
> ...
> --- IValueMap.java.660341 2008-06-26 23:54:09.000000000 +0300
> +++ IValueMap.java.669997 2008-06-27 07:57:07.000000000 +0300
> @@ -35,11 +35,6 @@
> public interface IValueMap extends Map<String, Object>
> {
> /**
> - * @see java.util.Map#clear()
> - */
> - void clear();
> -
> - /**
> * Retrieves a <code>boolean</code> value by key.
> *
> * @param key
> @@ -205,21 +200,6 @@
> IValueMap makeImmutable();
>
> /**
> - * @see java.util.Map#put(Object, Object)
> - */
> - Object put(final String key, final Object value);
> -
> - /**
> - * @see java.util.Map#putAll(java.util.Map)
> - */
> - void putAll(final Map map);
> -
> - /**
> - * @see java.util.Map#remove(java.lang.Object)
> - */
> - Object remove(final Object key);
> -
> - /**
> * Provided that the hash key is a <code>String</code> and you need
> to access the value
> * ignoring the key's case (upper- or lowercase letters), then you
> may use this method to get
> * the correct writing.
> ...
>
>
> Regards,
> Sergiy.
> *---------------------------------------------
> ES@Home http://es.os2.ru/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: problem at startup
Posted by Sergiy Yevtushenko <se...@gmail.com>.
Igor Vaynberg wrote:
> what version are you on?
I've resolved the issue by rolling back IValueMap.java from latest 669997 to
previous 660341. Differences between these two versions are following:
...
--- IValueMap.java.660341 2008-06-26 23:54:09.000000000 +0300
+++ IValueMap.java.669997 2008-06-27 07:57:07.000000000 +0300
@@ -35,11 +35,6 @@
public interface IValueMap extends Map<String, Object>
{
/**
- * @see java.util.Map#clear()
- */
- void clear();
-
- /**
* Retrieves a <code>boolean</code> value by key.
*
* @param key
@@ -205,21 +200,6 @@
IValueMap makeImmutable();
/**
- * @see java.util.Map#put(Object, Object)
- */
- Object put(final String key, final Object value);
-
- /**
- * @see java.util.Map#putAll(java.util.Map)
- */
- void putAll(final Map map);
-
- /**
- * @see java.util.Map#remove(java.lang.Object)
- */
- Object remove(final Object key);
-
- /**
* Provided that the hash key is a <code>String</code> and you need to access
the value
* ignoring the key's case (upper- or lowercase letters), then you may use
this method to get
* the correct writing.
...
Regards,
Sergiy.
*---------------------------------------------
ES@Home http://es.os2.ru/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: problem at startup
Posted by Igor Vaynberg <ig...@gmail.com>.
what version are you on?
-igor
On Thu, Jun 26, 2008 at 12:34 PM, Sergiy Yevtushenko
<se...@gmail.com> wrote:
> Hi,
>
> At some point after refreshing wicket sources to latest from repository, I
> started getting following error at jetty startup:
>
> ...
> java.lang.NoSuchMethodError:
> org.apache.wicket.util.value.IValueMap.put(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
> at org.apache.wicket.markup.parser.XmlTag.put(XmlTag.java:454)
> at
> org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:635)
> at
> org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:288)
> at
> org.apache.wicket.markup.parser.XmlPullParser.nextTag(XmlPullParser.java:423)
> at
> org.apache.wicket.protocol.http.WicketFilter.getFilterPath(WicketFilter.java:682)
> at
> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:519)
> (jetty part skipped)
> ...
>
> Is it a known issue or I met something new?
>
> Regards,
> Sergiy.
> *---------------------------------------------
> ES@Home http://es.os2.ru/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org