Bug 131189 - I18N - Annotations for files with multibytes in name throws exception.
I18N - Annotations for files with multibytes in name throws exception.
Status: NEW
Product: versioncontrol
Classification: Unclassified
Component: ClearCase
6.x
All All
: P3 (vote)
: TBD
Assigned To: issues@versioncontrol
issues@versioncontrol
: I18N
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-26 15:36 UTC by Peter Pis
Modified: 2008-04-29 17:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments
messages.log (62.08 KB, text/plain)
2008-03-26 15:37 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2008-03-26 15:36:40 UTC
Product Version         = NetBeans IDE Dev (Build 200803111205)
Operating System        = SunOS version 5.10 running on x86
Java; VM; Vendor        = 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04; Sun Microsystems Inc.
Java Home               = /usr/jdk/instances/jdk1.5.0/jre
System Locale; Encoding = ja_JP (nb); eucJP-open 

Steps:
1. Open a project.
2. Select versioned file that contains multibyte in its name and invoke "Clearcase | Show Annotations" action.

Exceptions are thrown.
Comment 1 Peter Pis 2008-03-26 15:37:11 UTC
Created attachment 59140 [details]
messages.log
Comment 2 Peter Pis 2008-03-26 15:38:35 UTC
USER [null]
¾ðÊó [org.netbeans.modules.clearcase]
org.netbeans.modules.clearcase.ClearcaseException: ¤ÈäîJoeäîClearcase Command Failure: äå¤í"annotate -nco -nheader
-force -out /var/tmp/clearcase-17660.ann ¤ÈäîJotäîNewäå¤íClass.java"
cleartool: Error: Operation "annotate" unavailable for manager "z_whole_copy"
	(Operation pathname was: "/opt/rational/clearcase/lib/mgrs/z_whole_copy/annotate")
	at org.netbeans.modules.clearcase.client.ClearcaseClient$CommandRunnable.handleCommandError(ClearcaseClient.java:242)
	at org.netbeans.modules.clearcase.client.ClearcaseClient$CommandRunnable.run(ClearcaseClient.java:215)
	at org.netbeans.modules.clearcase.client.ClearcaseClient.execImpl(ClearcaseClient.java:145)
	at org.netbeans.modules.clearcase.client.ClearcaseClient.exec(ClearcaseClient.java:125)
	at org.netbeans.modules.clearcase.client.ClearcaseClient.exec(ClearcaseClient.java:115)
	at org.netbeans.modules.clearcase.Clearcase.fetchVersioningAnnotations(Clearcase.java:355)
	at org.netbeans.modules.clearcase.Clearcase.access$100(Clearcase.java:82)
	at
org.netbeans.modules.clearcase.Clearcase$ClearcaseAnnotationsProvider$ClearcaseVcsAnnotations.getAnnotations(Clearcase.java:419)
	at org.netbeans.modules.versioning.annotate.AnnotationBar.annotationLines(AnnotationBar.java:221)
	at org.netbeans.modules.versioning.annotate.VcsAnnotateAction.computeAnnotations(VcsAnnotateAction.java:111)
	at org.netbeans.modules.versioning.annotate.VcsAnnotateAction.access$000(VcsAnnotateAction.java:59)
	at org.netbeans.modules.versioning.annotate.VcsAnnotateAction$1.run(VcsAnnotateAction.java:102)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Ã×̿Ū [org.netbeans.modules.clearcase.Clearcase]: /var/tmp/clearcase-17660.ann (¥Õ¥¡¥¤¥ë¤â¥Ç¥£¥ì¥¯¥È¥ê¤â¤¢¤ê¤Þ¤»¤ó¡£)
java.io.FileNotFoundException: /var/tmp/clearcase-17660.ann (¥Õ¥¡¥¤¥ë¤â¥Ç¥£¥ì¥¯¥È¥ê¤â¤¢¤ê¤Þ¤»¤ó¡£)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.netbeans.modules.clearcase.Clearcase.processAnnotations(Clearcase.java:371)
[catch] at org.netbeans.modules.clearcase.Clearcase.fetchVersioningAnnotations(Clearcase.java:356)
	at org.netbeans.modules.clearcase.Clearcase.access$100(Clearcase.java:82)
	at
org.netbeans.modules.clearcase.Clearcase$ClearcaseAnnotationsProvider$ClearcaseVcsAnnotations.getAnnotations(Clearcase.java:419)
	at org.netbeans.modules.versioning.annotate.AnnotationBar.annotationLines(AnnotationBar.java:221)
	at org.netbeans.modules.versioning.annotate.VcsAnnotateAction.computeAnnotations(VcsAnnotateAction.java:111)
	at org.netbeans.modules.versioning.annotate.VcsAnnotateAction.access$000(VcsAnnotateAction.java:59)
	at org.netbeans.modules.versioning.annotate.VcsAnnotateAction$1.run(VcsAnnotateAction.java:102)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Ã×̿Ū [org.openide.util.RequestProcessor]
java.lang.NullPointerException
	at
org.netbeans.modules.clearcase.Clearcase$ClearcaseAnnotationsProvider$ClearcaseVcsAnnotations.getAnnotations(Clearcase.java:420)
	at org.netbeans.modules.versioning.annotate.AnnotationBar.annotationLines(AnnotationBar.java:221)
	at org.netbeans.modules.versioning.annotate.VcsAnnotateAction.computeAnnotations(VcsAnnotateAction.java:111)
	at org.netbeans.modules.versioning.annotate.VcsAnnotateAction.access$000(VcsAnnotateAction.java:59)
	at org.netbeans.modules.versioning.annotate.VcsAnnotateAction$1.run(VcsAnnotateAction.java:102)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) 
Comment 3 Peter Pis 2008-03-26 18:18:15 UTC
But exceptions are not thrown if the project encoding is set to "EUC_JP".


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo