0

Error in ZK 8 Project

asked 2015-12-06 13:04:55 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...

16:02:16.701 [localhost-startStop-1] ERROR org.zkoss.bind.impl.SystemConverters - null java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.7.071] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.7.071] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.7.071] at java.lang.reflect.Constructor.newInstance(Constructor.java:526) ~[na:1.7.071] at org.zkoss.lang.Classes.newInstance(Classes.java:75) ~[zcommon-8.0.0.jar:8.0.0] at org.zkoss.lang.Classes.newInstanceByThread(Classes.java:246) ~[zcommon-8.0.0.jar:8.0.0] at org.zkoss.zkmax.bind.impl.Init.init(Init.java:62) ~[zkmax-8.0.0.jar:na] at org.zkoss.zkmax.init.WebAppInit.init(WebAppInit.java:37) [zkmax-8.0.0.jar:na] at org.zkoss.zk.ui.util.Configuration.invokeWebAppInits(Configuration.java:779) [zk-8.0.0.jar:8.0.0] at org.zkoss.zk.ui.impl.AbstractWebApp.init(AbstractWebApp.java:204) [zk-8.0.0.jar:8.0.0] at org.zkoss.zk.ui.http.SimpleWebApp.init(SimpleWebApp.java:58) [zk-8.0.0.jar:8.0.0] at org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:228) [zk-8.0.0.jar:8.0.0] at org.zkoss.zk.ui.http.HttpSessionListener23.contextInitialized(HttpSessionListener23.java:140) [zk-8.0.0.jar:8.0.0] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939) [catalina.jar:7.0.47] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434) [catalina.jar:7.0.47] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.47] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) [catalina.jar:7.0.47] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) [catalina.jar:7.0.47] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.071] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.071] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.071] at java.lang.Thread.run(Thread.java:745) [na:1.7.071] Caused by: java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonFactory.requiresPropertyOrdering()Z at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:472) ~[jackson-databind-2.5.1.jar:2.5.1] at com.fasterxml.jackson.databind.ObjectMapper.<init>(ObjectMapper.java:391) ~[jackson-databind-2.5.1.jar:2.5.1] at org.zkoss.zkmax.bind.JacksonConverter.<init>(JacksonConverter.java:73) ~[zkmax-8.0.0.jar:na] ... 22 common frames omitted

delete flag offensive retag edit

4 Answers

Sort by ยป oldest newest most voted
0

answered 2015-12-07 08:53:02 +0800

Darksu gravatar image Darksu
1991 1 4

Hello Senthilchettyin,

You should check your data for null values.

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2015-12-07 09:09:43 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...

Hello There is nothing in the project. Just startup project. Same POM works fine in with ZK 7, bUT when i change to ZK 8, it gives the problem

link publish delete flag offensive edit
0

answered 2015-12-07 09:46:54 +0800

Darksu gravatar image Darksu
1991 1 4

Hello Senthilchettyin,

Could you please post your pom file?

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2015-12-07 10:03:22 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2611 3 8
http://emrpms.blogspot.in...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>MedXEMR</groupId>
<artifactId>MedXEMR</artifactId>
<version>0.0.1-SNAPSHOT</version>
<properties>
    <zk.version>8.0.0</zk.version>
    <commons-io>2.4</commons-io>
    <jawwa.version>0.4.1</jawwa.version>
    <lb.version>1.0.12</lb.version>
    <jawwa.version>0.4.1</jawwa.version>
    <spring.version>4.0.0.RELEASE</spring.version>
    <spring-security.version>3.2.0.RELEASE</spring-security.version>
    <maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
    <packname>-${project.version}-FL-${maven.build.timestamp}</packname>
</properties>
<packaging>war</packaging>
<name>The LabSystem Project</name>
<description>The LabSystem Project</description>
<licenses>
    <license>
        <name>GNU LESSER GENERAL PUBLIC LICENSE, Version 3</name>
        <url>http://www.gnu.org/licenses/lgpl.html</url>
        <distribution>repo</distribution>
    </license>
</licenses>

<repositories>
    <repository>
        <id>ZK CE</id>
        <name>ZK CE Repository</name>
        <url>http://mavensync.zkoss.org/maven2</url>
    </repository>
    <repository>
        <id>ZK EE</id>
        <url>https://maven.zkoss.org/repo/zk/ee</url>
    </repository>

    <repository>
        <id>ZK Evaluation Repository</id>
        <url>http://mavensync.zkoss.org/eval</url>
    </repository>

    <repository>
        <id>jawsy-releases</id>
        <url>http://oss.jawsy.fi/maven2/releases/</url>
    </repository>

    <repository>
        <id>com.asual.maven.public</id>
        <name>Asual Public Repository</name>
        <url>http://www.asual.com/maven/content/groups/public</url>
    </repository>

    <repository>
        <id>repository.springsource.milestone</id>
        <name>SpringSource Milestone Repository</name>
        <url>http://repo.springsource.org/milestone</url>
    </repository>

    <repository>
        <id>jr-ce-releases</id>
        <url>http://jaspersoft.artifactoryonline.com/jaspersoft/jr-ce-releases</url>
    </repository>

</repositories>
<pluginRepositories>
    <pluginRepository>
        <id>zkmaven</id>
        <name>ZK Maven Plugin Repository</name>
        <url>http://mavensync.zkoss.org/maven2/</url>
    </pluginRepository>
</pluginRepositories>


<dependencies>
    <!-- CE requirements -->
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zk</artifactId>
        <version>${zk.version}</version>
    </dependency>

    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zml</artifactId>
        <version>${zk.version}</version>
    </dependency>

    <dependency>
        <groupId>org.zkoss.common</groupId>
        <artifactId>zcommon</artifactId>
        <version>${zk.version}</version>
    </dependency>


    <dependency>
        <groupId>org.zkoss.common</groupId>
        <artifactId>zweb</artifactId>
        <version>${zk.version}</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.common</groupId>
        <artifactId>zel</artifactId>
        <version>${zk.version}</version>
    </dependency>

    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zkbind</artifactId>
        <version>${zk.version}</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zul</artifactId>
        <version>${zk.version}</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zkplus</artifactId>
        <version>${zk.version}</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zhtml</artifactId>
        <version>${zk.version}</version>
    </dependency>




    <!-- PE & EE requirements -->
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zkmax</artifactId>
        <version>${zk.version}</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zkplus</artifactId>
        <version>${zk.version}</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zkex</artifactId>
        <version>${zk.version}</version>
    </dependency>
    <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>${commons-io}</version>
    </dependency>

    <!-- ZK JSP -->
    <dependency>
        <groupId>org.zkoss.zk</groupId>
        <artifactId>zuljsp</artifactId>
        <version>2.0</version>
    </dependency>

    <!-- Addons -->
    <dependency>
        <groupId>org.zkoss.addon</groupId>
        <artifactId>flashchart</artifactId>
        <version>1.0</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zkforge</groupId>
        <artifactId>timelinez</artifactId>
        <version>2.3.1_50</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zkforge</groupId>
        <artifactId>timeplotz</artifactId>
        <version>1.1_50</version>
        <!-- to avoid version conflict -->
        <exclusions>
            <exclusion>
                <artifactId>timelinez</artifactId>
                <groupId>org.zkoss.zkforge</groupId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zkforge</groupId>
        <artifactId>gmapsz</artifactId>
        <version>3.0.1</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.zkforge</groupId>
        <artifactId>ckez</artifactId>
        <version>3.6.4.0</version>
    </dependency>
    <dependency>
        <groupId>org.zkoss.calendar</groupId>
        <artifactId>calendar</artifactId>
        <version>2.1.5</version>
    </dependency>

    <!-- javax activation? -->
    <dependency>
        <groupId>javax.activation</groupId>
        <artifactId>activation</artifactId>
        <version>1.1-rev-1</version>
    </dependency>

    <!-- Themes -->


    <dependency>
        <groupId>org.zkoss.theme</groupId>
        <artifactId>silvertail</artifactId>
        <version>${zk.version}</version>
    </dependency>


    <!-- commons -->
    <dependency>
        <groupId>commons-discovery</groupId>
        <artifactId>commons-discovery</artifactId>
        <version>0.2</version>
    </dependency>

    <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.1.1</version>
    </dependency>
    <dependency>
        <groupId>commons-fileupload</groupId>
        <artifactId>commons-fileupload</artifactId>
        <version>1.2.1</version>
    </dependency>
    <dependency>
        <groupId>commons-digester</groupId>
        <artifactId>commons-digester</artifactId>
        <version>2.0</version>
    </dependency>
    <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
        <version>3.2.1</version>
    </dependency>
    <dependency>
        <groupId>commons-codec</groupId>
        <artifactId>commons-codec</artifactId>
        <version>1.4</version>
    </dependency>

    <!-- Rome -->
    <dependency>
        <groupId>rome</groupId>
        <artifactId>rome</artifactId>
        <version>1.0</version>
    </dependency>

    <!-- Jasperreports -->
    <dependency>
        <groupId>net.sf.jasperreports</groupId>
        <artifactId>jasperreports</artifactId>
        <version>5.6.1</version>
    </dependency>


    <dependency>
        <groupId>net.sf.jasperreports</groupId>
        <artifactId>jasperreports-functions</artifactId>
        <version>5.2.0</version>
    </dependency>


    <!-- filters -->
    <dependency>
        <groupId>com.jhlabs</groupId>
        <artifactId>filters</artifactId>
        <version>2.0.235</version>
    </dependency>




    <dependency>
        <groupId>ch.qos.logback</groupId>
        <artifactId>logback-core</artifactId>
        <version>1.0.13</version>
    </dependency>
    <dependency>
        <groupId>ch.qos.logback</groupId>
        <artifactId>logback-classic</artifactId>
        <version>1.0.13</version>
    </dependency>
    <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
        <version>1.6.2</version>
    </dependency>


    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-lang3</artifactId>
        <version>3.1</version>
    </dependency>

    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-compress</artifactId>
        <version>1.8.1</version>
    </dependency>



    <dependency>
        <groupId>org.apache.pdfbox</groupId>
        <artifactId>pdfbox</artifactId>
        <version>1.8.4</version>
    </dependency>



    <dependency>
        <groupId>com.jcraft</groupId>
        <artifactId>jsch</artifactId>
        <version>0.1.50</version>
    </dependency>


    <dependency>
        <groupId>org.apache.commons</groupId>
        <artifactId>commons-vfs2</artifactId>
        <version>2.0</version>
    </dependency>


    <dependency>
        <groupId>commons-validator</groupId>
        <artifactId>commons-validator</artifactId>
        <version>1.4.0</version>
    </dependency>


    <dependency> <!-- Apache BasicDataSource -->
        <groupId>commons-dbcp</groupId>
        <artifactId>commons-dbcp</artifactId>
        <version>1.2.2</version>
    </dependency>

    <dependency>
        <groupId>c3p0</groupId>
        <artifactId>c3p0</artifactId>
        <version>0.9.1.2</version>
    </dependency>


    <!-- AOP dependency -->
    <dependency>
        <groupId>cglib</groupId>
        <artifactId>cglib</artifactId>
        <version>2.2.2</version>
    </dependency>

    <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>
        <version>3.0</version>
    </dependency>

    <dependency>
        <groupId>javax.mail</groupId>
        <artifactId>mail</artifactId>
        <version>1.4.7</version>
    </dependency>


    <dependency> <!-- MySQL database driver -->
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>5.1.24</version>
    </dependency>

    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>servlet-api</artifactId>
        <version>2.5</version>
    </dependency>




    <!-- Spring framework -->
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>${spring.version}</version>
    </dependency>

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context-support</artifactId>
        <version>${spring.version}</version>
    </dependency>

    <dependency> <!-- Used for Hibernate4 LocalSessionFactoryBean -->
        <groupId>org.springframework</groupId>
        <artifactId>spring-orm</artifactId>
        <version>${spring.version}</version>
    </dependency>

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-expression</artifactId>
        <version>${spring.version}</version>
    </dependency>

    <dependency>
        <groupId>org.apache.poi</groupId>
        <artifactId>poi</artifactId>
        <version>3.9</version>
    </dependency>

    <dependency>
        <groupId>org.apache.poi</groupId>
        <artifactId>poi-ooxml</artifactId>
        <version>3.9</version>
    </dependency>

    <dependency>
        <groupId>fi.jawsy.jawwa</groupId>
        <artifactId>jawwa-zk-gritter</artifactId>
        <version>${jawwa.version}</version>
    </dependency>



    <!-- Spring Secuirty framework -->
    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-core</artifactId>
        <version>${spring-security.version}</version>
    </dependency>

    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-web</artifactId>
        <version>${spring-security.version}</version>
    </dependency>

    <dependency>
        <groupId>org.springframework.security</groupId>
        <artifactId>spring-security-config</artifactId>
        <version>${spring-security.version}</version>
    </dependency>


    <dependency>
        <groupId>net.sourceforge.barbecue</groupId>
        <artifactId>barbecue</artifactId>
        <version>1.5-beta1</version>
    </dependency>

    <dependency>
        <groupId>org.zkoss.chart</groupId>
        <artifactId>zkcharts</artifactId>
        <version>2.0.0</version>
    </dependency>

    <dependency>
        <groupId>org.samba.jcifs</groupId>
        <artifactId>jcifs</artifactId>
        <version>1.3.14-kohsuke-1</version>
    </dependency>


    <dependency>
        <groupId>org.jsoup</groupId>
        <artifactId>jsoup</artifactId>
        <version>1.7.2</version>
    </dependency>

    <dependency>
        <groupId>javax.ws.rs</groupId>
        <artifactId>javax.ws.rs-api</artifactId>
        <version>2.0.1</version>
        <scope>provided</scope>
    </dependency>


    <dependency>
        <groupId>net.sf.opencsv</groupId>
        <artifactId>opencsv</artifactId>
        <version>2.3</version>
    </dependency>


    <dependency>
        <groupId>org.jboss.resteasy</groupId>
        <artifactId>resteasy-client</artifactId>
        <version>3.0.2.Final</version>
    </dependency>


    <!-- Product Dependendcy -->

    <dependency>
        <groupId>MedXTheme</groupId>
        <artifactId>MedXTheme</artifactId>
        <version>0.0.1-SNAPSHOT</version>
    </dependency>


    <dependency>
        <groupId>MedXDomain</groupId>
        <artifactId>MedXDomain</artifactId>
        <version>0.0.1-SNAPSHOT</version>
    </dependency>

    <dependency>
        <groupId>MedXService</groupId>
        <artifactId>MedXService</artifactId>
        <version>0.0.1-SNAPSHOT</version>
    </dependency>

    <dependency>
        <groupId>org.zkoss.pivot</groupId>
        <artifactId>pivottable</artifactId>
        <version>2.2.0-Eval</version>
    </dependency>

</dependencies>
<build>

    <finalName>${project.artifactId}</finalName>
    <plugins>
        <!-- Run with Jetty -->
        <plugin>
            <groupId>org.mortbay.jetty</groupId>
            <artifactId>maven-jetty-plugin</artifactId>
            <version>6.1.10</version>
            <configuration>
                <scanIntervalSeconds>5</scanIntervalSeconds>
                <stopKey>foo</stopKey>
                <stopPort>9999</stopPort>
            </configuration>
            <executions>
                <execution>
                    <id>start-jetty</id>
                    <phase>pre-integration-test</phase>
                    <goals>
                        <goal>run</goal>
                    </goals>
                    <configuration>
                        <scanIntervalSeconds>0</scanIntervalSeconds>
                        <daemon>true</daemon>
                    </configuration>
                </execution>
                <execution>
                    <id>stop-jetty</id>
                    <phase>post-integration-test</phase>
                    <goals>
                        <goal>stop</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
        <!-- Compile java -->
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>2.3.2</version>
            <configuration>
                <source>1.7</source>
                <target>1.7</target>
            </configuration>
        </plugin>
        <!-- Build war -->
        <plugin>
            <artifactId>maven-war-plugin</artifactId>
            <groupId>org.apache.maven.plugins</groupId>
            <version>2.1.1</version>
        </plugin>
        <!-- Pack zips -->
        <plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <version>2.2</version>
            <executions>
                <execution>
                    <id>webapp</id>
                    <phase>package</phase>
                    <goals>
                        <goal>single</goal>
                    </goals>
                    <configuration>
                        <finalName>MedXEMR${packname}</finalName>
                        <appendAssemblyId>false</appendAssemblyId>
                        <descriptors>
                            <descriptor>src/main/assembly/webapp.xml</descriptor>
                        </descriptors>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

</project>

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2015-12-06 13:04:55 +0800

Seen: 86 times

Last updated: Dec 07 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More