Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12686

DBTreeList fails with NPE when the query returns NULL values for the selected columns

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.3-milestone-1
    • Fix Version/s: 7.3-milestone-2, 6.4.6, 7.1.3
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Example query:

      SELECT space.reference, space.name, space.parent FROM XWikiSpace space ORDER BY space.reference
      

      If the above query is used in a Database Tree property (to get a hierarchy of spaces), the DBListClass fails with a NPE (since space.reference returns many null values):

      2015-10-14 12:57:34,547 [http://localhost:8080/xwiki/bin/edit/XWiki/testTP?editor=inline] ERROR c.x.x.o.c.DBListClass          - Failed to get the list 
      java.lang.NullPointerException: null
              at com.xpn.xwiki.objects.classes.DBListClass.makeList(DBListClass.java:92) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.objects.classes.DBListClass.getDBList(DBListClass.java:118) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.objects.classes.DBListClass.getMap(DBListClass.java:152) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.objects.classes.DBTreeListClass.displayTreeSelectEdit(DBTreeListClass.java:335) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.objects.classes.DBTreeListClass.displayEdit(DBTreeListClass.java:213) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:3175) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:3114) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:3063) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:3040) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:3013) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.api.Document.display(Document.java:1484) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source) ~[na:na]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79]
              at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79]
              at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) [velocity-1.7.jar:1.7]
              at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
              at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256) [xwiki-commons-velocity-7.3-SNAPSHOT.jar:na]
              at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222) [xwiki-commons-velocity-7.3-SNAPSHOT.jar:na]
              at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198) [xwiki-commons-velocity-7.3-SNAPSHOT.jar:na]
              at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124) [xwiki-platform-rendering-macro-velocity-7.3-SNAPSHOT.jar:na]
              at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50) [xwiki-platform-rendering-macro-velocity-7.3-SNAPSHOT.jar:na]
              at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:286) [xwiki-platform-rendering-macro-script-7.3-SNAPSHOT.jar:na]
              at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182) [xwiki-platform-rendering-macro-script-7.3-SNAPSHOT.jar:na]
              at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58) [xwiki-platform-rendering-macro-script-7.3-SNAPSHOT.jar:na]
              at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:269) [xwiki-rendering-transformation-macro-7.3-SNAPSHOT.jar:na]
              at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183) [xwiki-rendering-legacy-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95) [xwiki-rendering-legacy-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:253) [xwiki-platform-display-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:126) [xwiki-platform-display-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:56) [xwiki-platform-display-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96) [xwiki-platform-display-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39) [xwiki-platform-display-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:229) [xwiki-platform-sheet-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.sheet.internal.SheetDocumentDisplayer.applySheet(SheetDocumentDisplayer.java:209) [xwiki-platform-sheet-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.sheet.internal.SheetDocumentDisplayer.maybeDisplayWithSheet(SheetDocumentDisplayer.java:164) [xwiki-platform-sheet-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:102) [xwiki-platform-sheet-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50) [xwiki-platform-sheet-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:68) [xwiki-platform-display-api-7.3-SNAPSHOT.jar:na]
              at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42) [xwiki-platform-display-api-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1164) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1127) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1179) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:692) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at sun.reflect.GeneratedMethodAccessor243.invoke(Unknown Source) ~[na:na]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79]
              at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79]
              at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) [velocity-1.7.jar:1.7]
              at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
              at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256) [xwiki-commons-velocity-7.3-SNAPSHOT.jar:na]
              at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222) [xwiki-commons-velocity-7.3-SNAPSHOT.jar:na]
              at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198) [xwiki-commons-velocity-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:725) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:626) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:604) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:570) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1800) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:820) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at sun.reflect.GeneratedMethodAccessor176.invoke(Unknown Source) ~[na:na]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_79]
              at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79]
              at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395) [velocity-1.7.jar:1.7]
              at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) [velocity-1.7.jar:1.7]
              at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) [velocity-1.7.jar:1.7]
              at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:256) [xwiki-commons-velocity-7.3-SNAPSHOT.jar:na]
              at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222) [xwiki-commons-velocity-7.3-SNAPSHOT.jar:na]
              at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:198) [xwiki-commons-velocity-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.internal.template.InternalTemplateManager.evaluateContent(InternalTemplateManager.java:725) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:626) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:604) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:570) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:556) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:65) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1822) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:431) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) [struts-core-1.3.10.jar:1.3.10]
              at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) [struts-core-1.3.10.jar:1.3.10]
              at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) [struts-core-1.3.10.jar:1.3.10]
              at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) [struts-core-1.3.10.jar:1.3.10]
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) [javax.servlet-api-3.1.0.jar:3.1.0]
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]
              at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
              at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) [xwiki-platform-legacy-oldcore-7.3-SNAPSHOT.jar:na]
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) [xwiki-platform-wysiwyg-server-7.3-SNAPSHOT.jar:na]
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) [xwiki-platform-container-servlet-7.3-SNAPSHOT.jar:na]
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
              at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) [xwiki-platform-webdav-server-7.3-SNAPSHOT.jar:na]
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) [xwiki-platform-container-servlet-7.3-SNAPSHOT.jar:na]
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) [xwiki-platform-container-servlet-7.3-SNAPSHOT.jar:na]
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137) [xwiki-platform-resource-servlet-7.3-SNAPSHOT.jar:na]
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) [jetty-security-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) [jetty-servlet-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.server.Server.handle(Server.java:499) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) [jetty-server-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) [jetty-io-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) [jetty-util-9.2.13.v20150730.jar:9.2.13.v20150730]
              at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) [jetty-util-9.2.13.v20150730.jar:9.2.13.v20150730]
              at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
      

      The reason is improper handling of NULL values in the result columns and, after that is fixed, that the ListItem class expects an empty string instead of null, by design.

      It should be enough to better handle null values in the result columns and use an empty string instead of null, when initializing ListItem elements.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                enygma Eduard Moraru
                Reporter:
                enygma Eduard Moraru
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: