# parseSafe not working correctly!

**URL:** <https://forum.inductiveautomation.com/t/parsesafe-not-working-correctly/9308>\
**Category:** Module Development\
**Created:** [November 10, 2014, 12:10pm UTC](https://forum.inductiveautomation.com/t/parsesafe-not-working-correctly/9308 "2014-11-10T12:10:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [November 10, 2014, 12:10pm UTC](https://forum.inductiveautomation.com/t/parsesafe-not-working-correctly/9308/1 "2014-11-10T12:10:36Z")

</div>

Hi

I observer that in "com.inductiveautomation.ignition.common.sqltags.parser" class, the "parseSafe" method which for non-existant path strings, is supposed to throw exception (Don't know which exception! IOException or NullPointerexception, i am using "catch (Exception e)" in code) and return null, is not throwing exception in my case!

Can you explain what's going wrong!. Am I using right class and method!

BR  
PRAMANJ

---

<div class="post-metadata">

**Author:** ![PRAMANJ](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pramanj/32/66935_2.png) [@PRAMANJ](https://forum.inductiveautomation.com/u/PRAMANJ)\
**Post date:** [November 11, 2014, 4:48pm UTC](https://forum.inductiveautomation.com/t/parsesafe-not-working-correctly/9308/2 "2014-11-11T16:48:32Z")

</div>

Hi,  
Can some one share his experience with this method? As per the Javadocs it is supposed to return null and throw an exception, but it doesn't happen! Then how to eliminate erroneous configured paths?  
PRAMANJ
