Cartridge Build Failed With MESSAGE WARNING: javaeditor.DocumentAdapter added new line delimiter to code: 10 (Doc ID 2113725.1)

Last updated on JANUARY 05, 2017

Applies to:

Oracle Communications ASAP - Version 7.0.0 and later
Information in this document applies to any platform.

Symptoms

During ASAP build the following exceptions are coming in a loop in the log:

Build failed after receiving this warning as below:

[exec] [studio.buildProject] at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
[exec] [studio.buildProject] at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
[exec] [studio.buildProject]
[exec] [studio.buildProject] !ENTRY org.eclipse.jdt.ui 2 0 2016-02-09 13:21:30.852
[exec] [studio.buildProject] !MESSAGE WARNING: javaeditor.DocumentAdapter added new line delimiter to code: 10
[exec] [studio.buildProject] !STACK 0
[exec] [studio.buildProject] java.lang.Throwable
[exec] [studio.buildProject] at org.eclipse.jdt.internal.ui.javaeditor.DocumentAdapter.validateLineDelimiters(DocumentAdapter.java:549)
[exec] [studio.buildProject] at org.eclipse.jdt.internal.ui.javaeditor.DocumentAdapter.setContents(DocumentAdapter.java:500)
[exec] [studio.buildProject] at com.mslv.studio.templates.activation.implementation.codegen.JavaGenerator.createCompilationUnit(Unknown Source)
[exec] [studio.buildProject] at com.mslv.studio.templates.activation.implementation.codegen.JavaGenerator.generateCode(Unknown Source)
[exec] [studio.buildProject] at com.mslv.studio.templates.activation.implementation.codegen.ImplementationCodeGenerator.generateImplementationCode(Unknown Source)
[exec] [studio.buildProject] at com.mslv.studio.templates.activation.implementation.codegen.ImplementationCodeGenerator.generate(Unknown Source)
[exec] [studio.buildProject] at com.mslv.studio.builder.StudioCodeBuilder.generateCode(Unknown Source)
[exec] [studio.buildProject] at com.mslv.studio.builder.StudioCodeBuilder.access$0(Unknown Source)
[exec] [studio.buildProject] at com.mslv.studio.builder.StudioCodeBuilder$MyBuildVisitor.visit(Unknown Source)
[exec] [studio.buildProject] at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:126)
-----------------------------
[exec] [studio.buildProject] at java.lang.reflect.Method.invoke(Method.java:597)
[exec] [studio.buildProject] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
[exec] [studio.buildProject] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
[exec] [studio.buildProject] at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
[exec] [studio.buildProject] at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
[exec] [studio.buildProject]
[exec] [studio.buildProject] !ENTRY org.eclipse.jdt.ui 2 0 2016-02-09 13:21:30.866
[exec] [studio.buildProject] !MESSAGE WARNING: javaeditor.DocumentAdapter added new line delimiter to code: 10

BUILD FAILED
/charter/apps/NGP_Build_Deploy/Build_Deploy_Scripts/ASAP/ASAP_Build_Main.xml:145: The following error occurred while executing this line:
/charter/apps/NGP_Build_Deploy/Build_Deploy_Scripts/ASAP/ASAP_Build_Main.xml:91: exec returned: 143
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
--------------------

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms