com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroService.getMacroDescriptors(java.lang.String)' threw an unexpected exception: java.lang.RuntimeException: Exception while retrieving the list of macro descriptors for syntax [xwiki/2.1].

XWiki.org JIRA | Vincent Massol | 4 years ago
  1. 0

    I get a 500 error when clicking on "insert Macro...". Instead the wysiwyg editor should simply ignore the faulty macro but display all the other macros fine. {noformat} 2012-08-30 13:11:32.161:WARN:/xwiki:Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroService.getMacroDescriptors(java.lang.String)' threw an unexpected exception: java.lang.RuntimeException: Exception while retrieving the list of macro descriptors for syntax [xwiki/2.1]. at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:545) at org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet.processCall(XWikiRemoteServiceServlet.java:52) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) at org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:346) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.RuntimeException: Exception while retrieving the list of macro descriptors for syntax [xwiki/2.1]. at org.xwiki.wysiwyg.server.internal.plugin.macro.XWikiMacroService.getMacroDescriptors(XWikiMacroService.java:206) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:545) at org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet.processCall(XWikiRemoteServiceServlet.java:52) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) at org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:346) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394) at com.xpn.xwiki.XWikiContext.put(XWikiContext.java:257) at org.xwiki.component.wiki.WikiComponentInvocationHandler.executeWikiContent(WikiComponentInvocationHandler.java:238) at org.xwiki.component.wiki.WikiComponentInvocationHandler.invoke(WikiComponentInvocationHandler.java:156) at $Proxy43.getDescriptor(Unknown Source) at org.xwiki.rendering.internal.macro.DefaultMacroCategoryManager.getMacroIdsByCategory(DefaultMacroCategoryManager.java:135) at org.xwiki.rendering.internal.macro.DefaultMacroCategoryManager.getMacroCategories(DefaultMacroCategoryManager.java:83) at org.xwiki.wysiwyg.server.internal.plugin.macro.XWikiMacroService.getMacroDescriptors(XWikiMacroService.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:545) at org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet.processCall(XWikiRemoteServiceServlet.java:52) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352) at org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:346) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529) at java.lang.Thread.run(Thread.java:680) {noformat}

    XWiki.org JIRA | 4 years ago | Vincent Massol
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroService.getMacroDescriptors(java.lang.String)' threw an unexpected exception: java.lang.RuntimeException: Exception while retrieving the list of macro descriptors for syntax [xwiki/2.1].
  2. 0

    NoClassDefFoundError running HashMap definition in Eclipse

    Stack Overflow | 5 years ago | Arturo
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String myProject.client.ProjectService.state(java.lang.String) throws java.lang.IllegalArgumentException' threw an unexpected exception: java.lang.NoClassDefFoundError: com/google/gwt/dev/util/collect/HashMap
  3. 0

    Fetching a csv file from a GWT app using requestbuilder - getting exception: java.lang.UnsatisfiedLinkError:

    Stack Overflow | 4 years ago | banditKing
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.lang.String[] cs310.client.CsvFileParserService.convertFileToStringArrays(java.lang.String)' threw an unexpected exception: java.security.AccessControlException: access denied (java.io.FilePermission /Users/AM/Sites/new_food_vendor_locations2.csv read)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Two errors with conflict solutions

    Stack Overflow | 3 years ago | siri
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract blob.example.client.Picture blob.example.client.BlobService.getPicture(java.lang.String)' threw an unexpected exception: java.lang.ExceptionInInitializerError
  6. 0

    NoSuchMethod exception thrown in GWT

    Stack Overflow | 6 years ago | eb1
    com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract org.gwtapplication.client.LWDocument org.gwtapplication.client.DocumentService.getDocument()' threw an unexpected exception: java.lang.NoSuchMethodError: org.externalmodel.MyReallyValidClass.toSomething()Ljava/lang/String;

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.google.gwt.user.server.rpc.UnexpectedException

      Service method 'public abstract java.util.List org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroService.getMacroDescriptors(java.lang.String)' threw an unexpected exception: java.lang.RuntimeException: Exception while retrieving the list of macro descriptors for syntax [xwiki/2.1].

      at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure()
    2. Jetty Contrib :: jetty-gwt RemoteServiceServlet
      RPC.invokeAndEncodeResponse
      1. com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389)
      2. com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579)
      3. com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:545)
      3 frames
    3. org.xwiki.wysiwyg
      XWikiRemoteServiceServlet.processCall
      1. org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet.processCall(XWikiRemoteServiceServlet.java:52)
      1 frame
    4. Jetty Contrib :: jetty-gwt RemoteServiceServlet
      AbstractRemoteServiceServlet.doPost
      1. com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
      2. com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
      2 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    6. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1352)
      2 frames
    7. org.xwiki.wysiwyg
      XWikiContextInitializationFilter.doFilter
      1. org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
      1 frame
    8. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
      1 frame
    9. com.xpn.xwiki
      XWikiDavFilter.doFilter
      1. com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
      1 frame
    10. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
      1 frame
    11. org.xwiki.container
      SavedRequestRestorerFilter.doFilter
      1. org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
      1 frame
    12. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
      1 frame
    13. org.xwiki.container
      SetCharacterEncodingFilter.doFilter
      1. org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
      1 frame
    14. Jetty
      HttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1323)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:476)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:247)
      12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
      13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
      14. org.eclipse.jetty.server.Server.handle(Server.java:346)
      15. org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
      16. org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065)
      17. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823)
      18. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)
      19. org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
      19 frames
    15. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
      2 frames
    16. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
      1 frame
    17. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)
      1 frame