You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Emir Gülümser (Jira)" <ji...@apache.org> on 2021/01/08 08:59:00 UTC
[jira] [Updated] (NETBEANS-5225) Missing SCHEMA file under the
docs/JavaHelpSearch under nbm module jar when building with mvn multi
thread option
[ https://issues.apache.org/jira/browse/NETBEANS-5225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emir Gülümser updated NETBEANS-5225:
------------------------------------
Priority: Critical (was: Major)
> Missing SCHEMA file under the docs/JavaHelpSearch under nbm module jar when building with mvn multi thread option
> -----------------------------------------------------------------------------------------------------------------
>
> Key: NETBEANS-5225
> URL: https://issues.apache.org/jira/browse/NETBEANS-5225
> Project: NetBeans
> Issue Type: Bug
> Components: platform - Help System
> Affects Versions: 12.2
> Reporter: Emir Gülümser
> Priority: Critical
>
> We're using multi module structure in out client application. When we try to mvn clean install from the parent module with the multi thread build option (-T), it does not create the SCHEMA and the DOCS.TAB file.
> Note: It works perfectly with the maven single thread build.
>
> Exact steps
> # Create multiple maven modules with help file with org-netbeans-modules-javahelp dependency with version RELEASE122.
> # With single thread build it creates DOCS, DOCS.TAB, OFFSETS, POSITIONS, SCHEMA and TMAP files with non 0 size
> # with multi thread build it creates DOCS and POSITONS with 0 byte size, no SCHEMA and DOCS.TAB file.
>
>
> By the way, it throws the following exception on both build configs (single thread and multi threaded build)
> ava.lang.Exception: ConfigFile and/or IndexBuilder not set
> at com.sun.java.help.search.DefaultIndexerKit.storeToken(DefaultIndexerKit.java:156)
> at com.sun.java.help.search.HTMLIndexerKit$HTMLParserCallback.addContent(HTMLIndexerKit.java:1092)
> at com.sun.java.help.search.HTMLIndexerKit$HTMLParserCallback.addContent(HTMLIndexerKit.java:1064)
> at com.sun.java.help.search.HTMLIndexerKit$HTMLParserCallback.handleText(HTMLIndexerKit.java:411)
> at javax.swing.text.html.parser.DocumentParser.handleText(DocumentParser.java:258)
> at javax.swing.text.html.parser.Parser.handleText(Parser.java:362)
> at javax.swing.text.html.parser.Parser.endTag(Parser.java:446)
> at javax.swing.text.html.parser.Parser.parseTag(Parser.java:1837)
> at javax.swing.text.html.parser.Parser.parseContent(Parser.java:2097)
> at javax.swing.text.html.parser.Parser.parse(Parser.java:2271)
> at javax.swing.text.html.parser.DocumentParser.parse(DocumentParser.java:122)
> at javax.swing.text.html.parser.ParserDelegator.parse(ParserDelegator.java:102)
> at com.sun.java.help.search.HTMLIndexerKit.parse(HTMLIndexerKit.java:116)
> at com.sun.java.help.search.Indexer.parseFile(Indexer.java:259)
> at com.sun.java.help.search.Indexer.parseFile(Indexer.java:271)
> at com.sun.java.help.search.Indexer.compile(Indexer.java:219)
> at com.sun.java.help.search.Indexer.main(Indexer.java:87)
> at org.netbeans.modules.javahelp.HelpSetRegistrationProcessor.handleProcess(HelpSetRegistrationProcessor.java:142)
> at org.openide.filesystems.annotations.LayerGeneratingProcessor.process(LayerGeneratingProcessor.java:104)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:802)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:713)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1043)
> at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1184)
> at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)
> at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)
> at com.sun.tools.javac.main.Main.compile(Main.java:523)
> at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
> at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
> at org.codehaus.plexus.compiler.javac.JavaxToolsCompiler.compileInProcess(JavaxToolsCompiler.java:126)
> at org.codehaus.plexus.compiler.javac.JavacCompiler.performCompile(JavacCompiler.java:174)
> at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:1134)
> at org.apache.maven.plugin.compiler.CompilerMojo.execute(CompilerMojo.java:187)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
> at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
> at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:190)
> at org.apache.maven.lifecycle.internal.builder.multithreaded.MultiThreadedBuilder$1.call(MultiThreadedBuilder.java:186)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists