Closed seikainosenki closed 10 years ago
Steve
On Wednesday, January 15, 2014, seikainosenki notifications@github.com wrote:
Tried submitting an IOS debug build using charts but the build failed with the following error in log. Also should this work in the emulator? I am getting a class not found error on java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel at com.codename1.impl.javase.JavaSEPort.createBrowserComponent(JavaSEPort.java:5546)
** Here is the build error ***
Executing: javac -classpath /var/folders/p_/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/classes -d /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/classes /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/stub/ClaimStreamMobileStub.java Note: /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/stub/ClaimStreamMobileStub.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Executing: javac -classpath /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/classes -d /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/seVer /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/stub/ClaimStreamMobileStub.java Note: /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/stub/ClaimStreamMobileStub.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. [EDT] 0:0:0,0 - Init [EDT] 0:0:0,279 - Start [EDT] 0:0:0,0 - Init [EDT] 0:0:0,254 - Start [EDT] 0:0:0,0 - Init [EDT] 0:0:0,254 - Start [EDT] 0:0:0,0 - Init [EDT] 0:0:0,250 - Start [EDT] 0:0:0,0 - Init [EDT] 0:0:0,251 - Start [EDT] 0:0:0,0 - Init [EDT] 0:0:0,252 - Start [EDT] 0:0:0,0 - Init [EDT] 0:0:0,253 - Start Executing: security default-keychain -s login.keychain Executing: java -Xmx2048m -jar xmlvm.jar --in=/var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/classes --resource=/var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/res/ --resource=/var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/btres/ --lib=libzbar.a --out=/var/folders/p/xlvwhg4101z8r81_nl13cds80000gn/T/build8784636725295818326xxx --target=iphonec --app-name=ClaimStreamMobile -DXcodeProject=ios -DBundleIdentifier=com.stoneriver.iip.claims.mobile -DBundleVersion=1.0 -DBundleDisplayName=Claims Stream -DStatusBarHidden=false -DPrerenderedIcon=false -DApplicationExits=false -DUISupportedInterfaceOrientations=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideDown:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight -DSupportedInterfaceOrientations=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideD own:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight -Dfilesharingenabled=false [01/15/14 19:46:33.820] ERROR: Couldn't create node for ca.weblite.codename1.components.charts.ChartBuilder Exception in thread "main" java.lang.reflect.InvocationTargetException 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.simontuffs.onejar.Boot.run(Boot.java:306) at com.simontuffs.onejar.Boot.main(Boot.java:159) Caused by: java.lang.NullPointerException at org.xmlvm.util.ObjectHierarchyHelper.getXmlvmResource(ObjectHierarchyHelper.java:182) at org.xmlvm.util.ObjectHierarchyHelper.(ObjectHierarchyHelper.java:100) at org.xmlvm.proc.out.VtableOutputProcess.processPhase2(VtableOutputProcess.java:108) at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:223) at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:220) at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:220) at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:220) at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:162) at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:137) at org.xmlvm.Main.main(Main.java:55) ... 6 more
— Reply to this email directly or view it on GitHubhttps://github.com/shannah/CN1-Charts/issues/3 .
Steve Hannah Web Lite Solutions Corp.
Just tried a build of the test app. Worked fine. Are you showing the chart on the first form? Sometimes I have found bugs with CN1 showing webviews on the first form. If not, can you post some code?
Turns out it has to do with my build.xml not being updated after I added the library. It works once I get it to regenerate the build.xml. Thanks.
Tried submitting an IOS debug build using charts but the build failed with the following error in log. Also should this work in the emulator? I am getting a class not found error on java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel at com.codename1.impl.javase.JavaSEPort.createBrowserComponent(JavaSEPort.java:5546)
** Here is the build error ***
Executing: javac -classpath /var/folders/p_/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/classes -d /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/classes /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/stub/ClaimStreamMobileStub.java Note: /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/stub/ClaimStreamMobileStub.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Executing: javac -classpath /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/classes -d /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/seVer /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/stub/ClaimStreamMobileStub.java Note: /var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/stub/ClaimStreamMobileStub.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. [EDT] 0:0:0,0 - Init [EDT] 0:0:0,279 - Start [EDT] 0:0:0,0 - Init [EDT] 0:0:0,254 - Start [EDT] 0:0:0,0 - Init [EDT] 0:0:0,254 - Start [EDT] 0:0:0,0 - Init [EDT] 0:0:0,250 - Start [EDT] 0:0:0,0 - Init [EDT] 0:0:0,251 - Start [EDT] 0:0:0,0 - Init [EDT] 0:0:0,252 - Start [EDT] 0:0:0,0 - Init [EDT] 0:0:0,253 - Start Executing: security default-keychain -s login.keychain Executing: java -Xmx2048m -jar xmlvm.jar --in=/var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/classes --resource=/var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/res/ --resource=/var/folders/p/xlvwhg4101z8r81nl13cds80000gn/T/build8784636725295818326xxx/btres/ --lib=libzbar.a --out=/var/folders/p/xlvwhg4101z8r81_nl13cds80000gn/T/build8784636725295818326xxx --target=iphonec --app-name=ClaimStreamMobile -DXcodeProject=ios -DBundleIdentifier=com.stoneriver.iip.claims.mobile -DBundleVersion=1.0 -DBundleDisplayName=Claims Stream -DStatusBarHidden=false -DPrerenderedIcon=false -DApplicationExits=false -DUISupportedInterfaceOrientations=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideDown:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight -DSupportedInterfaceOrientations=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideDown:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight -Dfilesharingenabled=false [01/15/14 19:46:33.820] ERROR: Couldn't create node for ca.weblite.codename1.components.charts.ChartBuilder Exception in thread "main" java.lang.reflect.InvocationTargetException 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.simontuffs.onejar.Boot.run(Boot.java:306) at com.simontuffs.onejar.Boot.main(Boot.java:159) Caused by: java.lang.NullPointerException at org.xmlvm.util.ObjectHierarchyHelper.getXmlvmResource(ObjectHierarchyHelper.java:182) at org.xmlvm.util.ObjectHierarchyHelper.(ObjectHierarchyHelper.java:100)
at org.xmlvm.proc.out.VtableOutputProcess.processPhase2(VtableOutputProcess.java:108)
at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:223)
at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:220)
at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:220)
at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:220)
at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:162)
at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:137)
at org.xmlvm.Main.main(Main.java:55)
... 6 more