I am a big fan of xplorer2 , Attched is the registry entry which will make all your windows open with x2 by default.
Download
after downloding open the file with a text editor and replace D:\\arunyogesh_S\\Program
Files\\xplorer2\\xplorer2_uc.exe with the file path in your location
better yet, no need to download the file open regedit, navigate to
HKEY_CLASSES_ROOT\Directory\shell
it might have no value by default, update it to "open_x2" without the quotes.
I faced this issue today,
i got this error
"Could not find a getter for xBorderOneWayCd in class com.test.sample.vo"
while using hibernate, i could not find out what was wrong, the getter is there in the vo but yet it says it cant find the getter....turns out the problem is with the character "x" in the String name.
i renamed the character to borderOneWay and it works like a dream!
In a related note, there is one other reason which could cause this error, if you declare a string with a capital first character say "String SampleData" instead of "String sampleData" then again you would face this error.
i came across a rather weird problem today,
ArrayList listOfCd=new ArrayList();
HashMap newHash= new LinkedHashMap();
for(int i=0;i<someThing.size();i++)
{
listOfCd.clear();
//if same key has been processed before
//append the values to the old List
if(newHash.containsKey(key))
{
listOfCd=(ArrayList)newHash.get(key);
}
listOfCd.add(some data);
newHash.put(key,listOfCd);
}
this is the logic i use to store some list in a HashMap,
what happened was, the HashMap contained the same list for all the key`s! this baffled me for quite some time untill i saw the list.clear(), it turns out the list.clear() clears all the elements previously stored in the HashMap as well! since arrayList uses only references to store Data.
be careful when you use list.clear() next time!