xmlGeneratorMac.sh throwing IllegalAccessError
Oxygen general issues.
-
- Posts: 3
- Joined: Thu Jan 06, 2011 7:09 pm
xmlGeneratorMac.sh throwing IllegalAccessError
I'm trying to run xmlGeneratorMac.sh and am getting an IllegalAccessError. I'm able to run "Generate Sample XML Files..." in the UI without a problem
I added the oxygen directory to my PATH and am running it where the configuration file is.
Mac OS X 10.6.5
Oxygen XML Editor 12.0, build 2010100114
Any ideas of the problem?
> xmlGeneratorMac.sh test-oxygen-config.xml
Exception in thread "main" java.lang.IllegalAccessError: tried to access field org.apache.xml.resolver.tools.CatalogResolver.catalogManager from class ro.sync.xml.b.h$6
at ro.sync.xml.b.h$6.b(Unknown Source)
at ro.sync.xml.b.h$6.resolveEntity(Unknown Source)
at ro.sync.xml.b.n.resolveEntity(Unknown Source)
at ro.sync.xml.parser.ParserCreator.getXMLInputSource(Unknown Source)
at ro.sync.contentcompletion.xml.c.g.f(Unknown Source)
at ro.sync.xml.generator.m.k(Unknown Source)
at ro.sync.xml.generator.n.rb(Unknown Source)
at ro.sync.xml.generator.bb.g(Unknown Source)
at ro.sync.xml.generator.n.jc(Unknown Source)
at ro.sync.xml.generator.XMLInstanceGenerator.main(Unknown Source)
I added the oxygen directory to my PATH and am running it where the configuration file is.
Mac OS X 10.6.5
Oxygen XML Editor 12.0, build 2010100114
Any ideas of the problem?
> xmlGeneratorMac.sh test-oxygen-config.xml
Exception in thread "main" java.lang.IllegalAccessError: tried to access field org.apache.xml.resolver.tools.CatalogResolver.catalogManager from class ro.sync.xml.b.h$6
at ro.sync.xml.b.h$6.b(Unknown Source)
at ro.sync.xml.b.h$6.resolveEntity(Unknown Source)
at ro.sync.xml.b.n.resolveEntity(Unknown Source)
at ro.sync.xml.parser.ParserCreator.getXMLInputSource(Unknown Source)
at ro.sync.contentcompletion.xml.c.g.f(Unknown Source)
at ro.sync.xml.generator.m.k(Unknown Source)
at ro.sync.xml.generator.n.rb(Unknown Source)
at ro.sync.xml.generator.bb.g(Unknown Source)
at ro.sync.xml.generator.n.jc(Unknown Source)
at ro.sync.xml.generator.XMLInstanceGenerator.main(Unknown Source)
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: xmlGeneratorMac.sh throwing IllegalAccessError
Hi,
Thanks for reporting this problem.
It is an issue in our startup scripts and we'll fix it.
In the meantime you can edit the xmlGeneratorMac.sh and replace the line:
with:
If you have problems operating this change you can email us and we'll provide the entire modified script.
Regards,
Radu
Thanks for reporting this problem.
It is an issue in our startup scripts and we'll fix it.
In the meantime you can edit the xmlGeneratorMac.sh and replace the line:
Code: Select all
CP=$OXYGEN_HOME/lib/log4j.jar:$OXYGEN_HOME/lib/xercesImpl.jar:$OXYGEN_HOME/lib/resolver.jar:$OXYGEN_HOME/lib/oxygen.jar:$OXYGEN_HOME/classes:$OXYGEN_HOME
Code: Select all
CP=$OXYGEN_HOME/lib/log4j.jar:$OXYGEN_HOME/lib/oxygen.jar:$OXYGEN_HOME/classes:$OXYGEN_HOME:$OXYGEN_HOME/lib/xercesImpl.jar:$OXYGEN_HOME/lib/resolver.jar
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service