B4J Question [solved] Error after changing Package Name

Patent

Member
Licensed User
Longtime User
i changed in Build Configuarations the Packge Name.
Now i am getting some null pointer exceptions when running my app.

What is the case here?
I think its related to the designer -layout files. Is this right?

thanks a lot

patent
 

Patent

Member
Licensed User
Longtime User
i have tried it with a copy of my project and: no problem.
i realy cant say what i have done with the actual project, but it is not working any more.
here is the trace:

Waiting for debugger to connect...
Program started.

(NullPointerException) java.lang.NullPointerException
Error occurred on line: 1321 (Main)
java.lang.NullPointerException
at test.test.main._filesfilternohnedirnamen(main.java:4196)
at test.test.musicplay._getplaylistrunsemptyfolder(musicplay.java:435)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:625)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:234)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:168)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:94)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at anywheresoftware.b4a.shell.DebugResumableSub$RemoteResumableSub.resume(DebugResumableSub.java:22)
at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:135)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:84)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:94)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:487)
at anywheresoftware.b4a.keywords.Common.access$0(Common.java:467)
at anywheresoftware.b4a.keywords.Common$CallSubDelayedHelper.run(Common.java:541)
at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)
at java.lang.Thread.run(Thread.java:748)
 
Upvote 0

Patent

Member
Licensed User
Longtime User
here is the "solution":

i got different errors, the one above sais nothing about the problem i think.
after many trys, just to start the app, i got "out of memory....",
"core-lib"......and so on - errors

little frustrating......

what i did:
-opened a new, clean project
-added the files and libs manually to the project
-added the code manually via copy-paste from the dead project
-it works again (like yesterday!!)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…