So I tried to recreate the project but there was an issue. Same crashes but
with different stacktrace.

I tried to create the project using the same package name and the same name
of Main class so as to make copying into it easier. But this is always
crashing.

If I use a different package name but with the same theme(*Mapper* theme
and selecting *Hello word Old GUI builder *as the template). Then the hello
world runs fine. But with my package name this error is happening.

See stacktrace below

Retina Scale: 1.0
java.lang.NullPointerException
at com.codename1.ui.Display.isSimulator(Display.java:4519)
at com.codename1.io.Log.bindCrashProtection(Log.java:604)
at com.thepackagename.bizdir.BizDirFund.init(BizDirFund.java:25)
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:497)
at com.codename1.impl.javase.Executor$3$1.run(Executor.java:250)
at com.codename1.ui.Display.processSerialCalls(Display.java:1298)
at com.codename1.ui.Display.mainEDTLoop(Display.java:1093)
at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)
at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176)
Java Result: 1
BUILD SUCCESSFUL (total time: 9 seconds)


Please take a look


On Wed, Jul 31, 2019 at 3:21 AM Shai Almog <[email protected]> wrote:

> You can try to create an isolated test case to reproduce it and file an
> issue in the issue tracker. Just create a blank project and start adding
> things in from your existing project to reproduce it.
> I'm guessing this won't happen because the issue is in the project itself.
> So try the reverse, copy your project and then remove everything except
> for the code causing the issue then compare that to the blank project to
> see how they differ.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/codenameone-discussions/hy0euzCH0J0/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/8786b398-bdcc-4e0e-95b7-e57f656e78ed%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/8786b398-bdcc-4e0e-95b7-e57f656e78ed%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
*Joshua **Aroke.*
*+2348061662025*
codebit. <http://codebit.ng/>ng

Information contained in this email and any attachments are confidential
and intended solely for the use of the addressee only or otherwise directed
in such applicable cases. Any dissemination, distribution, copying or use
of this communication without prior permission from the addressee is
strictly prohibited. If you are not the intended recipient of this
communication, please delete permanently without copying, disclosing or
otherwise using its contents and notify the sender immediately. Please note
that any views or opinions presented in this email are solely those of the
author. Joshua accepts no liability for any damage caused by any virus
transmitted by this email.
All My communications with you is rendered in accordance with the
applicable conditions. Thank you for too kind.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CACD_htwj25o83cJg_YecQUxt-hc2SOKt-z%3Di019x9faahOMv%2Bg%40mail.gmail.com.

Reply via email to