Unable to truncate() a file previously mapped to a MappedByteBuffer

(Here's hoping that my carriage returns will be preserved this time...)
I am using memory-mapped IO to record a program log. The mapped portion is done 512kb at a time, and when the program is finished, the logging section does the following:
determines how long the file actually is,
force()'s the byte buffer,
nulls out the byte buffer reference,
closes the byte buffer's channel,
nulls out the channel's reference,
calls System.runFinalization(),
calls System.gc(),
opens a new RandomAccessFile on the log file,
truncates the log file (the new RandomAccessFile) down to the correct size.
About half the time, this works as planned, the other half (using Java 1.5.0_06 on a Windows XP machine), the truncate throws an IOException:
"The requested operation cannot be performed on a file with a user-mapped section open."
I think it has to do with the garbage collection call not working, because I have resorted to the kludge of:
boolean truncated = false;
int numTries = 0;
while (!truncated)
  try
    new RandomAccessFile(logFile, "rw").getChannel().truncate(fileSize);
    truncated = true;
  catch (IOException e)
    debug("truncation failed because the file is still mapped, attempting to garbage collect...AGAIN.");
    //do garbage collection to ensure that the file is no longer mapped
    System.runFinalization();
    System.gc();
    numTries ++;
  if (numTries == 10)
    debug("Tried to unmap file 10 times; failing now.");
    truncated = true;
} The above seems to work just fine...though it may run through the loop a few times.
Is there something that I'm missing here?
Thanks!
-Zach

Crossposted and answered http://forum.java.sun.com/thread.jspa?threadID=745275&tstart=0

Similar Messages

  • Unable to open .chm file from a link in Weblogic 7.0

    Unable to open .chm file from a link in weblogic server. But the same
    jsp code works in Websphere
    Sample Code :
    <!-- < a href="JavaScript:window.navigate('help/manual.CHM')">
    Linked Text</a> -->
    The above link, works well in websphere. help is a folder that
    resides in the server. But when i tried to execute the same in
    Weblogic, some junk characters appeared . so i tried to direct the
    link to Display.jsp and passed the path of the chm file as the
    parameter. I cleared teh out buffer using out.clearBuffer() . i set
    the content type to application/x-msdownload and also set the header
    to content disposition.
    Nothing worked .
    I also tried another way.. That is the following
    I even tried including the mime type
    <mime-mapping>
    <extension>chm</extension>
    <mime-type>application/x-msdownload</mime-type>
    </mime-mapping>
    in the web.xml file. and still it doesnt work
    Nothing Worked . What should i do ? I need immediate help to sort out
    this issue. Can anybody help me
    - Angel

    This could be a Launch Services issue. The following article describes how to manually reset Launch Services — the notes at the bottom of the article also provide information about the side effects of deleting each of the files involved:
    Resetting Launch Services
    If you prefer using a cache cleaning utility instead of following the manual procedure described in the previous article, take a look at this other article for general troubleshooting and cache-cleaning procedures. Actually, you should also verify/repair the startup disk (not just permissions), as described there:
    Resolving Disk, Permission, and Cache Corruption
    The most appropriate utility for this particular problem probably is Tiger Cache Cleaner, but you may also want to consider other utilities, such as OnyX, or Cache Out X, which are free. Whatever utility you choose, be sure to read this first:
    Side effects of System cache cleaning
    As an example, this is how you should proceed with OnyX:
    1. Quit all applications.
    2. Launch OnyX and enter your administrator password.
    3. Go to Maintenance > Reset and check LaunchServices database.
    4. Un-check any other pre-checked options.
    5. Click the Execute button.
    6. Restart the computer.
    BTW, if you’re running Mac OS X 10.4 (Tiger), as your profile indicates, it would have been more appropriate to discuss this in the Mail & Address Book - Tiger forum. If the discussion applies to both Mail 1.x and Mail 2.x, it doesn’t really matter, but it’s difficult to know that in advance.

  • Java.lang.ClassFormatError: Truncated class file

    Hi
    Previously my application is running on jdk 1.4 and its supporting castor i.e. castor-0.9.5.4-xml.jar
    Now i had upgrade my jdk to 1.6 and i am using same castor.jar
    so it is giving me following error
    Exception in thread "main" java.lang.ClassFormatError: Truncated class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
    at com.sun.tools.javac.v8.GenerateClass$Loader.findClass(GenerateClass.j
    ava:273)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.exolab.castor.mapping.loader.Types.typeFromName(Types.java:93)
    at org.exolab.castor.mapping.loader.MappingLoader.resolveType(MappingLoa
    der.java:228)
    at org.exolab.castor.mapping.loader.MappingLoader.createDescriptor(Mappi
    ngLoader.java:394)
    at org.exolab.castor.xml.XMLMappingLoader.createDescriptor(XMLMappingLoa
    der.java:202)
    at org.exolab.castor.mapping.loader.MappingLoader.loadMapping(MappingLoa
    der.java:258)
    at org.exolab.castor.mapping.Mapping.getResolver(Mapping.java:291)
    at org.exolab.castor.mapping.Mapping.getResolver(Mapping.java:246)
    at org.exolab.castor.xml.Marshaller.setMapping(Marshaller.java:520)
    I also try to upgrade castor to latest version i.e castor1.2-xml.jar with jdk 1.6 and this time it gives me error
    Exception in thread "main" java.lang.ClassFormatError: Truncated class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
    at com.sun.tools.javac.v8.GenerateClass$Loader.findClass(GenerateClass.j
    ava:273)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.exolab.castor.mapping.loader.Types.typeFromName(Types.java:92)
    at org.exolab.castor.mapping.loader.AbstractMappingLoader.resolveType(Ab
    stractMappingLoader.java:384)
    at org.exolab.castor.xml.XMLMappingLoader.createClassDescriptor(XMLMappi
    ngLoader.java:209)
    at org.exolab.castor.mapping.loader.AbstractMappingLoader.createClassDes
    criptors(AbstractMappingLoader.java:262)
    at org.exolab.castor.xml.XMLMappingLoader.loadMapping(XMLMappingLoader.j
    ava:156)
    at org.castor.mapping.MappingUnmarshaller.getMappingLoader(MappingUnmars
    haller.java:162)
    at org.castor.mapping.MappingUnmarshaller.getMappingLoader(MappingUnmars
    haller.java:128)
    at org.exolab.castor.xml.Marshaller.setMapping(Marshaller.java:556)
    Can any one please help me out..
    Thanks in advance

    hi,
    i think one of application's class file currupted , Recompile all java files and then try.
    Edited by: sagar_birari on Mar 27, 2008 5:47 AM
    Edited by: sagar_birari on Mar 27, 2008 7:20 AM

  • Unable to import RAW files from my 400D, (XTi) Even if its a supported cam

    Hi,
    I have been unable to upload RAW files from my Canon XTi, a.k.a. 400D. I know this camera is supported and I am running Mac OS X 10.4.8 on an Intel Core Duo Mac Book.
    iPhoto had no issues with my previous Canon 350D raw files, yet its not working with the 400D. Is very likely a matter of installing an update, yet when i tried to install the ppl version it stated that this was not to be installed on this system. Would there be an update specific for Intel based machines to support the 400d?
    Has anyone experienced this same issue that would like to share in their resolution? This would definetively be appreciated.
    Happy Holidays and may you get the PS3 or something cool like that.

    Dendrite
    You need the Universal version of that update the ppc version won't work on your intel based machine:
    http://www.apple.com/support/downloads/digitalcamerarawsupportupdate101universal .html
    "This update improves RAW file format compatibility for the following digital SLR cameras:
    -Canon Digital Rebel XTi / 400D / Kiss X Digital
    -Nikon D80
    -Pentax *ist DS"
    Regards
    TD

  • RMAN unable to read backupset file during Cloning

    Hi,
    I'm performing cloning operation on windows to windows. On target I have taken backup through rman using recovery catalog. I've taken fresh backup of database along with archivelogs and delete the obsoleted one using rman recovery catalog repository.
    When I connect to Target,Recovery catalog and auxiliary instance after executing some commands RMAN gives error that it is unable to read backupset file. What could be the reason for this. I'm posting the Error Portion of RMAN listing please see it and tell me what could be the reasons as I have taken fresh backups and it seems that it is unable to read that particular backup.
    channel ORA_AUX_DISK_1: reading from backup piece C:\ORACLEBASE\PRODUCT\10.2.0\F
    LASH_RECOVERY_AREA\ORCL\BACKUPSET\2010_09_27\O1_MF_NNNDF_TAG20100927T125050_6B0M
    6YLD_.BKP
    ORA-19870: error reading backup piece C:\ORACLEBASE\PRODUCT\10.2.0\FLASH_RECOVER
    Y_AREA\ORCL\BACKUPSET\2010_09_27\O1_MF_NNNDF_TAG20100927T125050_6B0M6YLD_.BKP
    ORA-19505: failed to identify file "C:\ORACLEBASE\PRODUCT\10.2.0\FLASH_RECOVERY_
    AREA\ORCL\BACKUPSET\2010_09_27\O1_MF_NNNDF_TAG20100927T125050_6B0M6YLD_.BKP"
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/27/2010 13:17:22
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 6 found to restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    RMAN>
    Please help me in this matter.
    Regards,
    Abbasi

    If your RMAN backup exist on target server path.
    Target Server: C:\Oracle\RMAN_BACKUP\
    Put it on the same location in the auxiliary server.
    Auxiliary Server: C:\Oracle\RMAN_BACKUP\
    During cloning also connect with your recovery catalog as you are using recover catalog for the target server.
    Regards
    Asif Kabir
    Edited by: asifkabirdba on Sep 27, 2010 2:51 PM

  • Flash CS5 unable to play .FLV files on Macbook Pro

    I have a colleague who is trying to put together a Flash package for me  on her macbook pro.  It needs to play an flv file. She is unable to play  flv files on her computer either in Flash or using the Adobe Media  Player. I have no problem playing the same files on my macbook pro,  we're both running the latest OS and have version 1.8 of Adobe Media  Player.
    She went to the Adobe site to download the latest version of Adobe  Media Player, hoping that might include whatever component is missing on  her system. Because of Adobe's decision not to distribute AMP that  didn't help.  She has Flash Professional CS5 11.0.2 on her system.  When  she imports an flv video into a Flash project and tries to play it she  gets an error message saying it can't stream the video. Note that the  video is on her hard drive, it is NOT on the internet so no streaming  should be required.
    The actual error message is: "the video player is in the connection  error state. It enters this state when a video stream attempted to load  but was unsuccessful. There are two possible reasons for the error: no  connection to the server or the stream was not found."
    Since it's a file on her hard drive, and she has loaded the file  into the Adobe development environment successfully, the one thing we  know for certain is that neither of these reasons is correct. Something  is obviously missing on her system, what is it and what can we do to fix  it?

    I'm getting error too (Error #2044: Unhandled NetStatusEvent:. level=error, code=NetStream.Play.StreamNotFound). I'm getting this with CS5. This file was previously made in CS4 and never got this error.
    Everything (fla and flv too) is on external hard disk.
    As this work requires to be exported to mov, I've found out that everything needs to be on the mac (don't know for pc), like on desktop.
    So, let me wrap up disadvantages I got with Flash CS5:
    - TextField.embedFont makes the font disappear in CS5, so I can't use it, so I can't "play" with text in a comfortable way (in CS4, with embedFont = true, I was able to rotate and stuff). Now I have to make a bitmap out of it. It means 3 lines of code and a new variable, instead of just an easy one.
    - I have to rebuild my entire source path structure for AS classes, as my old one (that took me years of effort to be reasonable and used to work just fine in CS4).
    - I have to move stuff from my hard drive to the desktop, to make flv be played and to make a mov out of my animation.
    CS5 is making my job harder and making me lose a lot of time to find out errors that have no good reason to exist (it was not error. just "place CS5 doesn't like").

  • [SOLVED] ERROR: Unable to determine the file system type of /dev/root:

    :: Running Hook [udev]
    :: Triggering uevents...done
    Root device '804' doesn't exist.
    Creating root device /dev/root with major 8 and minor 4.
    error: /dev/root: No such device or address
    ERROR: Unable to determine the file system type of /dev/root:
    Either it contains no filesystem, an unknown filesystem,
    or more than one valid file system signature was found.
    Try adding
    rootfstype=your_filesystem_type
    to the kernelcommand line.
    You are now being dropped into an emergency shell.
    /bin/sh: can't access tty; job control turned off
    [ramfs /]# [ 1.376738] Refined TSC clocksource calibration: 3013.000 MHz.
    [ 1.376775] Switching to clocksource tsc
    That's what I get when I boot my Arch system. It worked fine for quite a while, but suddenly it ran into an error where the SCSI driver module was corrupt. I fixed it by reinstalling util-linux-ng and kernel26, however, I run into this issue now. http://www.pastie.org/2163181 < Link to /var/log/pacman.log for the month of July, just in case. Yes, I bought a new ATI/AMD Radeon HD 5450 this Saturday, but it seemed to work fine till this broke and it works fine on Ubuntu too, so I suppose we can rule it out.
    Last edited by SgrA (2011-07-05 20:45:36)

    Autodetection failed on your first image, in both your previous kernel installs:
    [2011-07-04 16:14] find: `/sys/devices': No such file or directory
    Which means that sysfs was not mounted. You should be able to boot from the fallback image, which does not use autodetect. Figure out why /sys isn't mounted, as well, and fix that.
    This is also a somewhat crappy bug in mkinitcpio that lets you create an autodetect image that's useless. It'll be fixed in the next version of mkinitcpio that makes it to core.
    Last edited by falconindy (2011-07-04 17:41:19)

  • Unable to open excel file in office 2010 client.

    Greetings All,
    User is unable to opne excel file from a document libraryof sharepoint online. In advance settings of the document library I set files to be opened by Office client application. Because there was an issue to open the files in browser. So I decided to open
    the files in client application. I changed the settings in advacend settings in the document library so that user can open the files in client applicationtill users are facing issue. Below is the screen shot.
    user is having office 2010 and IE11 installed in his computer. Could you please help me how to get rid of this empty login screen?
    Kind Regards,
    Supriyo Manna

    Pagi Supriyo,
    Tools>Internet Options>Security tab, click "reset all zones to default"
    Trusted Sites Icon>Sites button...
    Does the user have your sharepoint site listed there? Do you use Group Policy to map it to the Trusted Sites list? Do you have
    http://microsoft.com listed(server versions of windows do)?
    MS Online services (or any https site) will work just as well if they are mapped to the internet zone.. try removing them from the Trusted Sites list.. There are IE security zone settings preventing navigation into a zone of lower integrity....
    If you require the site to be in your Trusted Sites list, then you need to add the following entries...
    *.Microsoft.com
    *.live.com
    *.outlook.com
    *.Microsoftonline.com
    (the * notation includes all subdomains)...so that all the services from msonline are in the same security zone.
    You may get better answers from a sharepoint support forum.
    Regards.
    Rob^_^

  • Unable to read multiple files in BODS

    hi all,
    i am unable to read multiple files [with same format of fields] using wild card characters in file name.
    scenario:
    i have 2 files: test1.xlsx & test2.xlsx
    in the excel file format, for the file name column, i have given test*.xlsx.
    and done the direct mapping to target column.
    but when i run the job i am getting below error.
    at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.ReadAllRows(MSExcelAdapterReadTable.java:1242)
    at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.readNext(MSExcelAdapterReadTable.java:1285)
    at com.acta.adapter.sdk.StreamListener.handleBrokerMessage(StreamListener.java:151)
    at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:448)
    at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
    at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1600)
    at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)
    please let me know if there is any solution to this.
    regards,
    Swetha

    Hi,
    i just copied a xlsx file with 3 different names (Test_Data.xlsx, Test_1.xlsx, Test_2.xlsx) and tried with below options and it worked for me.
    Note: I tried on the same OS and DS 4.1 SP2(14.1.2.378)versions. In Linux File names are case sensitive.

  • EA2: "Unable to Find Source File" when debugging

    Hi,
    I was remote debugging and hit a breakpoint in a trigger which I hadn't open.
    The "Unable to Find Source File" dialog popped up, saying "Unable to find source file for package $Oracle.Trigger.SCHEMA, filename TRIGGER.pls", with SCHEMA being the current schema and TRIGGER the trigger (which never got saved to file BTW).
    Additionally, this was pumped in the console (partial post due to limited buffer in Windows):
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.NullPointerException
            at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
    sLocator.java:104)
            at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
    tor(JdevClassLocatorFactory.java:101)
            at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
    Provider.java:347)
            at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
            at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
    rojectFileProvider.java:364)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
    seFileProvider.java:430)
            at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
    CachedFileProvider.java:697)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
    BaseFileProvider.java:377)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
    vider.java:350)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseF
    ileProvider.java:753)
            at oracle.jdeveloper.java.JavaModel.getSourceClass(JavaModel.java:364)
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:626
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:620
            at oracle.jdeveloper.runner.Source.findSourceFile(Source.java:565)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.findSourceFile(Debuggin
    gProcess.java:2680)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
    gProcess.java:2711)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
    ingProcess.java:2782)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
    ngProcess.java:3093)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
    buggingProcess.java:3011)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
    d(DebuggingProcess.java:132)
            at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
    java:1810)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassCastException: oracle.ide.model.UnrecognizedTextNode cannot be ca
    st to oracle.jdeveloper.library.JDKNode
            at oracle.jdeveloper.library.JLibraryList.addJDK(JLibraryList.java:211)
            at oracle.jdeveloper.library.JLibraryList.addJDK(JLibraryList.java:231)
            at oracle.jdeveloper.library.JLibraryManager.findOrCreateDefaultJDK(JLib
    raryManager.java:718)
            at oracle.jdeveloper.library.JLibraryManager.getDefaultJDK(JLibraryManag
    er.java:218)
            at oracle.jdeveloper.model.JProjectLibraries.getJDK(JProjectLibraries.ja
    va:121)
            at oracle.jdeveloper.java.locator.ProjectClassLocator.getJDKFor(ProjectC
    lassLocator.java:313)
            at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
    sLocator.java:73)
            at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
    tor(JdevClassLocatorFactory.java:101)
            at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
    Provider.java:347)
            at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
            at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
    rojectFileProvider.java:364)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
    seFileProvider.java:430)
            at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
    CachedFileProvider.java:697)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
    BaseFileProvider.java:377)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
    vider.java:350)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseF
    ileProvider.java:753)
            at oracle.jdeveloper.java.JavaModel.getSourceClass(JavaModel.java:364)
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:626
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:620
            at oracle.jdeveloper.runner.Source.findSourceFile(Source.java:565)
            at oracle.jdeveloper.runner.Source.showSourceFile(Source.java:150)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
    gProcess.java:2719)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
    ingProcess.java:2782)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
    ngProcess.java:3093)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
    buggingProcess.java:3011)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
    d(DebuggingProcess.java:132)
            at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
    java:1810)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.NullPointerException
            at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
    sLocator.java:104)
            at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
    tor(JdevClassLocatorFactory.java:101)
            at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
    Provider.java:347)
            at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
            at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
    rojectFileProvider.java:364)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
    seFileProvider.java:430)
            at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
    CachedFileProvider.java:697)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
    BaseFileProvider.java:377)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
    vider.java:350)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseF
    ileProvider.java:753)
            at oracle.jdeveloper.java.JavaModel.getSourceClass(JavaModel.java:364)
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:626
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:620
            at oracle.jdeveloper.runner.Source.findSourceFile(Source.java:565)
            at oracle.jdeveloper.runner.Source.showSourceFile(Source.java:150)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
    gProcess.java:2719)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
    ingProcess.java:2782)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
    ngProcess.java:3093)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
    buggingProcess.java:3011)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
    d(DebuggingProcess.java:132)
            at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
    java:1810)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassCastException: oracle.ide.model.UnrecognizedTextNode cannot be ca
    st to oracle.jdeveloper.library.JDKNode
            at oracle.jdeveloper.library.JLibraryList.findJDK(JLibraryList.java:55)
            at oracle.jdeveloper.library.JLibraryManager.findOrCreateDefaultJDK(JLib
    raryManager.java:702)
            at oracle.jdeveloper.library.JLibraryManager.getDefaultJDK(JLibraryManag
    er.java:218)
            at oracle.jdeveloper.model.JProjectLibraries.getJDK(JProjectLibraries.ja
    va:121)
            at oracle.jdeveloper.java.locator.ProjectClassLocator.getJDKFor(ProjectC
    lassLocator.java:313)
            at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
    sLocator.java:73)
            at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
    tor(JdevClassLocatorFactory.java:101)
            at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
    Provider.java:347)
            at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
            at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
    rojectFileProvider.java:364)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
    seFileProvider.java:430)
            at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
    CachedFileProvider.java:697)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
    BaseFileProvider.java:377)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
    vider.java:350)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getSourceClass(BaseF
    ileProvider.java:753)
            at oracle.jdeveloper.java.JavaModel.getSourceClass(JavaModel.java:364)
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:626
            at oracle.jdeveloper.runner.Source.findURLForClassSource(Source.java:620
            at oracle.jdeveloper.runner.Source.showSourceFile(Source.java:171)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
    gProcess.java:2719)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
    ingProcess.java:2782)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
    ngProcess.java:3093)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
    buggingProcess.java:3011)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
    d(DebuggingProcess.java:132)
            at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
    java:1810)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    java.lang.ClassCastException: oracle.ide.model.UnrecognizedTextNode cannot be ca
    st to oracle.jdeveloper.library.JDKNode
            at oracle.jdeveloper.library.JLibraryList.findJDK(JLibraryList.java:55)
            at oracle.jdeveloper.library.JLibraryManager.findOrCreateDefaultJDK(JLib
    raryManager.java:702)
            at oracle.jdeveloper.library.JLibraryManager.getDefaultJDK(JLibraryManag
    er.java:218)
            at oracle.jdeveloper.model.JProjectLibraries.getJDK(JProjectLibraries.ja
    va:121)
            at oracle.jdeveloper.java.locator.ProjectClassLocator.getJDKFor(ProjectC
    lassLocator.java:313)
            at oracle.jdeveloper.java.locator.ProjectClassLocator.<init>(ProjectClas
    sLocator.java:73)
            at oracle.jdeveloper.java.locator.JdevClassLocatorFactory.getProjectLoca
    tor(JdevClassLocatorFactory.java:101)
            at oracle.jdeveloper.java.provider.ProjectFileProvider$6.run(ProjectFile
    Provider.java:347)
            at oracle.ide.model.NodeUtil.runUnderReadLock(NodeUtil.java:150)
            at oracle.jdeveloper.java.provider.ProjectFileProvider.getClassLocator(P
    rojectFileProvider.java:364)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassExactImpl(Ba
    seFileProvider.java:430)
            at oracle.jdeveloper.java.provider.CachedFileProvider.getClassExactImpl(
    CachedFileProvider.java:697)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClassLeftToRight(
    BaseFileProvider.java:377)
            at oracle.jdeveloper.java.provider.BaseFileProvider.getClass(BaseFilePro
    vider.java:350)
            at oracle.jdeveloper.java.JavaModel.getClass(JavaModel.java:317)
            at oracle.jdeveloper.runner.Source.findURLForClassStub(Source.java:642)
            at oracle.jdeveloper.runner.Source.findURLForClassStub(Source.java:636)
            at oracle.jdeveloper.runner.Source.findOpenSourceStub(Source.java:661)
            at oracle.jdeveloper.runner.Source.showSourceFile(Source.java:202)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceFile(Debuggin
    gProcess.java:2719)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.showSourceIPIcon(Debugg
    ingProcess.java:2782)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.debuggeeStopped(Debuggi
    ngProcess.java:3093)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.activeProgramStopped(De
    buggingProcess.java:3011)
            at oracle.jdevimpl.runner.debug.DebuggingProcess.mav$activeProgramStoppe
    d(DebuggingProcess.java:132)
            at oracle.jdevimpl.runner.debug.DebuggingProcess$7.run(DebuggingProcess.
    java:1810)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)Pre-1.5, there were some occasions where the dialog would show, but now it seems it shows whenever the source isn't opened (tried also with a package).
    Also pre-1.5, indicating the correct connection to search the source in would put sqldev on the right path again and the source would open correctly, but this doesn't work anymore. Maybe that's because you had to use the second drop-down, and in 1.5 there's only 1, which might be the useless (first) one from pre-1.5.
    Besides, judging from the "$Oracle.Trigger.SCHEMA", I'd say sqldev already knows the right schema anyway, and the dialog shouldn't even pop up.
    BTW, after opening the source myself, the debugger stepped right in...
    Hope you've got enough to go on,
    K.
    Message was edited by:
    -K-

    For the previous issues, see [2514] Remote debugger asks for source file.
    K.

  • Unable to find source file

    I had a error message "Unable to Find Source File" when I used JDeveloper debugger.
    The debugger has finished stepping, but it cannot find the source file.
    Unable to find source file for package oracle.e1.bssv....
    Project xxxxxx.jpr has already been searched
    * Look for the file in Project
    * Let me find the file myself with the open file dialog
    * Don't ask me about this file again
    The above 3 options are available
    I checked and found previous posting for use 'Step Over' to bypass this problem. I tried and it did not work either.
    Please let me know if anybody has similar problem and know the solution. Thanks
    JDeveloper 10.1.3.4.0

    You see this dialog because you stepped into a statement which requires source code which is not part of your project (or you don't have). If you have the sources you can browse for them, if you don't have them answer the dialog with the third option.
    You should try 'step out' instead of step over. Once you see this message it's to late to step over the statement (pointing to source you don't have available). You may need to set out a couple of times to get back to code you have sources from.
    Timo

  • Unable to install Sun Java System MAPI Service Providers

    I tried to install the outlook connector for Outlook 2003. I've got the following error message. It said that Unable to install Sun Java System MAPI Service Providers. I am using Windows 2000 SP3 platform
    --- 2005/06/22 11:41 ---
    11:41:26 [5365] Outlook version is 11.0.6359.0.
    11:41:26 ERROR: [5501] Unable to find MAPI directory.
    11:41:26 No directory "C:\Program Files\Common Files\System\MAPI\LANGID" with LANGIDs: 1033, 0, 1033, 1033, 1033, 1033.
    11:41:26 [5475] TMP directory is 'C:\DOCUME~1\admin\LOCALS~1\Temp'.
    11:41:28 [5362] Checking Windows version.
    11:41:28 [5363] Windows version is 5.0.
    11:41:28 [5364] Checking Outlook version.
    11:41:28 [5509] Checking default mail client.
    11:41:28 [5508] Default mail client is 'Microsoft Outlook'.
    11:41:28 [5178] Verifying that Outlook is not running.
    11:41:28 [5179] Trying to login to shared session.
    11:41:29 ERROR: [5501] Unable to find MAPI directory.
    11:41:29 No directory "C:\Program Files\Common Files\System\MAPI\LANGID" with LANGIDs: 1033, 0, 1033, 1033, 1033, 1033.
    11:41:29 [5366] Checking whether Sun Java System MAPI Service Providers are installed.
    11:41:29 ERROR: [5501] Unable to find MAPI directory.
    11:41:29 No directory "C:\Program Files\Common Files\System\MAPI\LANGID" with LANGIDs: 1033, 0, 1033, 1033, 1033, 1033.
    11:41:31 ERROR: [5351] Unable to install Sun Java System MAPI Service Providers.
    11:41:31 ERROR: Unable to install Sun Java System MAPI Service Providers.
    Anyone can help for this? Thanks

    I have used this method, but the dog gone service does not return a started status. It just keeps saying starting even after the service starts.
    Download sc.exe from ftp://ftp.microsoft.com/reskit/win2000/sc.zip and copy
    it to system32
    Open a command line, change to C:\Sun\AppServer\lib and run:
    C:\winnt\system32\sc.exe create SJdomain1 binPath=
    "C:\Sun\AppServer\lib\appservService.exe
    \"C:\Sun\AppServer\bin\asadmin-pause.bat start-domain domain1\"
    \"C:\Sun\AppServer\bin\asadmin-pause.bat stop-domain domain1\"" start= auto
    DisplayName= "SunJava domain1"
    1. I'm no fan of windows and I prefer Solaris or Linux
    2. Windows should have this tool as a part of the OS so I don't have to go hunt for it
    3. I guess this solution is better than no solution at all :)

  • Since last update, unable to open PDF files from either banking site. The other (IE) works fine but I hate IE. I deleted newer versions and went back to older releases. No help, same thing. Checked settings in options. That is ok. What's up?

    Unable to open PDF files from my banking statements.

    I think almost every dev is on arch-general, so that is the place to contact the group in general.  Specific points can probably be emailed to the dev involved, if one is identifiable and if the bug tracker is not a better place (bug reports to my email get ignored).
    I think the whole problem here is that there is really no dev in charge of that package.  So your emails were probably seen then skipped over by all devs thinking not my problem...  (I know that is true for me).   Then Andrea noticed an "orphan" package that needed updated and went ahead with it without connecting it to your previous emails, which is unfortunate.
    Now our maintainer backend is fixed, hopefully we can get all the orphan packages adopted out, or at least know if we need to bring on new people to maintain them.  That way, there should always be someone who information about specific packages should be sent to.

  • Unable to import .avi files from digicam

    I'm unable to import .avi files from my finepix digicam. I get a message that says the files are unreadable. With the previous iPhoto version (v 06) I didn't have any problems. Any thoughts?

    I agree with TD regarding Image Capture. I have the same problem with larger video clips and iPhoto 6. You can use Image Capture, choose "Download Some", select just the movie, and upload it to your Desktop. Ignore the blue Progress bar, as it seems to jump from zero to 100% with no real indication of the download progress. Be patient, leave it alone, and eventually the movie should appear on your Desktop. Once there, iPhoto should have no trouble importing it.
    Regards.

  • "Unable Able To Create File" error message and Disc Scan prob

    Player is a 60GB zen Extra with 24.2GB free space and 5,680 files of MP3, WAV and WMA.
    Unable to transfer any files from MediaSource to the player. Message is "Unable to create file, restart player..". I can, however, copy files off the player into MediaSource successfully. The player also plays O.K. Just can't copy any more files to it.
    Attempts to resolve the problem have been to try to copy different files, try another computer, try another USB cable, do a Disc Scan, update the driver and O/S to the current versions. None of these have resolved the problem. I can, however, delete a file from the player and then copy that same file back to the player.
    What is more perplexing is that the first two times I did a Disc Scan the player stopped at 97%. The player just cycled down and didn't complete the scan. I did a couple more disc scans and the player then froze at 95%. I tried a few more times and now the player freezes at 94%.
    I have run the disc scan previously when the player has froze and the disc scan has always completed to 00% and resolved whatever the problem was at the time.
    I am hesitant to format the disc and not be able to add anything back to the player. 5,680 files to play is better than 0.
    Any clues? Oh, and I am out of warranty range as usual.
    Thanks

    Thank You for the feedback. The problems appears to have surfaced after I transferred 350+ mp3 files in one session from the player to My PC Library in MediaSource. The player, however, did not seem particulary warm or have strange noises eminating from it during or after the transfer so I don't know if this is the cause of the problems or not. I was able to transfer mp3 files to the player sporadically after a few disc scans, reboots and rebuilds, but as noted in my initial post the problems have worsened.
    Is a 350+ file transfer a bit too much for the player to handle in one session, or does this lend itself to the possibility of damaging (frying) part of the disc? If so, maybe a precautionary advise to other users contemplating large single session file transfers may be beneficial in preventing player damage and owner frustration.
    I like my Nomad Zen Extra and if the disc is damaged I will purchase another in time. I am a bit bummed at the current state of the player. Guess I'll format the disc and hope for the best.

Maybe you are looking for

  • Creation of DB Adapter for calling stored procedure in MS SQL server 2008

    Hi, I am trying to create WSDL and XSD using oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts command line tool to access a MS SQL Server 2008 store procedure and the utility throws the below error, C:\jdevstudio10134\integration\lib>java oracle.

  • Regarind  CCMS Alert configuration in XI/PI

    Hi Experts, 1) I have created distribution list “DIS_LIST ” in default client 000, in between I have assigned SAP Userids with e-mail ids in SU01 of normal client 001. 2) In normal client 001:  Goto RZ21-> methods -> Display Overview -> The method i

  • Http Error 500 in javascript using phone gap

    Hello, I am face the problem in http connection with server  using java script concept and error as "500 error" when connect to server. I have checked log over server, that our request is reached there and not get result in proper way. Thanks in Adva

  • Portal and IC Webclient Transaction Launcher conflict

    We have integrated IC Web Client within Enterprise Portal by creating iview that launches IC Web client in a new browser window Additionally, within IC Web client we have configured the Navigation Bar using the transaction launcher launch to various

  • Querry on third party PR

    Hi All, I am an SD consultant configuring a 3rd party process, i have the following querries: 1. When i create a PR automatically from a sales order will it copy all the items from the sales order - even if the items are supplied by different vendors