Property "root-chunk-override" has not been set

Post here questions and problems related to editing and publishing DITA content.
cjbcjb
Posts: 18
Joined: Thu Feb 07, 2013 7:20 pm

Property "root-chunk-override" has not been set

Post by cjbcjb »

I just installed version 20.1. I had been running 19.1. I have a ditamap that I can successfully apply a transformation scenario. When I open the same project and map in 20.1 and apply the same transformation scenario, I get the following message in the transformation log. Any ideas as to the problem?
...
chunk-check:

chunk:
Property "root-chunk-override" has not been set
[chunk] Processing file:/C:/Users/chuck.blessing/Documents/!E/A-CINCOM/Guru/Help%20output/temp/oxygen_dita_temp/Guru.ditamap
[chunk] Reading file:/C:/Users/chuck.blessing/Documents/!E/A-CINCOM/Guru/Help%20output/temp/oxygen_dita_temp/Guru.ditamap
[antcall] Exiting C:\Program Files (x86)\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\build.xml.

BUILD FAILED
C:\Program Files (x86)\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\build.xml:45: The following error occurred while executing this line:
C:\Program Files (x86)\Oxygen XML Editor 20\frameworks\dita\DITA-OT2.x\plugins\org.dita.base\build_preprocess.xml:323: java.lang.NullPointerException
at org.dita.dost.writer.AbstractChunkTopicParser.generateOutputFile(AbstractChunkTopicParser.java:340)
at org.dita.dost.writer.ChunkTopicParser.processChunk(ChunkTopicParser.java:150)
at org.dita.dost.writer.ChunkTopicParser.write(ChunkTopicParser.java:61)
at org.dita.dost.reader.ChunkMapReader.processCombineChunk(ChunkMapReader.java:544)
at org.dita.dost.reader.ChunkMapReader.processTopicref(ChunkMapReader.java:347)
at org.dita.dost.reader.ChunkMapReader.processChildTopicref(ChunkMapReader.java:521)
at org.dita.dost.reader.ChunkMapReader.processTopicref(ChunkMapReader.java:374)
at org.dita.dost.reader.ChunkMapReader.process(ChunkMapReader.java:143)
at org.dita.dost.writer.AbstractDomFilter.read(AbstractDomFilter.java:55)
at org.dita.dost.reader.ChunkMapReader.read(ChunkMapReader.java:119)
at org.dita.dost.module.ChunkModule.execute(ChunkModule.java:80)
at org.dita.dost.pipeline.PipelineFacade.execute(PipelineFacade.java:80)
at org.dita.dost.invoker.ExtensibleAntInvoker.execute(ExtensibleAntInvoker.java:230)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
at org.apache.tools.ant.Main.runBuild(Main.java:857)
at org.apache.tools.ant.Main.startAnt(Main.java:236)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)

Total time: 32 seconds

The process finished with exit code: 1
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Property "root-chunk-override" has not been set

Post by Radu »

Dear Chuck,

Oxygen 19.1 came with both the DITA Open Toolkit 1.8 and 2.x publishing engines installed. So it's possible you were using the DITA OT 1.8.
Oxygen 20.1 no longer comes bundled with the older DITA OT 1.8 so this is probably why you are now seeing this problem.
If you can provide for us a small cut-down DITA project sample to reproduce the problem on our side we could try to look into the problem and maybe provide a fix for it. We have a tech support form where you can attach a zip file:

https://www.oxygenxml.com/techSupport.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Property "root-chunk-override" has not been set

Post by Radu »

As an update, I found this opened issue which looks very similar to what you obtained:

https://github.com/dita-ot/dita-ot/issues/2700

but the sample DITA project posted there does not seem to be usable to reproduce the situation.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply