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

[Bug]: 10x crashes with console error: Invalid number #401

Closed
hipitihop opened this issue Jul 26, 2023 · 6 comments
Closed

[Bug]: 10x crashes with console error: Invalid number #401

hipitihop opened this issue Jul 26, 2023 · 6 comments
Labels

Comments

@hipitihop
Copy link
Contributor

What happened?

Exception in console after an error in a subscription. 10x does not come up, even after refresh whole page.

Note: after rolling back to prior version, I see the issue there too.

Error: Invalid number: 0e5d83b7-f22a-4762-8450-36be7d65ef10.
    at new cljs$core$ExceptionInfo (core.cljs:11623:11)
    at Function.eval [as cljs$core$IFn$_invoke$arity$3] (core.cljs:11655:5)
    at Function.eval [as cljs$core$IFn$_invoke$arity$2] (core.cljs:11653:16)
    at Function.eval [as cljs$core$IFn$_invoke$arity$variadic] (errors.cljs:37:13)
    at Function.eval [as cljs$core$IFn$_invoke$arity$variadic] (errors.cljs:43:4)
    at Object.cljs$tools$reader$impl$errors$throw_invalid_number [as throw_invalid_number] (errors.cljs:81:4)
    at Object.cljs$tools$reader$edn$read_number [as read_number] (edn.cljs:214:14)
    at Function.eval [as cljs$core$IFn$_invoke$arity$4] (edn.cljs:406:42)
    at eval (edn.cljs:176:22)
    at Object.cljs$tools$reader$edn$read_delimited [as read_delimited] (edn.cljs:176:21)

10x Version

1.8.0

Reagent Version

1.2.0

React Version

17.0.2

re-frame Version

1.3.0

What browsers are you seeing the problem on?

Chrome

Relevant console output

Preceding console error

#error {:message 
"Invalid number: 0e5d … 2-8450-36be7d65ef10."
, :data {:type :reader-exception, :ex-kind :reader-error}}
reportError	@	voz-rf.js:1286
env.evalLoad	@	voz-rf.js:1399
(anonymous)	@	voz-rf.js:1823
@hipitihop hipitihop added the bug label Jul 26, 2023
@hipitihop hipitihop changed the title [Bug]: [Bug]: 10x crashes with console error Jul 26, 2023
@hipitihop hipitihop changed the title [Bug]: 10x crashes with console error [Bug]: 10x crashes with console error: Invalid number Jul 26, 2023
@hipitihop
Copy link
Contributor Author

hipitihop commented Jul 26, 2023

Update: I went through all keys in devtools -> Application -> local storage -> locahost and removed all 10x keys manually... now 10x starts up again

@kimo-k
Copy link
Contributor

kimo-k commented Jul 26, 2023

I think 6303fcf fixes this.

@kimo-k
Copy link
Contributor

kimo-k commented Jul 26, 2023

Fixed in 1.8.1

@kimo-k kimo-k closed this as completed Jul 26, 2023
@hipitihop
Copy link
Contributor Author

@kimo-k I think the following crash in 1.7.0, and not fixed by 1.8.1 may be related. I had to do the same thing and manually go through local storage and delete all 10x keys to get it running again.

image

@hipitihop hipitihop reopened this Jul 28, 2023
@kimo-k
Copy link
Contributor

kimo-k commented Jul 28, 2023

Interesting. Let me know if you find a way to reproduce.

I recently updated the docs to emphasize factory reset. Hopefully it makes these kind of stateful bugs a little less daunting for our users.

@hipitihop
Copy link
Contributor Author

@kimo-k Thanks. I'll keep an eye out but factory reset should be enough to resolve it if happens again. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants