Menu

#4 Build problem

v1.0_(example)
closed
5
2014-02-21
2013-03-14
Anonymous
No

Hello everybody,

I've just checked out the trunk folder of GSN to try run it from ANT. Everything went smoothly but when I issue
> ant gsn

I get the following error:
--------------------------------------------------
Buildfile: D:\GSN\trunk\build.xml

init:

setup:

build:
[javac] D:\GSN\trunk\build.xml:64: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

bind:

cleandb:
[java] Exception in thread "main" java.lang.VerifyError: Expecting a stackmap frame at branch target 24 in method gsn.beans.ContainerConfig.JiBX_conf_containerJIBX_unmarshal_1_0(Lorg/jibx/runtime/impl/UnmarshallingContext;)Lgsn/beans/ContainerConfig; at offset 16
[java] at java.lang.Class.getDeclaredFields0(Native Method)
[java] at java.lang.Class.privateGetDeclaredFields(Class.java:2317)
[java] at java.lang.Class.getDeclaredField(Class.java:1899)
[java] at org.jibx.runtime.BindingDirectory.getBindingList(BindingDirectory.java:70)
[java] at org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:207)
[java] at gsn.Main.loadContainerConfig(Main.java:304)
[java] at gsn.Main.getContainerConfig(Main.java:343)
[java] at gsn.storage.CleanDB.main(CleanDB.java:17)

gsn:
[java] GSN is trying to start.
[java] All GSN logs are available at: logs/gsn.log
[java] ERROR [2013-03-14 15:01:34,507] [main] ( Main.java:212) -
[java] java.lang.NullPointerException
[java] at gsn.Main.<init>(Main.java:98)
[java] at gsn.Main.getInstance(Main.java:210)
[java] at gsn.Main.main(Main.java:244)
[java] Starting GSN failed! Look at logs/gsn.log for more information.
--------------------------------------------------

The same if I try to run it in eclipse. Tried in Win7 and Ubuntu 12.10,,,any ideas?

Thx a lot.

Discussion

  • Sofiane Sarni

    Sofiane Sarni - 2013-04-14
    • status: open --> accepted
    • assigned_to: Sofiane Sarni
    • Group: --> v1.0_(example)
     
  • Sofiane Sarni

    Sofiane Sarni - 2013-04-14

    Which version of Java are you using?
    GSN requires Java 1.6 and cannot run with version 1.7

     
  • Sofiane Sarni

    Sofiane Sarni - 2013-12-02
    • summary: wht's wrong with me? --> Build problem
     
  • Tonio Gsell

    Tonio Gsell - 2013-12-02

    by adding:
    jvmarg value="-noverify"

     
  • Sofiane Sarni

    Sofiane Sarni - 2014-02-21
    • status: accepted --> closed
     
  • Sofiane Sarni

    Sofiane Sarni - 2014-02-21

    Fixed

     

Log in to post a comment.

MongoDB Logo MongoDB