RE: Bug in CharSetUtil/Map?

2010-09-29 Thread Jan Willem Janssen
Hi,

 From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
 
 file a jira with a quickstart

See Wicket-3084: http://issues.apache.org/jira/browse/WICKET-3084.

Regards,

-- 

Jan Willem Janssen, M.Sc.
software engineer, Development
__

Planon B.V.
Wijchenseweg 8
6537 TL Nijmegen
P.O. Box 38074
6503 AB Nijmegen
The Netherlands
T:  +31 (0) 24 648 7662
F:  +31 (0) 24 642 2942
E: j.jans...@planon.nl
W: www.planon-fm.com

Deze email en alle bijlagen zijn slechts voor gebruik door de beoogde 
ontvanger. De email kan intellectueel eigendom en/of vertrouwelijke informatie 
bevatten. Het mag niet worden gekopieerd, openbaar gemaakt, bewaard of gebruikt 
worden door anderen dan waarvoor deze bestemd is. Bent u niet de beoogde 
ontvanger,verwijdert u dan deze email met alle bijlagen en kopieën onmiddellijk 
en informeer de afzender.

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender.

  ``I want to create machines that do exactly
what I want them to do...''
  -- Strange Machines, The Gathering 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Bug in CharSetUtil/Map?

2010-09-28 Thread Jan Willem Janssen
Hi,

We are experiencing some problems in CharSetUtil.getEncoding(). When
used, we see the following stacktrace appear:

java.lang.IndexOutOfBoundsException: Index: 4, Size: 0
at java.util.ArrayList.add(ArrayList.java:367)
at 
org.apache.wicket.extensions.util.encoding.CharSetMap.init(CharSetMap.java:238)
at 
org.apache.wicket.extensions.util.encoding.CharSetUtil.initialize(CharSetUtil.java:72)
at 
org.apache.wicket.extensions.util.encoding.CharSetUtil.getEncoding(CharSetUtil.java:102)

As I understand the code in CharSetMap, it looks like the construction
of the encodings array list fails. The paths it tries to load encoding
map files from yield exceptions causing the array list to remain empty.

We already tried adding (as suggested on the mailing list earlier):

getMarkupSettings().setDefaultMarkupEncoding(UTF-8);

to our WebApplication#init method, but the issue remains. 

Any ideas on how to resolve this, or should we create a JIRA issue?

Regards,

-- 

Jan Willem Janssen, M.Sc.
software engineer, Development
__

Planon B.V.
Wijchenseweg 8
6537 TL Nijmegen
P.O. Box 38074
6503 AB Nijmegen
The Netherlands
T:  +31 (0) 24 648 7662
F:  +31 (0) 24 642 2942
E: j.jans...@planon.nl
W: www.planon-fm.com

Deze email en alle bijlagen zijn slechts voor gebruik door de beoogde 
ontvanger. De email kan intellectueel eigendom en/of vertrouwelijke informatie 
bevatten. Het mag niet worden gekopieerd, openbaar gemaakt, bewaard of gebruikt 
worden door anderen dan waarvoor deze bestemd is. Bent u niet de beoogde 
ontvanger,verwijdert u dan deze email met alle bijlagen en kopieën onmiddellijk 
en informeer de afzender.

This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender.

  ``I want to create machines that do exactly
what I want them to do...''
  -- Strange Machines, The Gathering 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org