error

java.lang.ClassCastException: [Ljava.lang.String; cannot be cast to java.lang.String

It happened with me while i was trying to extract a HTTPRequest parameter from an ActionInvocation object. I was writing an interceptor in Struts2 and was trying to check a request parameter. This is how you do it when you are in an interceptor: And it gave me following error: According to the Java Doc [...]


Database page corruption on disk or a failed file read …. Again – Mysql

Again encountered the stopped server in the morning because of page file corruption. Reason was the bad power situation in office during night shifts and which costs us the whole day to repair the testing server. As from the last time learnings of page file corruption (previous post) we knew how to start the server [...]


Database page corruption on disk or a failed file read – Mysql

We got stuck into a situation last week and problem seemed unrecoverable. Here I am trying to state the problem and then will describe about the solution which we applied to save us. We realized in the mid-night, that our server is not functioning and the reason was the main application which is a web [...]


Unable to transcode font file — Flex Builder compilation

I faced this problem recently while working on Flex builder where I wanted to use the free font file with my Flex application. I was using this by adding it in style like below: <mx:Style> @font-face { src: url(‘assets/fonts/FreeSans.ttf’); font-family: FreeSans; } </mx:Style> While compiling this msxml file i found the error below: Unable to [...]


Mysql Bug — DatabaseMetadata.getColumns() doesn’t return the correct column names

We faced an issue recently while doing our work for making the website and our solution enabled for multiple languages. In certain feature, fields specified by users were required where user can specify any number of custom fields attached with their profile and save them in database along with the profile. As we needed to [...]