Category Archives: Uncategorized

[Bugs][PeopleSoft] Fetching the full file content deletes file from disk.

PeopleTools Version: 8.52
PeopleSoft Version: 9.1

This is bloody strange but its happening for reasons that I do not know of yet. I open a file using the Peoplecode

Local File &l_fileData;
&l_fileData = GetFile(&l_strFilename, “R”, %FilePath_Absolute);
Local string &l_strData = &l_fileData.GetString(true);

and as soon as that last line of code, which calls the GetString() method executes, I find that the file is no longer in the directory. It doesn’t matter whether the parameter to the GetString() method is True or False. WTF is going on?!?! Got to talk to the folks in Oracle via a SR ticket.

If you have a solution to this problem OR know of a bug report that addresses this, please post a reference to that content. Thanks!

[Bugs][VirtualBox] Dynamic hard disk always showing full.

Product: VirtualBox
Version: 4.3.4 r91027
Host: Windows 8
Guest: ArchLinux 2013.12.01

The hard disk that I added to this VM is a SATA drive with 1G capacity and this hard disk uses dynamic storage. On Windows, I see that this VDI disk (which contains the OS) consumes just 700M of space. However, after installing Arch on this disk and by using the command df -H, I find that the disk is 99% full and consuming a total of 942M. The available space is 27M. But… But… When I execute

dd if=/dev/zero of=dummyfile count=1 bs=104857600

only an 80M file gets created. If you look at the command, you will see that I’m trying to create a 100M file. Just to be sure that the disk is actually full, I copy this file to another filename

cp dummyfile anotherdummyfile

and just as expected, the error pops up stating that the disk is full. Irritating, yet interesting! I’m gonna have to explore more on this and if this situation hasn’t been explained or covered in a bug report, I will post a bug.

If you already know why this is happening or a link to a bug report that addresses this, drop in a reference in this post. It will help me improve this KB.


I just discovered that the hard disk was actually full. The reason behind the hard disk being full is the swapfile. I had created a swapfile and not a swap partition and this swapfile was 256MB in size. Pretty dumb of me if you think about it!

Why this?

I figured I needed to log my finds and builds and give back more to the dev community. So I got off my lazy ass and started this blog. I don’t mean it literally cos I am still sitting in my couch while I type this. I meant that I needed to spend time in “documenting” what I do and find. Documentation actually sucks and is time consuming but I think it will do good to others.

Feel free to explore and comment as you please! Some will be responded to and some will be ignored. But all forms of conversations are welcome. Kick me if I am wrong at something. Kicks are welcome as well.