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] Remote repositories throws the TypeError: Cannot read properties of null (reading 'account') if not configure DockerHub/PrimeHub #20

Open
jimmyliao opened this issue Nov 12, 2021 · 0 comments

Comments

@jimmyliao
Copy link

Summary

With fresh installed Crane v1.0.0, the Settings page did not configure DockerHub and PrimeHub, when navigating to the REMOTE REPOSITORIES, got the TypeError: Cannot read properties of null (reading 'account')

Expected Behavior (required)

Crane can show the empty result on the remote repositories, or prompt user to setup DockerHub or PrimeHub.

Current Behavior (required)

  1. Crane app show default the crane icon loop on window.
  2. Developer Tools web console throws:
react-dom.production.min.js:216 TypeError: Cannot read properties of null (reading 'account')
    at ListRemoteImage.tsx:178
    at Za (react-dom.production.min.js:262)
    at F.unstable_runWithPriority (scheduler.production.min.js:18)
    at R6 (react-dom.production.min.js:122)
    at T3 (react-dom.production.min.js:261)
    at T7 (react-dom.production.min.js:243)
    at react-dom.production.min.js:123
    at F.unstable_runWithPriority (scheduler.production.min.js:18)
    at R6 (react-dom.production.min.js:122)
    at Yr (react-dom.production.min.js:123)
wr @ react-dom.production.min.js:216
I9.h.callback @ react-dom.production.min.js:216
Xr @ react-dom.production.min.js:131
aa @ react-dom.production.min.js:220
qa @ react-dom.production.min.js:259
F.unstable_runWithPriority @ scheduler.production.min.js:18
R6 @ react-dom.production.min.js:122
x8 @ react-dom.production.min.js:252
T7 @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
F.unstable_runWithPriority @ scheduler.production.min.js:18
R6 @ react-dom.production.min.js:122
Yr @ react-dom.production.min.js:123
g8 @ react-dom.production.min.js:122
s8 @ react-dom.production.min.js:237
gr @ react-dom.production.min.js:170
(anonymous) @ index.js:424
H @ raf.js:36
(anonymous) @ raf.js:40
requestAnimationFrame (async)
c @ raf.js:11
H @ raf.js:39
N @ raf.js:47
(anonymous) @ index.js:423
Za @ react-dom.production.min.js:262
F.unstable_runWithPriority @ scheduler.production.min.js:18
R6 @ react-dom.production.min.js:122
T3 @ react-dom.production.min.js:261
T7 @ react-dom.production.min.js:243
(anonymous) @ react-dom.production.min.js:123
F.unstable_runWithPriority @ scheduler.production.min.js:18
R6 @ react-dom.production.min.js:122
Yr @ react-dom.production.min.js:123
g8 @ react-dom.production.min.js:122
s8 @ react-dom.production.min.js:237
enqueueSetState @ react-dom.production.min.js:133
p0.setState @ react.production.min.js:12
l0.onResize @ index.js:66
ListRemoteImage.tsx:178 Uncaught TypeError: Cannot read properties of null (reading 'account')
    at ListRemoteImage.tsx:178
    at Za (react-dom.production.min.js:262)
    at F.unstable_runWithPriority (scheduler.production.min.js:18)
    at R6 (react-dom.production.min.js:122)
    at T3 (react-dom.production.min.js:261)
    at T7 (react-dom.production.min.js:243)
    at react-dom.production.min.js:123
    at F.unstable_runWithPriority (scheduler.production.min.js:18)
    at R6 (react-dom.production.min.js:122)
    at Yr (react-dom
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

1 participant