Unable to open pserverconnection in cvs

Hai
I am using java cvs for my application.First i created the pserver
connection but It didn't work well. It gives null Pointer Exception. I don't know why. Anyone plz help me?
Thnx in advance
Here is my Source Code
try{
PServerConnection c =new PServerConnection();
PServerConnection connection = c;
Scrambler scrambler = StandardScrambler.getInstance();
c.setUserName("kirank");
c.setHostName("fileserver.cash-tech.com");
c.setRepository("/source/repository/triton");
c.setEncodedPassword(scrambler.scramble("123456"));
c.open(); //Exception -- NullPointerException
System.out.println("connection created");
catch(Exception e)
System.out.println("connection not created");
e.printStackTrace();
Regards
Raviraj Gangrade

Here's how I fixed this freakin' problem. Wasted half of my day!!!! javacvs seems buggy and there's minimal support for it. There were a few different people asking this question, but no one had answered it properly.
String root = null;
     BufferedReader r = null;
     try
     if (cvsRootFile.exists())
     r = new BufferedReader(new FileReader(cvsRootFile));
     root = r.readLine();
     catch (IOException e)
          // TODO: Fix this. log errors properly.
               System.err.println(e.getMessage());
               e.printStackTrace();
     finally
     try
     if (r != null)
     r.close();
     catch (IOException e)
          // TODO: Fix this. log errors properly.
                    System.err.println(e.getMessage());
                    e.printStackTrace();
     globalOptions = new GlobalOptions();
          globalOptions.setCVSRoot(root);
          CVSRoot cvsRoot = CVSRoot.parse(root);
     connection = new PServerConnection(cvsRoot);
     connection.open();
The difference is I'm passing a CVSRoot object to PServerConnection. "Manually" setting the connection parameters makes javacvs crap out. I have no idea why. I suspect a bug.

Similar Messages

  • I am unable to open my Photoshop program after installing the entire Creative Suite: Premium Production 6. All other programs work, but with Photoshop it says that the program is "locked or in use by another user". I need this fixed immediately.

    I am unable to open my Photoshop program after installing the entire Creative Suite: Premium Production 6. All other programs work, but with Photoshop it says that it "Could not open a scratch file because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the 'Properties' command in the Windows Explorer to unlock the file." Then I select "OK" and the next message comes up "Could not initialize Photoshop because the file is locked, you do not have the necessary permissions, or another program is using the file. Use the 'Properties' command in the Windows Explorer to unlock this file. I installed all of the programs on the same day from a CD. I need this fixed immediately.
    I am not interested in switching to Creative Cloud, so don't even suggest it. I spoke to Mashmi (or something to that effect) on the "Support" Chat and there was absolutely no support. Useless actually.
    Thanks in advance.

    Could not open a scratch file because the file is locked or you do not have the necessary access privileges. (…) | Mylen…
    Mylenium

  • I am unable to open raw files from my Canon T1i in Adobe Camera Raw of my version CS3 of Photoshop.  I have tried to update my ACR by downloading version 4.6 from the Adobe website but I am still unable to open raw files, just JPEG.  Is there a way to use

    I am unable to open raw files taken on my Canon Rebel T1i in my version of Photoshop CS3.  When I import raw files into Bridge they come up as patches with CR2 on them and when clicked on, a notice comes up stating that Photoshop does not recognize these files.  I tried to update my Adobe Camera Raw by downloading version 4.6 from the Adobe Website, but when I clicked on the plus-in, I got another message that Photoshop does not recognize this file.  I spoke with a representative from Canon who said that I could not update CS3 and that I should subscribe to the Cloud.  I would prefer to use my CS3, if possible.  Can anyone advise me what to do?

    The T1i was first supported by Camera Raw 5.4 which is only compatible with CS4 and later
    Camera Raw plug-in | Supported cameras
    Camera Raw-compatible Adobe applications
    Some options:
    Upgrade to CS6
    Join the Cloud
    Download the free Adobe DNG converter, convert all T1i Raw files to DNGs then edit the DNGs in CS3
    Camera raw, DNG | Adobe Photoshop CC

  • TS2570 Still cant access my computer, followed instructions to perform a safe boot and last line of script it shows: BootCacheControl: Unable to open /Var/db/BootCache.playlist:2 No such file or directory. Any idea?

    Brand new Mac Book Pro
    Purchased in Mexico's Department store Liverpool on June 20th 2012
    Purchased Memory upgade to 8Gb, on june 27th, at Apple Store Memorial City, Houston
    Upgraded memory from 4Gb to 8Gb on June 28th.
    Tried to write on my external HD (previously written on a windows based PC) with no success.
    Upon reccomendation from a Mac assistant, copied all my external HD contents into my Mac Hard drive.
    Then formatted my external HD and copied back all my information to it.
    deleted all the  information from my MacBook Pro HD.
    Attempted to repeat the same operation with another external HD, but got a message saying there was not enough epace on the computer HD (even though I have a 750Gb Hard Drive.
    Looked in the trash bin and there it was, all the information previously deleted..
    Could not empty the trash bin, although I got a message asking me to safely delete all the information from the trash bin,
    Could not get enough space released, after several attpempts the trash bin was finally emptied.
    All happy getting acquainted with my new MacBook Pro. Two days later, got a gray screen and not able to start the computer.
    Looking in to Mac support I found article http://support.apple.com/kb/TS2570 and followed instructions to perform a safe boot:
    "Perform a Safe Boot
    Simply performing the Safe Boot may resolve this issue.
    Shut down your Mac. If necessary, hold your Mac's power button for several seconds to force it to power down.
    Start your Mac, then immediately hold the Shift key. This performs a Safe Boot. Advanced tip: If you want to
    see the status of a Safe Boot as it progresses, you can hold Shift-Command-V during start up (instead of just Shift).
    Note: A Safe Boot takes longer than a typical start up because it includes a disk check and other operations.
    The following is the script that appears on the screen upon safe boot. and halt after the last line.
    AppleACPICPU:Processor Id=6 LocalAplicId=255 Disabled
    AppleACPICPU:Processor Id=7 LocalAplicId=255 Disabled
    AppleACPICPU:Processor Id=8 LocalAplicId=255 Disabled
    calling mpo_policy_init for TMSafetyNet
    Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    calling mpo_policy_init for Sandbox
    Security policy loaded: Seatbelt sandbox policy (Sandbox)
    calling mpo_policy_init for Quarantine
    Security policy loaded: Quarantine Policy (Quarantine)
    Copyright (c) 1982, 1986, 1989, 1991, 1993
            The Regents of the University of California. All Rights Reserved.
    MAC Framework Succesfully initializad
    using 16384 buffer headers and 10240 cluster IO buffer headers
    IOAPIC: Version 0x20 Vextors 64:87
    ACPI: System State [SO S3 S4 S5] (S3)
    PFM64 (36cpu) 0xf10000000, 0xf0000000
    Aplconsole relocated to 0xf1000000
    PCI configuration changed (bridge=16 device=4 cardbus=0)
    [ PCI configuration end, bridges 12 devices 16 ]
    Firewire (OHCI) Lucent ID 5901 built-in now active, GUID 3c0754fffe9b2aa2; max speed s800.
    Pthread support ABORTS when sync kernel primitives misused
    com.apple.AppleFSCompressionTypeZlib kmod start
    com.apple.AppleFSCompressionTypeDataless kmod start
    com.apple.AppleFSCompressionTypeZlib load succeeded
    com.apple.AppleFSCompressionTypeDateless load succeeded
    AppleIntelCPUPowerManagementClient: ready
    BTCOEXIST off
    wl0: Broadcom BCM4331 802.11 Wireless controller
    5.100.98.75
    AppleUSBMultitouchDriver::checkStatus - received Status Packet, Payload 2: device was reinitializad
    rooting via boot-uuid from /chosen: 6E918706-FC0D-37460-A3A0-6268A51DF93B
    Waiting on <dict ID="0"><key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleAPIPCI/SATA@1F,2/AppleIntelPchSe riesAHCI/PRT0@0/AOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlock
    storageevice /IoBlockStorageDriver/TOSHIBA MK7559GSXF Media/IOGUIDPartit
    BSD root: disk0s2, major 14, minor 2
    Kernel is LP64
    com.apple.launchd 1   com.apple.launchd 1   *** launchd[1] has started up. ***
    com.apple.launchd 1   com.apple.launchd 1   *** Verbose boot, will log to /dev/console. ***
    Running fsck on the boot volume...
    ** /dev/rdisk0s2 (NO WRITE)
    ** Root file system
       Executing FSCK_HFS (version diskdev_cmds-540.1~25).
    BootCacheControl: UNable to open /Var/db/BootCache.playlist:2 No such file or directory
    launchctl:Dubious permissions on file (skipping): /Library/LaunchDaemons
    launchctl:Dubious permissions on file (skipping): /System/Library/LaunchDaemons
    Any help or suggestions on what to do next would be welcomed.
    I am in the middle of the Atlantick, stuck with a brand new, non working Apple MacBook Pro.
    Best regards
    Sergio Ramos

    Reinstalling MacOS does NOT fix the problem for me.  I'm still searching a solution !
    Bernard

  • I am unable to open Calendar on my iMac - this occurred after installing Security Update 2015-002.  I don't know if related.  A message pops up after several minutes saying Calendar quit unexpectedly (but it never really opens). How do get Calendar b

    I am unable to open Calendar on my iMac - this occurred after installing Security Update 2015-002.  I don't know if related.  A message pops up after several minutes saying Calendar quit unexpectedly (but it never really opens). How do get Calendar back?

    Hi Magsrobby,
    Welcome to the forum and thanks for posting. I'm really sorry to hear you've had so many problems. I can look into this for you if you wish. Drop me an email with the details. You'll find the "contact us" form in the about me section of my profile. Once I have the details we'll take it from there.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • I am unable to open Icloud on my PC with Windows 7 but have it installed

    I am unable to open Icloud on my PC with Windows 7 but have it on my Iphone & Ipad working OK
    Please help

    The menu selection only shows the other options if you already have a selection active; a selection made with one of the available tools like lasso or quick selection. First select with the tools, then use the menu 'Select'.

  • I upgraded my iPhone 5 to iOS7 and I am unable to open iTunes on my phone - the screen just never loads.

    I installed iOS7 on my iPhone5 and now I am unable to open iTunes - the screen just stays blank.
    I have checked date and time and wifi settings.
    Not sure what else to do.
    I do have iMatch active on my device and its working fine on my other iPohne with iOS7 installed.
    Any help please!

    Have you tried logging out of your account on your phone by tapping on your id in Settings > iTunes & App Store and then logging back in ? If it's still the same after that then try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the equivalent of a reboot.

  • Unable to open Apple application

    Last week, I did the most current software updates. Ever since then, I have been unable to open certain Apple programs such as iChat, Skype, Preview, Pages, Photo Booth, etc. I have tried to download AIM, but the computer says it isn't supported. Also, now when I try to open Photo Booth, it says my graphics card doesn't support it, but I have never changed the card from the one the computer came with. The programs will open up, and then immediately quit, and I am left with "The application _____ quit unexpectedly" message. No matter how many times I relaunch and reset, ignore, or report, I can't get them to open. I'm in college and really have no way to get to a Genius Bar for a few more weeks, and I don't have the Leopard disk with me. Is there any way I can fix this on my own? Thanks!

    I think it was the repair disk permission that actually worked for me. I tried it once and got no result, and then tried to download the updater. For whatever reason, I couldn't even download that. So I went back and did the disk permission repair again. It still didn't seem to work, so I just turned the computer off out of frustration. When I turned it back on, it was all fixed. So I'm not entirely sure what it was that fixed it...all I know is it works now!

  • Error unable to open script file

    I have been using DW8 since it came out. I am running Windows 7. Everything was working fine until I had hard drive failure. Replaced hard drive reinstalled Windows and DW8. Now when I try to insert an image I get the message "unable to open java script file c:\program files\Macromedia\Dreamweaver 8\configuration\objects\common\AccessibleImage.js (error 2)".
    I have done the usual--rename config file--reinstall DW8--clean register and reinstall--run as admin.--run in compatibility with XP SP2, etc. but nothing works.
    Help would be invaluable to me.

    Your version isn't listed here but something on this page may help you...
    http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html

  • ERROR: Unable to open TUXCONFIG file

    Hi,
    I installed and installed the following software successfully on Windows XP
    Oracle WebLogic Server 11gR1 (10.3.1) Microsoft Windows
    PeopleSoft Enterprise PeopleTools 8.50
    PeopleSoft Enterprise Human Resources Management System 9.1 - Revision 2
    Tuxedo 10gR3 for MS Windows Server 2003 w/MS VS 2005 (32-bit x86, AMD64/EM64T x64) 32-bit
    i am at the point of installing the Application Server. Domain created sucessfully but i got boot errors as shown below.
    I searched for the TUXCONFIG file but could not find it in the tuxedo installation folder.
    I read that i have to create the TUXCONFIG,if missing, using tmloadcf.exe and the ubbconfig file, but the only UBBCONFIG file is located in "\samples\atmi\rpcsimp\" folder.
    How do i create the TUXCONFIG file?
    Did i miss something with the installation? What location should this file exist after your tuxedo installation?
    thanks
    K
    BOOT ERRORS:
    PeopleSoft Domain Boot Menu
    Domain Name: hrms
    1) Boot (Serial Boot)
    2) Parallel Boot
    q) Quit
    Command to execute (1-2, q) [q]: 1
    Attempting to boot bulletin board...
    tmadmin - Copyright (c) 2007-2008 Oracle.
    Portions * Copyright 1986-1997 RSA Data Security, Inc.
    All Rights Reserved.
    Distributed under license by Oracle.
    Tuxedo is a registered trademark.
    No bulletin board exists. Entering boot mode.
    115818.SU1491!PSWATCHSRV.5832.6140.-2: LIBTUX_CAT:1519: ERROR: TUXCONFIG value (C:\Documents an
    d Settings\klondon\psft\pt\8.50\appserv\hrms\PSTUXCFG) is longer than the allowed length of 64
    115818.SU1491!PSWATCHSRV.5832.6140.-2: LIBTUX_CAT:588: ERROR: Unable to open TUXCONFIG file
    115818.SU1491!PSWATCHSRV.5832.6140.-2: LIBTUX_CAT:6272: ERROR: Unable to get bulletin board par
    ameters
    115818.SU1491!tmboot.2652.1488.-2: CMDTUX_CAT:825: ERROR: Process PSWATCHSRV at SU1491 failed w
    ith /T tperrno (TPESYSTEM - internal system error)
    115818.SU1491!tmboot.2652.1488.-2: tmboot: CMDTUX_CAT:827: ERROR: Fatal error encountered; init
    iating user error handler
    115821.SU1491!BBL.2956.4352.0: CMDTUX_CAT:26: INFO: The BBL is exiting system
    115825.SU1491!PSADMIN.3088: End boot attempt on domain hrms
    Edited by: user2932595 on Apr 17, 2010 1:17 PM
    Edited by: user2932595 on Apr 17, 2010 1:21 PM

    Hi
    The TUXCONFIG file normally is created automatically when you create your domain.
    In this case I think you ran into trouble because the path of installation is too long!
    Note the error in your log:
    115818.SU1491!PSWATCHSRV.5832.6140.-2: LIBTUX_CAT:1519: ERROR: TUXCONFIG value (C:\Documents and Settings\klondon\psft\pt\8.50\appserv\hrms\PSTUXCFG) is longer than the allowed length of 64
    Your path is 69 chars long!
    I would suggest that you re-try the configuration with a shorter tuxedo and PS_HOME: perhaps in the root directory (c:\PSHOME)
    In the past I've also noticed that installations have problems with paths that have spaces - ex: 'Documents and settings' , so I would avoid that as well.
    Edited by: Alternate on Apr 19, 2010 2:00 AM

  • ERROR: Unable to open structapps file!

    Hello,
    Having modified the structapps.fm in FM10, I am getting the following error within a dialog when attempting to use the same file in FM8:
    ERROR: Unable to open structapps file! FA_errno -43
    Is FM not backward compatible ? OR do I need to reread the file in FM8
    Thanks

    The file should be saved in the FM version that you're using it in. You can't use any newer FM version file in any older version of FM, e.g. FM8 can't open any FM10 files (except for the MIF formats).

  • Unable to open .eps file "unknown format and cannot be opened" ?

    A client sent me an .eps file (logo). I tried opening it in Illustrator AND photoshop (just to see if it was saved in one vs the other program) - however to no avail.
    Illustrator gives me a message "unknown format and cannot be opened"
    Photoshop gives me a message "photoshop was unable to parse the postscript".
    I'm using Adobe CS4, and I've never seen this message before—would love to know what this means and how to resolve?
    File attached if anyone is able to open / fix it?
    Thanks kindly,
    Chemol

    Thanks for the advice Scott - does compression improve the .eps?  Is it
    silly for me to ask them to compress it since the file is only 766 KB
    (that's how big the attachment is in my email - though I am unable to open
    it)?
    My friend is able to open it on his end - however the 3rd person (client) is
    the one who sent it, and I have already requested a different version - no
    response from them yet.  Unfortunately what the company "has" is what he
    will likely give to me again (ie: same file / unable to open).  So ... I am
    curious about how I can resolve this issue on my end - if possible?
    Do you know what the AI and Photoshop error messages mean? Could the issue
    be a mac vs PC concern? Or is it a corrupt file? Could it be a software
    version issue (old vs new) ... or Quark incompatibility?
    .... just guessing at this point....Any insight as to what different
    scenarios may apply in this situation would be greatly appreciated ..thank
    you.

  • ZAV 10 - Unable to open parameter file error

    When trying to launch a ZAV 10 app, C-Cure Administration Console, users are getting an error "**Unable to open parameter file cc800cl.pf, errno 2. (1247)". This only appears to be happening on Win7. This did work when first created, but after a few weeks the error has started to pop-up.

    If this was working and is not now, and you are certain nothing has changed on the client systems (or at least nothing that could interfere here), then this might be an issue with the license used when building the application. What is the expiry date of your license and was it applied prior to building this exe?
    If this isn't expiring please open an SR for this issue, if you can. This is the information the support team will require:
    - Copies of any warnings or errors around the time the issue occurs (or a copy of the application and system event logs, in .evtx format)
    - A copy of the exe you are using
    - If you can build the exe again as a diagnostic-mode executable and provide the diagnostics generated when attempting to run, that can be very helpful
    - It may also be required that you send installation media for the application and your build process, so the team can attempt to reproduce the issue in-house
    - You will also typically be asked for the .xappl file and associated Files folder, if reproducing in-house is required. This will become absolutely necessary if a ticket needs to be filed with Spoon, so sending it ahead of time is a good idea

  • "Unable to open config file" Error when starting tomcat

    hi all,
    Here is the output from two of the log files when I start tomcat4 on my linux box. I have configured the mod_jk on the tomcat side.
    From the output of the second log file, it seems that the ajp13 worker I defined was started successfully. What I don't understand is the following:
    1) In catalina.out, where des the line 'Unable to open config file' come from? Which config file?
    2) Tomcat4 is supposed to generate a mod_jk.conf automatically, but I don't see any file generated in 'conf/auto/'.
    Content of 'catalina.out'
    Unable to open config file
    Starting service Tomcat-Standalone
    Apache Tomcat/4.0.4
    Unable to open config file
    Starting service Tomcat-Apache
    Apache Tomcat/4.0.4content of 'catalina_log.2002-08-16.txt'
    2002-08-16 01:05:22 HttpConnector Opening server socket on all host IP addresses
    2002-08-16 01:05:28 Ajp13Connector[8009] Opening server socket on all host IP addresses
    2002-08-16 01:05:28 Ajp13Connector[8009] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][0] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][1] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][2] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][3] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][4] Starting background thread

    I have all those files too.
    I think the 'config file' mentioned in the error log is the mod_jk.conf.
    On Jason Hunter's tomcat4 guide, it says don't use the tomcat4 RPM to installed. What is the difference bettween the RPM version and the tar.gz version? The only difference I can think of is that in the RPM version, the conf directory is in the 'etc/tomcat4/conf'. Could it be the reason that tomcat4 cannot read the config file? But it has no problem reading the server.xml though.

  • "Unable to open project file" Error Message

    I pulled an all-nighter (13 hours of editing) last night to create a critical project in FCE 3.5.1 on my Intel iMac running 10.4.11 then left this afternoon for a few hours and shut down my machine. Came back tonight and tried to open the project (which I saved on my Maxtor 1 TB external drive along with all of the scratch disk files). To my absolute panic, it won't open the file now with an error message that simply says, "Unable to open project file". HELP!!!! Anyone have any suggestions?!?!

    In the past I found (and reported to Apple Feedback) the same bug Steve reports here, but I should recall that the problem:
    - only appeared in PAL projects (probably not the case for kscritch) - never heard of it in NTSC
    - was consistent in FCE 3.x, not so in FCE 4
    I made tests importing .psd images with transparency into PAL projects using FCE 4, and I had various behaviours: sometimes the project worked, sometimes I couldn't open the project again (as in FCE 3), sometimes I had error messages with inconsistent behaviour (msg like "file error", but the project opened and file was there...), etc. so I decided to do without.
    Now I only import .tif or .png images when I need transparency
    Piero

Maybe you are looking for

  • ERM role methodology configuration

    Hi For some reason the stages in the role methodology process in the configuration tab are not in the same order as those showen in the create role screen in the role management tab. Does anyone have an idea how it can be fixed? Thank you for your he

  • No XML file attachment when using Submit by Email button

    Hello all - I'm using LiveCycle Designer 8.0 to create a simple form, and am using the Submit by Email button to return the user supplied data. When I save the form and test it with Adobe Acrobat Professional 8.1.1, the email goes through just fine,

  • I have safari ver 5.1.10 can i upgrade to a more current ver of Safari?

    i have Safari ver 5.1.10...can i upgrade to a current version?

  • Rescue and Recovery will not open

    I wanted to back up my system to an external hard drive after finding out that it hasn't been backed up in over 200 days even though when prompted periodically , I select the option to "back up now." However, it seems that neved did back up. When I t

  • Help me to figure out the problem please

    Hello there guys, i have gtx 560 ti twin frozr II OC and 2 weeks ago i noticed some strange freezing under any settings(low/ultra) for bf3 or dirt3 or some other applications and games. the strange thing that i dont have them(freezes) running 3dmark