-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
I've just updated to the version 2.0.0 and found that the preview is not rendered as
Preview file generation timed out, so preview not available at:
\AppData\Local\Temp\asciidoctor-editor-temp\<project>-1001799199\-1004703556_internal_hello.html
-
The
hello.adochas been taken from https://asciidoctor.org/docs/asciidoc-article/ -
The
\AppData\Local\Temp\asciidoctor-editor-temp\<project>-1001799199\-1004703556_hidden-editorfile_hello.adoc
// origin :path\to\hello.adoc
// editor :-1004703556
// basedir:path\to
include::hello.adoc[]
- [Workspace]/.metadata/.log
!ENTRY de.jcup.asciidoctoreditor 4 0 2019-07-09 09:39:16.441
!MESSAGE Cannot convert to html:path\to\hello.adoc
!STACK 0
java.lang.IllegalArgumentException: Input byte array has incorrect ending byte at 24
at java.util.Base64$Decoder.decode0(Base64.java:742)
at java.util.Base64$Decoder.decode(Base64.java:526)
at java.util.Base64$Decoder.decode(Base64.java:549)
at de.jcup.asp.core.CryptoAccess.<init>(CryptoAccess.java:44)
at de.jcup.asp.client.AspClient.<init>(AspClient.java:61)
at de.jcup.asciidoctoreditor.asciidoc.ASPServerAdapter.startServer(ASPServerAdapter.java:124)
at de.jcup.asciidoctoreditor.ASPSupport$FallbackRestartHandler.handleNotAvailable(ASPSupport.java:34)
at de.jcup.asciidoctoreditor.ASPSupport.waitForServerAvailable(ASPSupport.java:60)
at de.jcup.asciidoctoreditor.ASPSupport.getAspClient(ASPSupport.java:19)
at de.jcup.asciidoctoreditor.asciidoc.AspAsciidoctorAdapter.resolveClient(AspAsciidoctorAdapter.java:68)
at de.jcup.asciidoctoreditor.asciidoc.AspAsciidoctorAdapter.convertFile(AspAsciidoctorAdapter.java:50)
at de.jcup.asciidoctoreditor.asciidoc.AsciiDoctorWrapper.convert(AsciiDoctorWrapper.java:76)
at de.jcup.asciidoctoreditor.preview.AsciiDoctorEditorBuildSupport.fullBuildTemporaryHTMLFilesAndShowAfter(AsciiDoctorEditorBuildSupport.java:219)
at de.jcup.asciidoctoreditor.preview.AsciiDoctorEditorBuildSupport.access$1(AsciiDoctorEditorBuildSupport.java:174)
at de.jcup.asciidoctoreditor.preview.AsciiDoctorEditorBuildSupport$1.run(AsciiDoctorEditorBuildSupport.java:138)
at org.eclipse.core.runtime.jobs.Job$2.run(Job.java:185)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!ENTRY de.jcup.asciidoctoreditor 4 0 2019-07-09 09:39:16.457
!MESSAGE AsciiDoctor error occured:Input byte array has incorrect ending byte at 24
!STACK 0
java.lang.IllegalArgumentException: Input byte array has incorrect ending byte at 24
at java.util.Base64$Decoder.decode0(Base64.java:742)
at java.util.Base64$Decoder.decode(Base64.java:526)
at java.util.Base64$Decoder.decode(Base64.java:549)
at de.jcup.asp.core.CryptoAccess.<init>(CryptoAccess.java:44)
at de.jcup.asp.client.AspClient.<init>(AspClient.java:61)
at de.jcup.asciidoctoreditor.asciidoc.ASPServerAdapter.startServer(ASPServerAdapter.java:124)
at de.jcup.asciidoctoreditor.ASPSupport$FallbackRestartHandler.handleNotAvailable(ASPSupport.java:34)
at de.jcup.asciidoctoreditor.ASPSupport.waitForServerAvailable(ASPSupport.java:60)
at de.jcup.asciidoctoreditor.ASPSupport.getAspClient(ASPSupport.java:19)
at de.jcup.asciidoctoreditor.asciidoc.AspAsciidoctorAdapter.resolveClient(AspAsciidoctorAdapter.java:68)
at de.jcup.asciidoctoreditor.asciidoc.AspAsciidoctorAdapter.convertFile(AspAsciidoctorAdapter.java:50)
at de.jcup.asciidoctoreditor.asciidoc.AsciiDoctorWrapper.convert(AsciiDoctorWrapper.java:76)
at de.jcup.asciidoctoreditor.preview.AsciiDoctorEditorBuildSupport.fullBuildTemporaryHTMLFilesAndShowAfter(AsciiDoctorEditorBuildSupport.java:219)
at de.jcup.asciidoctoreditor.preview.AsciiDoctorEditorBuildSupport.access$1(AsciiDoctorEditorBuildSupport.java:174)
at de.jcup.asciidoctoreditor.preview.AsciiDoctorEditorBuildSupport$1.run(AsciiDoctorEditorBuildSupport.java:138)
at org.eclipse.core.runtime.jobs.Job$2.run(Job.java:185)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
- Asciidoctor ASP console at Eclipse
>> Triggered ASP server start at port:4444
ASP: Processing file:D:\JavaPrj.Tiny.Cabin\DevOps\document\installation-guide\client-side\hello.adoc
09:39:01.949 [main] INFO d.j.a.s.a.service.AsciidoctorService - Starting, will create asciidoctorj instance
09:39:06.148 [main] INFO d.j.a.s.a.service.AsciidoctorService - Created instance
09:39:06.148 [main] INFO d.j.a.s.a.service.AsciidoctorService - Starting warmup phase for asciidoctor
09:39:07.023 [main] INFO d.j.a.s.a.service.AsciidoctorService - Warmup done
09:39:07.039 [main] INFO d.jcup.asp.server.core.CoreAspServer - Server starting at port:4444
09:39:07.039 [main] INFO d.jcup.asp.server.core.CoreAspServer - Server secret :xxxxxxxxxxxxxxxxxxxxxxx
>> ASP Server has been started successfully
> ASP server not available at port 4444, trigger server restart NOW
>> Triggered ASP server start at port:4445
>> ASP Server at port 4444 exited with code:Some common error happened:1
09:39:11.493 [main] INFO d.j.a.s.a.service.AsciidoctorService - Starting, will create asciidoctorj instance
09:39:15.481 [main] INFO d.j.a.s.a.service.AsciidoctorService - Created instance
09:39:15.481 [main] INFO d.j.a.s.a.service.AsciidoctorService - Starting warmup phase for asciidoctor
09:39:16.254 [main] INFO d.j.a.s.a.service.AsciidoctorService - Warmup done
09:39:16.254 [main] INFO d.jcup.asp.server.core.CoreAspServer - Server starting at port:4445
09:39:16.269 [main] INFO d.jcup.asp.server.core.CoreAspServer - Server secret :xxxxxxxxxxxxxxxxxxxxxxx
>> ASP Server has been started successfully
Here is my environment:
-
OS: Windows 10 Home, version 1903
-
JDK:
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode) -
Eclipse:
Eclipse IDE for Enterprise Java Developers.
Version: 2019-06 (4.12.0)
Build id: 20190614-1200 -
Asciidoctor Editor version 2.0.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working