13 Replies Latest reply on Feb 9, 2015 11:18 AM by Venu Rao

    rich:columnGroup within rich:dataTable returns NULL exception

    Venu Rao Newbie

      Hi,

      I am in the process of upgrading to RichFaces 4.2.2.Final and MyFaces 2.0.0. I am having issue after issue and thanks for all the help I have been getting so far. Now I am stuck with an error where I have a dataTable that has rich:columnGroup. if I take out the rich:columnGroup and change the table to h:dataTable it is compiling and running. Following is the code for the data table.

      <rich:dataTable id="resultsDataTable" width="100%" var="resultSet" value="#{addressBlockSearchBean.queryResults}" styleClass="list" rendered="#{addressBlockSearchBean.displayResultSet}" >

      <rich:column>

                       <f:facet name="header">

                           <h:outputText value="Mask" />

                       </f:facet>               

                       <h:outputText value="#{resultSet.mask}" />                          

      </rich:column>

      <rich:column rendered="#{addressBlockSearchBean.flagOPEndAddress}">

                       <f:facet name="header">

                           <h:outputText value="End Address" />

                       </f:facet>           

                       <h:outputText value="#{resultSet.endAddress}" />                          

      </rich:column>

      .

      ./There are more columns but I am just not showing here to reduce the size.

      .

       

      <f:facet name="footer">

                      <rich:columnGroup>

                          <h:column>

                              <h:outputText value="Total"/>

                          </h:column>

                          <h:column >

                               <h:outputText value=" "/>

                          </h:column>

                          <h:column rendered="#{addressBlockSearchBean.flagOPEndAddress}">

                               <h:outputText value=" "/>

                          </h:column>

                          <h:column rendered="#{addressBlockSearchBean.flagOPNamespace}">

                               <h:outputText value=" "/>

                          </h:column>

                          <h:column rendered="#{addressBlockSearchBean.flagOPSize}">

                              <h:outputText value="#{addressBlockSearchBean.totSize}" />

                          </h:column>

                          <h:column>

                              <h:outputText value="#{addressBlockSearchBean.totalUsed}" />

                          </h:column>

                          <h:column rendered="#{addressBlockSearchBean.flagOPUsedStatic}">

                              <h:outputText value="#{addressBlockSearchBean.totalStaticUsed}" />

                          </h:column>

                         

                          <h:column rendered="#{addressBlockSearchBean.flagOPUsedDhcp}">

                              <h:outputText value="#{addressBlockSearchBean.totalDhcpUsed}" />

                          </h:column>

                          <h:column rendered="#{addressBlockSearchBean.flagOPReserved}">

                              <h:outputText value="#{addressBlockSearchBean.totalReserved}" />

                          </h:column>

                          <h:column rendered="#{addressBlockSearchBean.flagOPAvailable}">

                              <h:outputText value="#{addressBlockSearchBean.totalAvailable}" />

                          </h:column>

                          <h:column rendered="#{addressBlockSearchBean.flagOPEfficiency}">

                              <h:outputText value="#{addressBlockSearchBean.totEfficiency}" />

                          </h:column>

                          <h:column>

                              <h:outputText value=" "/>

                          </h:column>

                          <h:column rendered="#{addressBlockSearchBean.flagOPStatus}">

                              <h:outputText value=" "/>

                          </h:column>

                          <h:column rendered="#{addressBlockSearchBean.flagOPDescription}">

                              <h:outputText value=" "/>

                          </h:column>

                          <h:column rendered="#{addressBlockSearchBean.flagOPPolicy}">

                              <h:outputText value=" "/>

                          </h:column>

                          <h:column rendered="#{addressBlockSearchBean.flagOPVlan}">

                              <h:outputText value=" "/>

                          </h:column>

                      </rich:columnGroup>

                  </f:facet>

      </rich:dataTable>

       

      I am getting following stack trace at run time.

      Dec 10, 2014 1:14:36 PM org.richfaces.context.ExtendedPartialViewContextImpl$RenderVisitCallback logException

      SEVERE: UIColumnGroup should be a child of UIDataTable or UISubTable

      javax.faces.event.AbortProcessingException: UIColumnGroup should be a child of UIDataTable or UISubTable

          at org.richfaces.renderkit.ColumnGroupRenderer.createRowHolder(ColumnGroupRenderer.java:68)

          at org.richfaces.renderkit.AbstractRowsRenderer.processRows(AbstractRowsRenderer.java:102)

          at org.richfaces.renderkit.AbstractRowsRenderer.doEncodeChildren(AbstractRowsRenderer.java:120)

          at org.richfaces.renderkit.RendererBase.encodeChildren(RendererBase.java:157)

          at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:464)

          at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:521)

          at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderTableHeaderOrFooterRow(HtmlTableRendererBase.java:891)

          at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderTableFooterRow(HtmlTableRendererBase.java:831)

          at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderFacet(HtmlTableRendererBase.java:751)

          at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.beforeBody(HtmlTableRendererBase.java:561)

          at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:160)

          at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:464)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:609)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:614)

          at org.richfaces.context.ExtendedPartialViewContextImpl$RenderVisitCallback.visit(ExtendedPartialViewContextImpl.java:504)

          at org.richfaces.context.BaseExtendedVisitContext.invokeVisitCallback(BaseExtendedVisitContext.java:321)

          at javax.faces.component.UIComponent.visitTree(UIComponent.java:750)

          at javax.faces.component.UIComponent.visitTree(UIComponent.java:770)

          at javax.faces.component.UIComponent.visitTree(UIComponent.java:770)

          at javax.faces.component.UIComponent.visitTree(UIComponent.java:770)

          at org.richfaces.context.ExtendedPartialViewContextImpl.processPartialRenderPhase(ExtendedPartialViewContextImpl.java:272)

          at org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:194)

          at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:321)

          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:609)

          at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1117)

          at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:231)

          at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)

          at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)

          at org.apache.myfaces.tomahawk.application.ResourceViewHandlerWrapper.renderView(ResourceViewHandlerWrapper.java:169)

          at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:122)

          at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:207)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:191)

          at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)

          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)

          at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)

          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

          at com.boeing.nmt.nams.view.util.SecurityFilter.doFilter(SecurityFilter.java:71)

          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

          at com.boeing.nmt.nams.view.util.MessageFilter.doFilter(MessageFilter.java:68)

          at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

          at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)

          at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

          at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)

          at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)

          at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)

          at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)

          at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)

          at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)

          at org.mortbay.jetty.Server.handle(Server.java:326)

          at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)

          at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:943)

          at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)

          at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)

          at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)

          at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)

          at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

       

      I am using RichFaces 4.2.2.Final and MyFaces 2.0.0. Please let me know if I am doing something wrong.

       

      Thanks,

      RaoV

        • 1. Re: rich:columnGroup within rich:dataTable returns NULL exception
          iabughosh Master

          Dear Venu Rao,

          Remove <f:facet name="footer">, probably you can't use f:facet with rich:columnGroup.

           

          Regards,

          • 2. Re: rich:columnGroup within rich:dataTable returns NULL exception
            Michal Petrov Master

            The Renderer can't find a datatable among the parents of the component, which is weird since it looks like it is inside one. Can you try with an empty dataTable with just the footer? If that doesn't work there is a bug. Also why are you updating to 4.2.2 and not something newer? 4.3.7 at least if you don't want to go into 4.5.

            • 3. Re: rich:columnGroup within rich:dataTable returns NULL exception
              Venu Rao Newbie

              Thanks Michal and Ibrahim for your responses,

               

              @Michal: I did try with just the footer but I still got the same error, it is very frustrating to spend time on something that used to work before. As far as why I am upgrading to 4.2.2, we have to use only the versions that are approved by our company and make available for us to download via company web site. 4.2.2 is the latest version I could get from there. I would need to request them to look into getting more recent version. That is time consuming. In any case it is very frustrating to know that something as simple as a footer in a datatable which used to work in 3.x is not working in 4.2.2.

               

              @Ibrahim: I removed <f:facet> and it compiled but I did not see the footer which does not help either.

               

              I appreciate your time and help and hope you will find a solution or someone out there who might have faced similar issue and found a solution.

               

              Thanks,

              Venu

              • 4. Re: rich:columnGroup within rich:dataTable returns NULL exception
                Venu Rao Newbie

                Hi Michal,

                 

                Per your suggestion I was finally able to upgrade to RichFaces 4.5.1 and myfaces 2.2.1. However I am not able to get the issue with rich:columnGroup resolved and on top of that I am noticing other issues which I did not have in 4.2.2 like the rich:panel not coming up properly. Only the header is showing up without the enclosing box.Also after the form is loaded none of the action methods are getting invoked when I click on submit button(a4j:commandButton).  I am not sure if I included all the required libraries and correct versions. Following are the libraries I added to my library.

                 

                richfaces-components-4.5.1.Final.jar

                richfaces-components-a4j-4.5.1.Final.jar

                richfaces-components-rich-4.5.1.jar

                richfaces-core-4.5.1.jar

                 

                myfaces-api-2.2.1.jar

                myfaces-bundle-2.2.1.jar

                myfaces-impl-2.2.1.jar

                tomahawk20-1.1.14.jar

                 

                guava-18.0.jar

                commons-io-1.4.jar

                commons-codec-1.3.jar

                commons-fileupload-1.2.1.jar

                cssparser-0.9.5.jar

                 

                My pom.xml:

                 

                <?xml version="1.0" encoding="UTF-8"?>

                <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"

                         xmlns="http://maven.apache.org/POM/4.0.0"

                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

                   

                    <modelVersion>4.0.0</modelVersion>

                    <parent>

                        <artifactId>nams-parent</artifactId>

                        <groupId>com.boeing.nmt.nams</groupId>

                        <version>1.5-LIB-UPGRADE</version>

                    </parent>

                    <groupId>com.boeing.nmt.nams</groupId>

                    <artifactId>nams</artifactId>

                    <packaging>war</packaging>

                    <name>NAMS GUI</name>

                    <url>http://maven.apache.org</url>

                  

                    <properties>

                        <el.version>1.0</el.version>

                        <myfaces.version>2.2.1</myfaces.version>

                        <richfaces.version>4.5.1.Final</richfaces.version>         

                    </properties>             

                 

                    <build>

                        <finalName>nams</finalName>

                    </build>

                  

                    <profiles>

                        <profile>

                            <id>jetty</id>

                            <activation>

                                <property>

                                    <name>app.server.type</name>

                                    <value>jetty</value>

                                </property>

                            </activation>

                        </profile>

                        <profile>

                            <id>tomcat</id>

                            <activation>

                                <property>

                                    <name>app.server.type</name>

                                    <value>tomcat</value>

                                </property>

                            </activation>

                            <dependencies>

                                <dependency>

                                    <groupId>javax.el</groupId>

                                    <artifactId>el-api</artifactId>

                                    <version>${el.version}</version>

                                    <scope>package</scope>

                                </dependency>

                                <dependency>

                                    <groupId>com.sun.el</groupId>

                                    <artifactId>el-ri</artifactId>

                                    <version>${el.version}</version>

                                    <scope>package</scope>

                                </dependency>

                            </dependencies>

                        </profile>

                        <profile>

                            <id>weblogic</id>

                            <activation>

                                <property>

                                    <name>app.server.type</name>

                                    <value>weblogic</value>

                                </property>

                            </activation>

                            <dependencies>

                                <dependency>

                                    <groupId>javax.el</groupId>

                                    <artifactId>el-api</artifactId>

                                    <version>${el.version}</version>

                                    <scope>package</scope>

                                </dependency>

                                <dependency>

                                    <groupId>com.sun.el</groupId>

                                    <artifactId>el-ri</artifactId>

                                    <version>${el.version}</version>

                                    <scope>package</scope>

                                </dependency>

                            </dependencies>

                        </profile>

                    </profiles>

                  

                    <dependencies>

                        <dependency>

                            <groupId>${project.groupId}</groupId>

                            <artifactId>nams-core</artifactId>

                            <version>${project.version}</version>

                            <scope>compile</scope>

                        </dependency>      

                        <dependency>

                            <groupId>jfree</groupId>

                            <artifactId>jcommon</artifactId>

                            <version>1.0.15</version>

                        </dependency>      

                        <dependency>

                            <groupId>jfree</groupId>

                            <artifactId>jfreechart</artifactId>

                            <version>1.0.13</version>

                            <scope>compile</scope>

                        </dependency>                   

                        <dependency>

                            <groupId>org.apache.myfaces.core</groupId>

                            <artifactId>myfaces-api</artifactId>

                            <version>2.2.1</version>

                        </dependency>                                    

                        <dependency>

                            <groupId>org.apache.myfaces.core</groupId>

                            <artifactId>myfaces-impl</artifactId>

                            <version>2.2.1</version>

                        </dependency>

                        <dependency>

                            <groupId>org.apache.myfaces.core</groupId>

                            <artifactId>myfaces-bundle</artifactId>

                            <version>2.2.1</version>

                        </dependency>

                          <dependency>

                            <groupId>org.apache.myfaces.tomahawk</groupId>

                            <artifactId>tomahawk20</artifactId>

                            <version>1.1.14</version>

                            <scope>compile</scope>

                            <exclusions>

                                <exclusion>

                                    <groupId>xml-apis</groupId>

                                    <artifactId>xmlParserAPIs</artifactId>

                                </exclusion>

                            </exclusions>

                        </dependency>

                            <dependency>

                            <groupId>richfaces-components</groupId>

                            <artifactId>richfaces-components</artifactId>

                            <version>${richfaces.version}</version>

                            <scope>compile</scope>

                        </dependency>

                        <dependency>

                            <groupId>richfaces-components-a4j</groupId>

                            <artifactId>richfaces-components-a4j</artifactId>

                            <version>${richfaces.version}</version>

                            <scope>compile</scope>

                        </dependency>

                        <dependency>

                            <groupId>richfaces-core</groupId>

                            <artifactId>richfaces-core</artifactId>

                            <version>${richfaces.version}</version>

                            <scope>compile</scope>

                        </dependency>

                        <dependency>

                            <groupId>richfaces-components-rich</groupId>

                            <artifactId>richfaces-components-rich</artifactId>

                            <version>${richfaces.version}</version>

                            <scope>compile</scope>

                        </dependency>      

                    

                        <dependency>

                            <groupId>com.google.guava</groupId>

                            <artifactId>guava</artifactId>

                            <version>18.0</version>

                        </dependency>

                      

                        <dependency>

                            <groupId>org.apache.commons</groupId>

                            <artifactId>commons-io</artifactId>

                            <version>1.4</version>

                        </dependency>

                      

                        <dependency>

                            <groupId>org.apache.commons</groupId>

                            <artifactId>commons-codec</artifactId>

                            <version>1.3</version>

                        </dependency>

                      

                        <dependency>

                            <groupId>org.apache.commons</groupId>

                            <artifactId>commons-fileupload</artifactId>

                            <version>1.2.1</version>

                        </dependency>

                      

                      

                        <dependency>

                            <groupId>net.sourceforge.cssparser</groupId>

                            <artifactId>cssparser</artifactId>

                            <version>0.9.5</version>

                        </dependency>

                                                                

                        <dependency>

                            <groupId>org.springframework</groupId>

                            <artifactId>spring-web</artifactId>

                            <version>${springframework.version}</version>

                            <scope>compile</scope>

                        </dependency>

                        <dependency>

                            <groupId>org.springframework.batch</groupId>

                            <artifactId>spring-batch-core</artifactId>

                            <version>${spring-batch.version}</version>

                            <scope>compile</scope>

                        </dependency>

                        <dependency>

                            <groupId>org.springframework.batch</groupId>

                            <artifactId>spring-batch-infrastructure</artifactId>

                            <version>${spring-batch.version}</version>

                            <scope>compile</scope>

                        </dependency>

                    </dependencies>

                 

                </project>

                 

                 

                Please let me know if I am doing anything wrong or if I am missing some jar files.

                 

                Thanks,

                Venu

                • 5. Re: rich:columnGroup within rich:dataTable returns NULL exception
                  Michal Petrov Master

                  How are you building your project? The pom is incorrect (which means maven cannot build that), the dependecy for RichFaces 4.5.x is org.richfaces:richfaces.

                  • 6. Re: rich:columnGroup within rich:dataTable returns NULL exception
                    Venu Rao Newbie

                    Thanks Michal for your response.

                     

                    Should I replace following four dependencies

                     

                    <dependency> 

                                <groupId>richfaces-components</groupId> 

                                <artifactId>richfaces-components</artifactId> 

                                <version>${richfaces.version}</version>

                                <scope>compile</scope>

                            </dependency>

                            <dependency> 

                                <groupId>richfaces-components-a4j</groupId> 

                                <artifactId>richfaces-components-a4j</artifactId> 

                                <version>${richfaces.version}</version>

                                <scope>compile</scope>

                            </dependency>

                            <dependency> 

                                <groupId>richfaces-core</groupId> 

                                <artifactId>richfaces-core</artifactId> 

                                <version>${richfaces.version}</version>

                                <scope>compile</scope>

                            </dependency>

                            <dependency> 

                                <groupId>richfaces-components-rich</groupId> 

                                <artifactId>richfaces-components-rich</artifactId> 

                                <version>${richfaces.version}</version>

                                <scope>compile</scope>

                            </dependency>  

                     

                    With:

                    <dependency>

                                <groupId>org.richfaces</groupId>

                                <artifactId>richfaces</artifactId>

                                <version>4.5.1.Final</version>

                            </dependency>

                     

                    Also, does it matter what version of maven I am using, we are using maven 2.2.1. Is it OK to use this version or should I use Maven > 3.0.x?

                     

                    Is it possible for you to send me a sample pom.xml that uses richfaces4.5.1 and myfaces 2.2.x

                     

                    Thanks,

                    Venu

                    • 7. Re: Re: rich:columnGroup within rich:dataTable returns NULL exception
                      Michal Petrov Master

                      I have to ask again how you are building your project, because running maven on your POM should end up with something like this:

                       

                      [ERROR] Failed to execute goal on project richfaces-webapp: Could not resolve dependencies for project org.example:richfaces-webapp:war:2.5.0-build-SNAPSHOT: The following artifacts could not be resolved: richfaces-components:richfaces-components:jar:4.5.1.Final, richfaces-components-a4j:richfaces-components-a4j:jar:4.5.1.Final, richfaces-core:richfaces-core:jar:4.5.1.Final, richfaces-components-rich:richfaces-components-rich:jar:4.5.1.Final: Could not find artifact richfaces-components:richfaces-components:jar:4.5.1.Final in redhat-techpreview-all-repository-group (http://maven.repository.redhat.com/techpreview/all/) -> [Help 1]

                       

                      So yes, you should replace the artifacts, I'm not sure if 2.2.1 is enough, if the build passes then I assume it's ok.

                      • 8. Re: rich:columnGroup within rich:dataTable returns NULL exception
                        Venu Rao Newbie

                        Hi Michal,

                         

                        I was out sick so I could not respond immediately. To answer your question "How are you building your project?".

                         

                        I manually downloaded all the jar files to my repository and build my project from command line from \Java folder. I am able to build my project with out any of the errors you listed above in your response since I have all the 4 jar files in my repository, However when I run my application I am noticing lot of issues like rich:panels not showing up and when I click on a command button action methods are not getting invoked etc..When I comment those 4 jar files in the pom.xml and just add a single dependency for org.richfaces I am getting the exact error you mentioned above. I am attaching the stack trace I am getting when I change the dependency. I am getting frustrated with this to say the least. I am not sure why this should be so difficult to upgrade. Please tell me what other information I can provide you so you can help me to get this resolved.

                         

                        Thanks,

                        Venu

                        • 9. Re: rich:columnGroup within rich:dataTable returns NULL exception
                          Michal Petrov Master

                          That looks like a problem in your repository settings, org.richfaces:richfaces:4.5.1.Final is in the central maven respository; the error says the artifact is not in your local one but I can't tell which other repositories it is looking through.

                          • 10. Re: rich:columnGroup within rich:dataTable returns NULL exception
                            Venu Rao Newbie

                            Hi Michal,

                             

                            Since I am having issues with my company restrictions on downloading from central maven repository I decided to try this out on my personal laptop. I setup my personal laptop with Maven, Tomcat and MyEclipse, I downloaded richfaces-distribution-4.5.2.Final, I tried to build the example project (richfaces-showcase) and I am getting bunch of errors. I am attaching the stacktrace so you can see what is going on, I just used the pom file that came with the richfaces-showcase example. I did not make any changes. I will also attach that file so you know what is going on. I get several errors on dependencies that are missing version numbers. My hope is if I can get this resolved then I can try to simulate the same on my actual project. When I did my build it seem to download some of the dependencies but throwing exceptions on org.richfaces dependencies.

                             

                            Thanks for your help.

                            Venu

                            • 11. Re: rich:columnGroup within rich:dataTable returns NULL exception
                              Michal Petrov Master

                              Hi,

                               

                              try building it without the tests "mvn clean package -DskipTests".

                              • 12. Re: rich:columnGroup within rich:dataTable returns NULL exception
                                Venu Rao Newbie

                                Thanks Michal,

                                 

                                Now I am able to build the project but I get runtime errors. I tried to google to resolve the issue but not able to get it to work. I am getting Index out of bounds exception. I am attaching the log file to this post. I am using:

                                Maven 3.2.5

                                apache-tomcat-6.0.43

                                 

                                I had to comment dependencies for richfaces-build-resources as I am getting error that the artifact is not found in central repository. I searched on maven central repository and couldn't find the jar for richfaces-build-resources.


                                I appreciate your help and looking forward to get this to work.

                                Thanks,

                                Venu

                                • 13. Re: rich:columnGroup within rich:dataTable returns NULL exception
                                  Venu Rao Newbie

                                  Hi Michal,

                                   

                                  Finally I was able to get it to work, there were few issues I had to resolve. First I had to remove the dependency for richfaces-build-resources from the pom file as this jar was not found in central repository. Second I had to add exclusions to javax.servlet...dependency to exclude servlet-api and jsp-api as these jar files were supplied by Tomcat. Then I completely cleaned my local repository and build the project skipping the tests as suggested by you.

                                   

                                  Thanks for your help.

                                   

                                  Venu