Amit
asked on
Run Time error in a Javcode - at gnu.xml.aelfred2.XmlReader.setContentHandler
Hi,
I have a java code that is compiling correctly but is breaking at the run time and I am getting the following error. Any ideas why I could be getting it
thanks
-anshu
[com.microstrategy.utils.x ml SEVERE] [10/19/2010 15:17:49:263] [0] [AbstractHandler.startElem ent] already parsing (java.lang.IllegalStateExc eption) : [java.lang.IllegalStateExc eption: already parsing
at gnu.xml.aelfred2.XmlReader .setConten tHandler(X mlReader.j ava:106)
at com.microstrategy.utils.xm l.SAXSuppo rtImpl.pus hContentHa ndler(Unkn own Source)
at com.microstrategy.utils.xm l.SAXSuppo rtImpl.pus hContentHa ndler(Unkn own Source)
at com.microstrategy.utils.xm l.Abstract Handler.<i nit>(Unkno wn Source)
at com.microstrategy.web.pref erences.Pr eferencesM apSources. <init>(Unk nown Source)
at com.microstrategy.web.pref erences.Pr eferenceDe finitionsM ap$Definit ionHandler .doStartEl ement(Unkn own Source)
at com.microstrategy.utils.xm l.Abstract Handler.st artElement (Unknown Source)
at gnu.xml.aelfred2.SAXDriver .startElem ent(SAXDri ver.java:8 34)
at gnu.xml.aelfred2.XmlParser .parseElem ent(XmlPar ser.java:1 037)
at gnu.xml.aelfred2.XmlParser .parseCont ent(XmlPar ser.java:1 207)
at gnu.xml.aelfred2.XmlParser .parseElem ent(XmlPar ser.java:1 038)
at gnu.xml.aelfred2.XmlParser .parseDocu ment(XmlPa rser.java: 416)
at gnu.xml.aelfred2.XmlParser .doParse(X mlParser.j ava:167)
at gnu.xml.aelfred2.SAXDriver .parse(SAX Driver.jav a:320)
at gnu.xml.aelfred2.XmlReader .parse(Xml Reader.jav a:294)
at com.microstrategy.utils.xm l.SAXSuppo rtImpl.par se(Unknown Source)
at com.microstrategy.web.pref erences.Pr eferenceDe finitionsM ap.load(Un known Source)
at com.microstrategy.web.pref erences.Un sessionedC acheBase.l oad(Unknow n Source)
at com.microstrategy.web.pref erences.Un sessionedC acheBase.l oad(Unknow n Source)
at com.microstrategy.utils.ca che.CacheB ase.get(Un known Source)
at com.microstrategy.web.pref erences.Pr eferencesM gr$Unsessi onedPrefer encesCache .load(Unkn own Source)
at com.microstrategy.utils.ca che.CacheB ase.get(Un known Source)
at com.microstrategy.web.pref erences.Pr eferencesM gr.getSysD efaultPref erences(Un known Source)
at com.microstrategy.web.pref erences.Pr eferencesM gr.getSysD efaultPref erences(Un known Source)
at com.microstrategy.utils.xm l.SAXSuppo rtImpl.<cl init>(Unkn own Source)
at com.microstrategy.utils.xm l.SAXSuppo rt.getInst ance(Unkno wn Source)
at com.microstrategy.utils.xm l.SAXSuppo rt.getInst ance(Unkno wn Source)
at com.microstrategy.web.pref erences.Pr eferenceDe finitionsM ap.load(Un known Source)
at com.microstrategy.web.pref erences.Un sessionedC acheBase.l oad(Unknow n Source)
at com.microstrategy.web.pref erences.Un sessionedC acheBase.l oad(Unknow n Source)
at com.microstrategy.utils.ca che.CacheB ase.get(Un known Source)
at com.microstrategy.web.pref erences.Pr eferencesM gr$Unsessi onedPrefer encesCache .load(Unkn own Source)
at com.microstrategy.utils.ca che.CacheB ase.get(Un known Source)
at com.microstrategy.web.pref erences.Pr eferencesM gr.getSysD efaultPref erences(Un known Source)
at com.microstrategy.web.pref erences.Pr eferencesM gr.getSysD efaultPref erences(Un known Source)
at com.microstrategy.web.obje cts.WebISe rverSessio nImpl.<cli nit>(Unkno wn Source)
at com.microstrategy.web.obje cts.WebISe rverSessio nListImpl. newSession (Unknown Source)
at com.microstrategy.web.obje cts.WebSes sionInfoLi stImpl.get ActiveSess ion(Unknow n Source)
at com.microstrategy.web.obje cts.WebObj ectsFactor y.getIServ erSession( Unknown Source)
at CreateUser.main(CreateUser .java:24)
]
I have a java code that is compiling correctly but is breaking at the run time and I am getting the following error. Any ideas why I could be getting it
thanks
-anshu
[com.microstrategy.utils.x
at gnu.xml.aelfred2.XmlReader
at com.microstrategy.utils.xm
at com.microstrategy.utils.xm
at com.microstrategy.utils.xm
at com.microstrategy.web.pref
at com.microstrategy.web.pref
at com.microstrategy.utils.xm
at gnu.xml.aelfred2.SAXDriver
at gnu.xml.aelfred2.XmlParser
at gnu.xml.aelfred2.XmlParser
at gnu.xml.aelfred2.XmlParser
at gnu.xml.aelfred2.XmlParser
at gnu.xml.aelfred2.XmlParser
at gnu.xml.aelfred2.SAXDriver
at gnu.xml.aelfred2.XmlReader
at com.microstrategy.utils.xm
at com.microstrategy.web.pref
at com.microstrategy.web.pref
at com.microstrategy.web.pref
at com.microstrategy.utils.ca
at com.microstrategy.web.pref
at com.microstrategy.utils.ca
at com.microstrategy.web.pref
at com.microstrategy.web.pref
at com.microstrategy.utils.xm
at com.microstrategy.utils.xm
at com.microstrategy.utils.xm
at com.microstrategy.web.pref
at com.microstrategy.web.pref
at com.microstrategy.web.pref
at com.microstrategy.utils.ca
at com.microstrategy.web.pref
at com.microstrategy.utils.ca
at com.microstrategy.web.pref
at com.microstrategy.web.pref
at com.microstrategy.web.obje
at com.microstrategy.web.obje
at com.microstrategy.web.obje
at com.microstrategy.web.obje
at CreateUser.main(CreateUser
]
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>>Hi CEHJ, I am running it on eclipse. Is there a setting for that to avoid multithreaded environment
No - that's down to your app - not the IDE
No - that's down to your app - not the IDE
:-)
ASKER
Hi Objects, How can i cofigure my app to use a different parser