Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash at application start CanZE version 1.10 #318

Closed
sapcmc opened this issue Feb 15, 2016 · 11 comments
Closed

Crash at application start CanZE version 1.10 #318

sapcmc opened this issue Feb 15, 2016 · 11 comments

Comments

@sapcmc
Copy link

sapcmc commented Feb 15, 2016

Crash at application start CanZE version 1.10

Android version 5.1.1
mobile: One Plus One
bluetooth on

@fesch
Copy link
Owner

fesch commented Feb 15, 2016

The error code is here:

java.lang.NullPointerException: Attempt to invoke virtual method 'void
lu.fisch.canze.actors.Field.addListener(lu.fisch.canze.interfaces.FieldListener)'
on a null object reference
at lu.fisch.canze.actors.VirtualField.(VirtualField.java:33)
at lu.fisch.canze.actors.Fields.addVirtualFieldUsage(Fields.java:114)
at lu.fisch.canze.actors.Fields.addVirtualFields(Fields.java:93)
at lu.fisch.canze.actors.Fields.load(Fields.java:1561)
at
lu.fisch.canze.activities.MainActivity.loadSettings(MainActivity.java:263)
at
lu.fisch.canze.activities.MainActivity.reloadBluetooth(MainActivity.java:614)
at
lu.fisch.canze.activities.MainActivity.reloadBluetooth(MainActivity.java:607)
at lu.fisch.canze.activities.MainActivity$8.run(MainActivity.java:526)
at java.lang.Thread.run(Thread.java:818)

=> What car did you select please?

On 15.02.2016 9:29 , sapcmc wrote:

Crash at application start CanZE version 1.10

Android version 5.1.1
mobile: One Plus One
bluetooth on


Reply to this email directly or view it on GitHub
#318.

@sapcmc
Copy link
Author

sapcmc commented Feb 15, 2016

Hello,

Does not even allow me to select car. It crashes at initialization.

Best Regards,
Carlos Carvalho

On Mon, Feb 15, 2016 at 9:33 AM, Bob Fisch notifications@github.com wrote:

The error code is here:

java.lang.NullPointerException: Attempt to invoke virtual method 'void

lu.fisch.canze.actors.Field.addListener(lu.fisch.canze.interfaces.FieldListener)'
on a null object reference
at lu.fisch.canze.actors.VirtualField.(VirtualField.java:33)
at lu.fisch.canze.actors.Fields.addVirtualFieldUsage(Fields.java:114)
at lu.fisch.canze.actors.Fields.addVirtualFields(Fields.java:93)
at lu.fisch.canze.actors.Fields.load(Fields.java:1561)
at
lu.fisch.canze.activities.MainActivity.loadSettings(MainActivity.java:263)
at

lu.fisch.canze.activities.MainActivity.reloadBluetooth(MainActivity.java:614)
at

lu.fisch.canze.activities.MainActivity.reloadBluetooth(MainActivity.java:607)
at lu.fisch.canze.activities.MainActivity$8.run(MainActivity.java:526)
at java.lang.Thread.run(Thread.java:818)

=> What car did you select please?

On 15.02.2016 9:29 , sapcmc wrote:

Crash at application start CanZE version 1.10

Android version 5.1.1
mobile: One Plus One
bluetooth on


Reply to this email directly or view it on GitHub
#318.


Reply to this email directly or view it on GitHub
#318 (comment).

@fesch
Copy link
Owner

fesch commented Feb 15, 2016

Did you have installed CanZE before?

@sapcmc
Copy link
Author

sapcmc commented Feb 15, 2016

No, first time. Also I have cleared data and cache after crash and still
crashes. Be aware dongle is not turned on, just the mobile.

On Mon, Feb 15, 2016 at 9:40 AM, Bob Fisch notifications@github.com wrote:

Did you have installed CanZE before?


Reply to this email directly or view it on GitHub
#318 (comment).

@fesch
Copy link
Owner

fesch commented Feb 15, 2016

@yoh-there : As far as I seen, the load method is being called and when no car is selected, the required fields will no be loaded into the memory, which is the cause of the crash I think.

@sapcmc
Copy link
Author

sapcmc commented Feb 15, 2016

Hello,

So will wait for correction, thank you in advance.

On Mon, Feb 15, 2016 at 10:35 AM, Bob Fisch notifications@github.com
wrote:

@yoh-there https://github.com/yoh-there : As far as I seen, the load
method is being called and when no car is selected, the required fields
will no be loaded into the memory, which is the cause of the crash I think.


Reply to this email directly or view it on GitHub
#318 (comment).

@fesch
Copy link
Owner

fesch commented Feb 15, 2016

@sapcmc : if you can't wait, please try to download and install version 1.09 from the release section

@sapcmc
Copy link
Author

sapcmc commented Feb 15, 2016

I can wait, it is fine, still don’t have the ZOE was testing application.

On Mon, Feb 15, 2016 at 11:21 AM, Bob Fisch notifications@github.com
wrote:

@sapcmc https://github.com/sapcmc : if you can't wait, please try to
download and install version 1.09 from the release section


Reply to this email directly or view it on GitHub
#318 (comment).

@yoh-there
Copy link
Collaborator

Ah, that makes sense. I will have a peek. Worst case we quick-fix-default
to a Zoe right?

On Mon, Feb 15, 2016 at 10:35 AM, Bob Fisch notifications@github.com
wrote:

@yoh-there https://github.com/yoh-there : As far as I seen, the load
method is being called and when no car is selected, the required fields
will no be loaded into the memory, which is the cause of the crash I think.


Reply to this email directly or view it on GitHub
#318 (comment).

Please use Signal to reach me on secure IM and VoIP http://sgnl.link/1KpeYmF

@fesch
Copy link
Owner

fesch commented Feb 15, 2016

Yes, that would make sense, as most use this setting I think ...

@fesch
Copy link
Owner

fesch commented Feb 15, 2016

fixed, new version uploaded to Google Play. Waiting for validation ...

@fesch fesch closed this as completed Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants