Hi guys,
I am not using ABM for a long time.
Usually I ran in under Ubuntu with these method :
1. copied directory www from my development pc to home directory in Ubuntu
2. copied compiled jar file and copymewithjar.needs fie to home directory in Ubuntu
3. ran java -jar compiled.jar
It ran OK without problems. Now tried same method, but this time ran in windows, got errors:
abmapplication._vvvvvv5 (java line: 41)
java.lang.NullPointerException
at java.io.File.<init>(Unknown Source)
at com.ab.abmaterial.ABMaterial.CheckApp(Unknown Source)
at com.ab.abmaterial.ABMaterial.WritePageToDisk(Unknown Source)
at com.ab.template.abmapplication._vvvvvv5(abmapplication.java:41)
at com.ab.template.abmserver._vvvvvv5(abmserver.java:49)
at com.ab.template.main._appstart(main.java:77)
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:109)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:96)
at com.ab.template.main.main(main.java:28)
How to fix that?
Thanks in advance.
I am not using ABM for a long time.
Usually I ran in under Ubuntu with these method :
1. copied directory www from my development pc to home directory in Ubuntu
2. copied compiled jar file and copymewithjar.needs fie to home directory in Ubuntu
3. ran java -jar compiled.jar
It ran OK without problems. Now tried same method, but this time ran in windows, got errors:
abmapplication._vvvvvv5 (java line: 41)
java.lang.NullPointerException
at java.io.File.<init>(Unknown Source)
at com.ab.abmaterial.ABMaterial.CheckApp(Unknown Source)
at com.ab.abmaterial.ABMaterial.WritePageToDisk(Unknown Source)
at com.ab.template.abmapplication._vvvvvv5(abmapplication.java:41)
at com.ab.template.abmserver._vvvvvv5(abmserver.java:49)
at com.ab.template.main._appstart(main.java:77)
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:109)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:96)
at com.ab.template.main.main(main.java:28)
How to fix that?
Thanks in advance.