gspatel

Austin, TX

gauravspatel.com

Age: 28

Attack life, it's going to kill you anyway!

Apr
28
comment cannot load such file -- ruby-wmi (LoadError) & cannot load such file -- win32/service (LoadError)
needed gem install win32-service as well
Apr
24
awarded Yearling
Mar
9
awarded Caucus
Mar
9
awarded Constituent
Feb
18
revised Null pointer exception when creating custom Dao with ormlite-android
added 363 characters in body
Feb
18
comment Null pointer exception when creating custom Dao with ormlite-android
Okay, I've debugged and found something out!! I was using DatabaseConfigUtil to preparse my annotations which won't write daoClass to the .txt file for some reason (i've rebuilt the project and then parsed and changed other things but the daoClass doesn't ever appear in the output of the ConfigUtil). When I removed using the parsed file, all of my previous code worked. I had debugged into DaoManager.lookupDao(key) where Dao<?, ?> dao = classMap.get(key); kept returning null (the my error). Gray, any idea on why the ConfigUtil isn't capturing daoClass or if I'm doing something wrong there.
Feb
17
comment Null pointer exception when creating custom Dao with ormlite-android
Gray, appreciate you responding. I've added my code from my DatabaseHelper. Something is very wrong...this is why I'm stumped. The previous tutorial cast getHelper to what would be BeerDao in my example, but that also causes the Null error as well.
Feb
17
revised Null pointer exception when creating custom Dao with ormlite-android
Adding edits according to Gray
Feb
16
comment Actionbar Sherlock Search Widget expand does not work
I was expanding the search widget incorrectly and using setIconifiedByDefault instead of using expandActionView....this fixed my issue!
Feb
15
answered force the code to keep running after page closes
Feb
15
comment how to rewrite url's as proper SEO url in kohana 3.2?
Can you give me an error or maybe some information on what is not working with the new solution?
Feb
15
awarded Student
Feb
15
answered I want count comment (Kohana 3.2)
Feb
15
asked Null pointer exception when creating custom Dao with ormlite-android
Feb
8
comment Failed to build ActionBarSherlock in IntelliJ IDEA
Starting from scratch and following the tutorial fixed my problem. I couldn't figure out how to add as a module dependency.
Feb
6
awarded Supporter
Feb
6
awarded Autobiographer
Feb
2
awarded Autobiographer
Feb
2
awarded Supporter
Dec
21
awarded Autobiographer
1 2 3 4 5