[Logo] JCVSForum - Community Support For JCVS Users and Developers
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
HP-UX  XML
Forum Index » JCVS Mailing List
Author Message
jcvslist


[Avatar]

Joined: 03/06/2004 19:54:53
Messages: 3096
Location: Earth
Offline

<pre>Hi,

I have used jCVS [at home] on OS/2 a few times, and have been quite
impressed. I am hoping to use it at work as well. I have run into two
problems:

1) The color for the menus on the main window (as well as other places)
is white on white when unselected. This makes it difficult (impossible
actually) to read. The menus are somewhat readable when they are
selected. I did not see an option in the code to change this.

2) When I try to do a checkout I get:
Exception occurred during event dispatching:
java.lang.NullPointerException
at java.util.GregorianCalendar.computeFields(Compiled Code)
at java.util.Calendar.setTimeInMillis(Calendar.java)
at java.util.Calendar.setTime(Calendar.java)
at java.text.SimpleDateFormat.format(Compiled Code)
at java.text.DateFormat.format(DateFormat.java)
at
com.ice.cvsc.CVSTimestampFormat.formatTimeZone(CVSTimestampFormat.java:109)
at
com.ice.cvsc.CVSTimestampFormat.format(CVSTimestampFormat.java:94)
at com.ice.cvsc.CVSEntry.setTimestamp(CVSEntry.java:363)
at com.ice.cvsc.CVSProject.processResponseItem(Compiled Code)
at com.ice.cvsc.CVSProject.handleResponseItem(Compiled Code)
at com.ice.cvsc.CVSClient.processResponseItem(Compiled Code)
at com.ice.cvsc.CVSClient.readAndParseResponse(Compiled Code)
at com.ice.cvsc.CVSClient.processCVSRequest(Compiled Code)
at com.ice.cvsc.CVSProject.performCVSRequest(Compiled Code)
at com.ice.jcvs.CVSProjectFrame.commonCVSCommand(Compiled Code)
at com.ice.jcvs.CVSProjectFrame.performCheckOut(Compiled Code)
at com.ice.jcvs.CVSCheckoutDialog.actionPerformed(Compiled Code)
at java.awt.Button.processActionEvent(Compiled Code)
at java.awt.Button.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)

My platform is:
HP-UX Java C.01.15.05 08/06/98
HP-UX B.10.20 A 9000/712

I am using pserver (not rsh/remsh).

Has anyone go jcvs working properly on HP-UX?


-Neal-

--
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
- Neal A. Dillman * neald@rose.hp.com -
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
- My opinions are. -
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

</pre>

jCVS Maoiling List arvhive.
[WWW]
jcvslist


[Avatar]

Joined: 03/06/2004 19:54:53
Messages: 3096
Location: Earth
Offline

<pre>On Wed, Sep 9 1998, Neal A. Dillman wrote:
> 1) The color for the menus on the main window (as well as other places)
> is white on white when unselected. This makes it difficult (impossible
> actually) to read. The menus are somewhat readable when they are
> selected. I did not see an option in the code to change this.

Interesting. Sounds like AWT's responsibility, the peering being less
than ideal?

> 2) When I try to do a checkout I get:
> Exception occurred during event dispatching:
> java.lang.NullPointerException
> at java.util.GregorianCalendar.computeFields(Compiled Code)
> at java.util.Calendar.setTimeInMillis(Calendar.java)
> at java.util.Calendar.setTime(Calendar.java)
> at java.text.SimpleDateFormat.format(Compiled Code)
> at java.text.DateFormat.format(DateFormat.java)

This is usually the result of timezone issues in the JDK. Check the
properties (<HOME>/jcvsrc.txt is where you override them, defaults.txt
in the source code will show you what's there. You might have to set
the timezone string to something other than "GMT". Maybe "GMT+00".

</pre>

jCVS Maoiling List arvhive.
[WWW]
jcvslist


[Avatar]

Joined: 03/06/2004 19:54:53
Messages: 3096
Location: Earth
Offline

<pre>On Fri, Sep 11 1998, Neal A. Dillman wrote:
> That's possible. The same problem color scheme is used:
> *) in the checkout dialog (export, import, etc)
> *) in the output viewer
>
> It's not a problem:
> *) in the login dialog
> *) anywhere in the project window (including the menus!)

Ooooohhhh... That is inconsistent.
I will try to look into that a bit.

> > This is usually the result of timezone issues in the JDK. Check the
> > properties (<HOME>/jcvsrc.txt is where you override them, defaults.txt
> > in the source code will show you what's there. You might have to set
> > the timezone string to something other than "GMT". Maybe "GMT+00".
>
> I figured the same, and had already tried PST8PDT and GMT+08 before
> sending the mail. Your response gave me a hint though. It turns out
> that GMT works.. as well as PST. PDT or anything with a number in it
> seems to fail. Do you know of any way to ask Java what timezones are
> available?

Ok, you got it. This timestamp/timezone thing changed (and incompatibly)
between 1.1.4 and 1.1.5, if I remember correctly. A real pain, it has been.

tim.
Tim Endres, ICE Engineering, Inc.
mailto: time@ice.com http://www.ice.com
"Usenet - A slow moving self parody." -- Peter Honeyman

</pre>

jCVS Maoiling List arvhive.
[WWW]
 
Forum Index » JCVS Mailing List
Go to:   
Powered by JForum 2.1.9 © JForum Team