Friday, January 20, 2006

Invoking by reflection - methods with interfaces as parameters

Well, currently I can't.

SAXParseException The processing instruction target matching "[xX][mM][lL]"

This is from an officemate:

SAXParseExceptionThe processing instruction target matching "[xX][mM][lL]"

Diagnosis:

"the processing instruction target matching "[xX][mM][lL]" is not allowed"
is a common problem that means there are some white spaces before the XML
declaration.

some link

Thursday, January 19, 2006

Free Bug Tracking Systems

In a previous company, an in-house-developed issue tracker was used and it is somewhat adequate but considering that that company was a small one, developing something like that in-house is a huge waste of resources when a lot of better-quality and free issue trackers are just a download away.

Currently, Bugzilla is used but I guess there are better free software than this. I just usually make use of the functions "Find a Specific Bug", and "Resolve bug, changing resolution to FIXED". The advanced query functions show just a lot of information in a very unstructured (and frustrating) way. Although I just usually make use of the two aforementioned functions, I feel that those two are already adequate. It's just frustrating that their other functions are not too impressive. And the UI is also unimpressive.

I came across MySQL's Eventum while browsing on information about their database. Eventum screenshots look good. I guess the project is still very young since its 1.1 version was released just last June 2004 and is currently in their 1.7.0 version.

I just heard of a project who migrated from JIRA to Mantis. I thought that must be something very good since JIRA seems to be very good already. It is among the 200 most active projects on sourceforge. This might be promising, but unfortunately, the website is hardly accessible today.

And then I came across this most promising project called Trac. One of the users on their list striked me: Ruby on Rails. Trac has integration with subversion as opposed to Eventum's CVS integration. Trac's timeline include integration with CVS and Arch though, while Eventum's roadmap does not mention integration with other version control systems.

Selenium on testing web applications

The link.

Just downloaded version 0.6 but not yet tested it. It so happened that I am doing manual regression tests and wanted to incorporate Selenium in the process. With the short time that I have I can't try Selenium because I'm halfway with the manual tests already. I have been exposed to HTTPUnit and HTMLUnit but Selenium seems easier even in its driven mode.

Being run in the browser itself directly, the application could be tested for its compatibility with the actual browser running it. Actually these characteristics of Selenium are highlighted in their website.

Tomcat problem - java.lang.OutOfMemoryError: PermGen space

I think I get these errors when I do deployment and undeployment of wars in "hot deploy". Many articles point to this source in theserverside.com : "Explaining and Fixing java.lang.OutOfMemoryError: PermGen" ; there are some discussions in Resin which somehow blame leaks in CGLIB which is utilized by Hibernate. CGLIB claims a fix for this concerning ThreadLocals for release 2.1_03. I'm not yet familiar with ThreadLocals. I haven't tried newer CGLIB releases that has that fix. Maybe in another project utilizing Hibernate. I should also document in this blog how to manipulate the memory for the jvm using the command-line (one of those -Xm parameters..).

Javascript issue - window.onload

problem was with

window.onload = ...


inside a script tag, which was resolved by a
script tag with the following attributes:

FOR=window EVENT=onload LANGUAGE="JScript"


and put the onload logic between the scrip tags,
which works for both IE and Firefox.

W3 Schools - The best things in life are free

..hope they remain as such. Since I turned to them for reference, I lost the urge to always consult HTML Complete. A downside could be that they are online, instead of being a book. Most consulted are referrences on "HTML 4.01" and "HTML DOM".

The link.

Web Developer - Firefox Extension

The link is here.

I have installed this tool months ago and have not used it very much, except for "Forms" > "Display Form Details" so as to avoid viewing the source often. That specific function is very helpful nonetheless. The "shortcut" which is Ctrl+Shift+U is, well.. longer than Firefox's Ctrl+U. Should I discover other useful functions, then that would be great.