B4J Question Crasch con Java8

maxware

Well-Known Member
Licensed User
Longtime User
Ciao a tutti
Ho notato che il programma da me creato AlfaDeskPC va in crasch se installato sul pc Java8
Da ambiente di sviluppo b4j funziona tutto

Se rimuovo Java8 e lascio Java7 tutto OK
Se uso il Lounch il programma va in crash.
Se imposto il Lounch come da immagine tutto ok
Grazie a tutti Massimo

.....google traduttore

Hello everyone
I noticed that the program I created AlfaDeskPC goes crasch if installed on pc Java8
From development environment b4j all works

If I remove Java8 Java7 and leave everything OK
If I use the Lounch the program crashes.
If I set my Lounch as picture everything ok

upload_2015-2-23_9-57-3-png.32425
 

maxware

Well-Known Member
Licensed User
Longtime User
ciao Erel
...
C:\AlfaDesk>java -jar alfadeskpc.jar

Program started.

CreateTable: CREATE TABLE IF NOT EXISTS [UpdateApp] ([db] INTEGER, [str_sql] TEX

T, [str_sql1] TEXT, [str_sql2] TEXT, [str_sql3] TEXT, [v_tmp1] TEXT, [v_tmp2] TE

XT, [v_tmp3] TEXT, [v_tmp4] TEXT, [v_tmp5] TEXT)

CreateTable: CREATE TABLE IF NOT EXISTS [DocumentiLoc] ([r_riga_N] INTEGER, [r_r

iga_T] TEXT, [r_codArt] TEXT, [r_desArt] TEXT, [r_qta] TEXT, [r_prezzo] TEXT, [r

_codIva] TEXT, [r_sconto1] TEXT, [r_sconto2] TEXT, [r_totale] TEXT, [r_totaleiva

] TEXT, [v_tmp1] TEXT, [v_tmp2] TEXT, [v_tmp3] TEXT, [v_tmp4] TEXT, [v_tmp5] TEX

T, [v_tmp6] TEXT, [v_tmp7] TEXT, [v_tmp8] TEXT, [v_tmp9] TEXT, [v_tmp10] TEXT)

CreateTable: CREATE TABLE IF NOT EXISTS [Tab_Statistica] ([tipo_imp] INTEGER, [s

ta_art] INTEGER, [sta_doc] INTEGER, [sta_qta] TEXT, [sta_tmp1] TEXT, [sta_tmp2]

TEXT, [sta_tmp3] TEXT, [sta_tmp4] TEXT, [sta_tmp5] TEXT, [sta_tmp6] TEXT, [sta_t

mp7] TEXT, [sta_tmp8] TEXT, [sta_tmp9] TEXT, [sta_tmp10] TEXT)

C:\AlfaDesk

CreateTable: CREATE TABLE IF NOT EXISTS [TabLog] ([Id] TEXT, [movimento] TEXT, [

data] TEXT, [datalog] INTEGER)

CreateTable: CREATE TABLE IF NOT EXISTS [TabUtenti] ([Id] TEXT, [utente] TEXT, [

dispositivo] TEXT, [percoso] TEXT)

CreateTable: CREATE TABLE IF NOT EXISTS [TabQuerySta] ([id] INTEGER, [nome] TEXT

, [metrica] TEXT, [valore] TEXT, [filtro] TEXT, [gruppo] TEXT, [opzione] TEXT, [

v_tmp1] TEXT, [v_tmp2] TEXT, [v_tmp3] TEXT)

CreateTable: CREATE TABLE IF NOT EXISTS [UpdateApp] ([db] INTEGER, [str_sql] TEX

T, [str_sql1] TEXT, [str_sql2] TEXT, [str_sql3] TEXT, [v_tmp1] TEXT, [v_tmp2] TE

XT, [v_tmp3] TEXT, [v_tmp4] TEXT, [v_tmp5] TEXT)

CreateTable: CREATE TABLE IF NOT EXISTS [DocumentiLoc] ([r_riga_N] INTEGER, [r_r

iga_T] TEXT, [r_codArt] TEXT, [r_desArt] TEXT, [r_qta] TEXT, [r_prezzo] TEXT, [r

_codIva] TEXT, [r_sconto1] TEXT, [r_sconto2] TEXT, [r_totale] TEXT, [r_totaleiva

] TEXT, [v_tmp1] TEXT, [v_tmp2] TEXT, [v_tmp3] TEXT, [v_tmp4] TEXT, [v_tmp5] TEX

T, [v_tmp6] TEXT, [v_tmp7] TEXT, [v_tmp8] TEXT, [v_tmp9] TEXT, [v_tmp10] TEXT)

CreateTable: CREATE TABLE IF NOT EXISTS [Tab_Statistica] ([tipo_imp] INTEGER, [s

ta_art] INTEGER, [sta_doc] INTEGER, [sta_qta] TEXT, [sta_tmp1] TEXT, [sta_tmp2]

TEXT, [sta_tmp3] TEXT, [sta_tmp4] TEXT, [sta_tmp5] TEXT, [sta_tmp6] TEXT, [sta_t

mp7] TEXT, [sta_tmp8] TEXT, [sta_tmp9] TEXT, [sta_tmp10] TEXT)

C:\AlfaDesk

CreateTable: CREATE TABLE IF NOT EXISTS [TabLog] ([Id] TEXT, [movimento] TEXT, [

data] TEXT, [datalog] INTEGER)

CreateTable: CREATE TABLE IF NOT EXISTS [TabUtenti] ([Id] TEXT, [utente] TEXT, [

dispositivo] TEXT, [percoso] TEXT)

CreateTable: CREATE TABLE IF NOT EXISTS [TabQuerySta] ([id] INTEGER, [nome] TEXT

, [metrica] TEXT, [valore] TEXT, [filtro] TEXT, [gruppo] TEXT, [opzione] TEXT, [

v_tmp1] TEXT, [v_tmp2] TEXT, [v_tmp3] TEXT)

ExecuteMemoryTable: SELECT desDoc FROM TabTipDoc order by desDoc

frmdocumenti._show (java line: 1330)

java.lang.NoClassDefFoundError: com/sun/javafx/scene/control/skin/SkinBase

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at javafx.scene.control.Control.loadClass(Unknown Source)

at javafx.scene.control.Control.loadSkinClass(Unknown Source)

at javafx.scene.control.Control$4.invalidated(Unknown Source)

at javafx.beans.property.StringPropertyBase.markInvalid(Unknown Source)

at javafx.beans.property.StringPropertyBase.set(Unknown Source)

at javafx.css.StyleableStringProperty.set(Unknown Source)

at javafx.scene.control.Control$4.set(Unknown Source)

at javafx.css.StyleableStringProperty.applyStyle(Unknown Source)

at javafx.css.StyleableStringProperty.applyStyle(Unknown Source)

at javafx.scene.CssStyleHelper.transitionToState(Unknown Source)

at javafx.scene.Node.impl_processCSS(Unknown Source)

at javafx.scene.Parent.impl_processCSS(Unknown Source)

at javafx.scene.control.Control.impl_processCSS(Unknown Source)

at javafx.scene.Parent.impl_processCSS(Unknown Source)

at javafx.scene.Parent.impl_processCSS(Unknown Source)

at javafx.scene.Parent.impl_processCSS(Unknown Source)

at javafx.scene.Parent.impl_processCSS(Unknown Source)

at javafx.scene.control.Control.impl_processCSS(Unknown Source)

at javafx.scene.Parent.impl_processCSS(Unknown Source)

at javafx.scene.Parent.impl_processCSS(Unknown Source)

at javafx.scene.control.Control.impl_processCSS(Unknown Source)

at javafx.scene.Parent.impl_processCSS(Unknown Source)

at javafx.scene.Parent.impl_processCSS(Unknown Source)

at javafx.scene.Node.processCSS(Unknown Source)

at javafx.scene.Scene.doCSSPass(Unknown Source)

at javafx.scene.Scene.preferredSize(Unknown Source)

at javafx.scene.Scene.impl_preferredSize(Unknown Source)

at javafx.stage.Window$9.invalidated(Unknown Source)

at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)


at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)

at javafx.stage.Window.setShowing(Unknown Source)

at javafx.stage.Window.show(Unknown Source)

at javafx.stage.Stage.show(Unknown Source)

at anywheresoftware.b4j.objects.Form.Show(Form.java:187)

at b4j.example.frmdocumenti._show(frmdocumenti.java:1330)

at b4j.example.main._cmddocumenti_action(main.java:343)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)

at anywheresoftware.b4a.BA$2.run(BA.java:165)

at com.sun.javafx.application.PlatformImpl.lambda$null$164(Unknown Sourc

e)

at com.sun.javafx.application.PlatformImpl$$Lambda$47/8841441.run(Unknow

n Source)

at java.security.AccessController.doPrivileged(Native Method)

at com.sun.javafx.application.PlatformImpl.lambda$runLater$165(Unknown S

ource)

at com.sun.javafx.application.PlatformImpl$$Lambda$45/7135120.run(Unknow

n Source)

at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)

at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)

at com.sun.glass.ui.win.WinApplication.lambda$null$141(Unknown Source)

at com.sun.glass.ui.win.WinApplication$$Lambda$37/24247422.run(Unknown S

ource)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.ClassNotFoundException: com.sun.javafx.scene.control.skin.S

kinBase

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

... 64 more



C:\AlfaDesk>
 
Upvote 0

maxware

Well-Known Member
Licensed User
Longtime User
ok
found

JFXtrasDateTextField

Sub Class_Globals
Private fx As JFX
Private frm As Form
Dim datefield As JFXtrasDateTextField
Private panacconto As Pane
End Sub

'Initializes the object. You can add parameters to this method if needed.
Public Sub Initialize
frm.Initialize("frm", 300dip, 200dip)
frm.Title = "Lista Documenti"
frm.RootPane.LoadLayout("PanTest")

datefield.Initialize("DataAcconto")
datefield.DateFormat="dd/MM/yyyy"

panacconto.AddNode(datefield,14 ,29,173,21 )
panacconto.Visible=False



End Sub
Public Sub Show
frm.Show
End Sub
 
Upvote 0
Top