Author Archives: admin

java.io.NotSerializableException

I was getting this error today during writing a program java.io.NotSerializableException: com.xxxx.xxx.xxx.thunderhead.Project    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)    at java.util.ArrayList.writeObject(ArrayList.java:570)  

Posted in Java, Troubleshoot | Leave a comment

java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/NONE/OAEPPADDING

Got below error during web service request:- java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/NONE/OAEPPADDINGat javax.crypto.Cipher.getInstance(DashoA12275)at org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:703)at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:145)at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:114)

Posted in Articles | Leave a comment

java.lang.IllegalStateException: Cannot map handler [controller] to URL path : There is already handler

I am using Spring 3.0 for my new application…I am not very familiar with annotation but learning them they are cool.  Today I faced “Cannot Map Handler [XXX] to URL Path” error, while running my page. Later debug I found … Continue reading

Posted in Java, Spring | Tagged , | Leave a comment

When we need HttpSessionBindingListener?

The HttpSessionBindingListener interface is implemented when an object needs to be notified if it's being bound to a session or unbound from a session. Objects implement this interface so that they can be notified when they are being bound or … Continue reading

Posted in HowTo, Java | Leave a comment

Firefox 3.5+ : Tooltip Blank Bug

In case you're seeing blank tooltips in Firefox, please uninstall and reinstall the latest version of Toolbar from the Toolbar homepage: http://www.google.com/toolbar It will resolve the issue. Thanks,

Posted in Troubleshoot | Leave a comment

SVN Cleanup fails – how to resume

Today I was  trying to cleanup a project, I got error. I tried deleting the log file in the .svn directory and I also deleted the offending file in .svn/props-base then did the cleanup. It works and I resumed my … Continue reading

Posted in HowTo, Troubleshoot | Leave a comment

HowTo Get RID of Just-In-Time debugger

I installed Visual Studio, and with this it installed a Just-In-time script debugger .This Just-In-Time seems to come up all the time when I run Internet Explore and on each page of IE.  Solution Open Start>Control Panels>Internet Options: Advanced and … Continue reading

Posted in HowTo, Troubleshoot | Leave a comment

GURFL data

GURFL file is a list of operators and their associated IP address ranges. This is a good way to find out from which mobile carrier (ie. which country) does a request come from. Earlier it was available at:http://www.whirlymobile.com/resources/gurfl/operator.csv  But now … Continue reading

Posted in Mobile | 2 Comments

Log4j errors : log4j:WARN No appenders could be found for logger, log4j:WARN Please initialize the log4j system properly

This is a very common problem, it occurs when log4j.properties not found in classpath. Create a file called log4j.properties. Place it in the root folder where your java classes are found. When log4j initializes, it will look for a file … Continue reading

Posted in Java, log4j | Leave a comment

org.h2.jdbc.JdbcSQLException: The object is already closed [90007-113]

While running junit using in memory database H2 I was hitting this error. I was testing my spring DAO classes that are using JDBCTemplate. In a single Junit testing, to test various scenario  I was calling a single DAO method … Continue reading

Posted in Database, h2, hsqldb | Leave a comment