Editor issues

Hi,

We’re trying to implement pagination but we are getting this error:

1. When implementing pagination
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is com.groupdocs.ui.exception.TotalGroupDocsException: class com.groupdocs.editor.internal.c.a.ms.System.NotImplementedException: The method or operation is not implemented com.groupdocs.editor.internal.c.a.ms.System.Resources.ResourceManager.internalGetResourceSet(Unknown Source) com.groupdocs.editor.internal.c.a.ms.System.Resources.ResourceManager.getString(Unknown Source) com.groupdocs.editor.d.a.pz(Unknown Source) com.groupdocs.editor.e.c.b.a(Unknown Source) com.groupdocs.editor.Editor.edit(Unknown Source) com.groupdocs.ui.editor.service.EditorServiceImpl.loadDocumentEntity(EditorServiceImpl.java:182) com.groupdocs.ui.editor.service.EditorServiceImpl.loadDocument(EditorServiceImpl.java:171) com.groupdocs.ui.editor.EditorController.loadDocumentDescription(EditorController.java:84) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:498) org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209) org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136) org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:877) org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:783) org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974) org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:877) javax.servlet.http.HttpServlet.service(HttpServlet.java:707) org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851) javax.servlet.http.HttpServlet.service(HttpServlet.java:790) org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865) org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1655) org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:215) org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642) org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642) org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642) org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642) org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317) org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219) org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) org.eclipse.jetty.server.Server.handle(Server.java:531) org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352) org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762) org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680) java.lang.Thread.run(Thread.java:748)

2. Thai document

a. Encountered issue if uploading a docx file
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is com.groupdocs.ui.exception.TotalGroupDocsException: class com.groupdocs.editor.internal.c.a.ms.System.ArgumentNullException: Value cannot be null. Parameter name: selector com.groupdocs.editor.htmlcss.css.b.a(Unknown Source)

b. Displays text but in not good format even in live demo

3. Documents with mainly images
-Shows nothing (even in live demo)

Hope you can help us with this. Thanks

@yasah

Please note that API is UI-Agnostic and it doesn’t support any built-in pagination feature at UI level.
Can you please share the sample application using that issue could be reproduced. Also specify the API version that you’re using.

Please share the problematic document.

Can you please share problematic files and we’ll investigate this scenario?

Hi @Atir_Tahir,

  1. Pagination
  • There’s this Enable Pagination in your documentation and you can actually setEnablePagination in your current release, thus, we were able to set it to true but encountered the above issues. Can you please verify this? References below

-https://docs.groupdocs.com/editor/java/working-with-text-documents/
-https://docs.groupdocs.com/editor/java/working-with-wordprocessing-documents/

  1. Files
  • For this, can I ask for an email address where I can send the files?

Thanks!

@yasah

What we meant was, API does support pagination or splitting of the pages at back-end but those pages must be handled at UI level. However, we need your example project in order to reproduce this issue. As we don’t get any exception at setEnablePagination.

Please share files in a private message, click on my profile and you’ll see a “message” option there, like this.PNG (14.8 KB).

Hi @Atir_Tahir,

I’ve shared the files to you via private message. By the way, regarding pagination, do you have documentation on how this should be handled in the frontend?

Thanks!

@yasah

We are investigating the Thai document issues with ticket ID EDITORJAVA-286. You’ll be notified about the outcomes.

We’ll try to implement this feature at UI level .Please keep track of this link for further correspondence. You’ll be notified here as well as there’s any update.

1 Like

Hi @Atir_Tahir,

Do you have any updates to the documents raised in EDITORJAVA-286

  • Encountered issue upon uploading a docx file (Thai document)
  • Displays text but in not good format even in live demo (Thai document and other docs with complex format)
  • Documents with mainly images

Thanks again!

1 Like

@Atir_Tahir,

To add also, we have an issue with excel files. Not also working in the live demo.

Here’s a sample file:
ExcelFiles.zip (12.3 KB)

Hope to hear from you soon regarding this.

Thanks!

@yasah

This issue is still under investigation.

Did you try these files with back-end API? Did you get any issue (exception or error)?

Just tried. I get the same error.

class com.groupdocs.foundation.exception.GroupDocsException: class com.groupdocs.foundation.exception.GroupDocsException: class com.groupdocs.editor.internal.c.a.ms.System.InvalidOperationException: Internal error - 'tryFromKeyword' method is NULL
1 Like

@yasah

Regarding Excel files, these exceptions are already resolved and the fix will be available in next API release. As release gets on-board, you’ll be notified.
Regarding DOCX files, they are complex by themselves. We’re investigating now how they can be fixed. We’ll notify you in case of any update.

1 Like

@Atir_Tahir,

May I know when is the expected release date? Thanks!

@Atir_Tahir,

Also for pagination concern, just to confirm, are you able to setEnablePagination without any issues in the API end? I am able to get the error with the back-end API alone.

class com.groupdocs.foundation.exception.GroupDocsException: class com.groupdocs.editor.internal.c.a.ms.System.NotImplementedException: The method or operation is not implemented

Hope you can assist me with this too. Thanks!

@yasah

We’ll working on this ticket. You’ll be notified about the ETA of release soon.

Please share the (back-end) sample code or application using that issue could be reproduced.

Kindly check this sample code. I just added editOptions.setEnablePagination(true);

SampleTotal2.zip (2.3 KB)

Thanks!

1 Like

@yasah

Release is expected sometime in first quarter 2021. As we investigate all issues on first come first served basis. However, you could avail priority support in order to expedite the ticket.

This issue is reproduced at our end. We’ve logged it in our internal issue tracking system with ID EDITORJAVA-289. You’ll be notified in case of any update.

Hi @Atir_Tahir,

Just to align all the issues mentioned here

  1. Excel (exception) - FIXED. Release estimate date is Q1 2021
  2. Thai document (exception loading thai docs) - NOT YET FIXED
  3. Docs with mainly images not displaying - NOT YET FIXED
  4. Some docs loaded in not good format - NOT YET FIXED
  5. Page break (Pagination exception) - NOT YET FIXED

Let me know if there are changes in the status of the above issues and/or you need additional documents for these.

Thanks!

1 Like

@yasah

We’ll let you know as there’s any progress.

Hi @Atir_Tahir,

To add from the list of Editor issues
6. ODT - encountered an exception when editing odt files

Exception in loading document
com.groupdocs.ui.exception.TotalGroupDocsException: class         
com.groupdocs.foundation.exception.GroupDocsException: 
com.groupdocs.editor.internal.c.a.ms.System.NotSupportedException: Internal error 
- this shape configuration with input shape type 'class 
com.groupdocs.editor.internal.c.a.w.Shape' is not supported ---> 
com.groupdocs.editor.internal.c.a.ms.System.NotSupportedException: Internal error 
- this shape configuration with input shape type 'class 
com.groupdocs.editor.internal.c.a.w.Shape' is not supported

Thanks!

1 Like

@yasah

Can you please share the problematic ODT files?