Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Illegal Argument Exception

31 views
Skip to first unread message

Work

unread,
Feb 7, 2001, 9:54:24 PM2/7/01
to
I suspect that this exception is related to the use of Locale with
GregorianCalendar.computeTime

java.lang.IllegalArgumentException
at java.util.GregorianCalendar.computeTime(GregorianCalendar.java:1368)
at java.util.Calendar.updateTime(Calendar.java:1508)
at java.util.Calendar.getTimeInMillis(Calendar.java:890)
at java.util.Calendar.getTime(Calendar.java:871)
at zn.bop.SmartDate.setSpecial(SmartDate.java:669)
at zn.bop.SmartDate.set(SmartDate.java:557)
at zn.bop.SmartDate.(SmartDate.java:494)
at zn.alua.WindowManager.dispatch(WindowManager.java:220)
at zn.alua.Server.run(Server.java:595)


What is the significance of all these methods ? One problem probably causes
all these line numbers to be flagged in the exception. Should I start
looking at the top (Gregorian Calendar) or bottom (Server) ? Any suggestions
on how I could solve this will be appreciated.

Green Midget

Patricia Shanahan

unread,
Feb 7, 2001, 11:32:33 PM2/7/01
to
The exception happened GregorianCalendar.computeTime, which was called
by updateTime...

The call from your own code into the API is a good place to start
looking, so begin at SmartDate.java, line 669. It should have a call to
Calendar.getTime. Look at everything related to that call, especially
the arguments.

Patricia

0 new messages