Etc 9

Sourcetree에서 403 오류 발생

https://qiita.com/mamoru6344/items/ea4a34c8eec26bb60e69 GitHubのパスワード認証廃止でSourcetreeで403エラーが発生して解決策がわからなかったのでまとめ 目次 Sourcetreeで403エラー発生... 何が起こっているか? Github上で行ったこと Sourcetree上の解決方法がわからなかった ひとまずSourceTreeの認証をSSHに変更 再度実行でエラー、最... qiita.com 갓갓일본인

Etc/Error 2023.02.02

[Error] Maximum update depth...

함수를 부른다 > render를 다시한다 > 또 함수를 부른다 > 반복 함수를 부른다? : {} 블럭안에 함수명+() 이렇게 썼기때문에 바로 호출의 의미라서 무한이 걸림! -> 무한 루프에 걸리는 코드... 메뉴 //Wrong 따라서 이렇게 사용해야 함! this._toggleState(param)}>메뉴 //Correct 출처: https://kss7547.tistory.com/36 React.js - 이벤트 Error: Maximum update depth... 해결법 Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or comp..

Etc/Error 2022.04.05

[Spring] "unreported exception IOException" in stream/forEach

문제 발생 이미지 파일을 받아서 저장하는 API 생성 중 file을 transfer하는 코드에서 전체 메소드에 Exception을 줬음에도 불구하고 적용되지 않고, 위 에러가 나왔음 해결 그 코드를 try...catch 문으로 감싸주니까 해결되었음 출처 : https://stackoverflow.com/questions/39090292/how-to-cleanly-deal-with-unreported-exception-ioexception-in-stream-foreach How to cleanly deal with "unreported exception IOException" in stream/forEach? I'm trying to write to a file using Java Streams. To m..

Etc/Error 2022.02.08

[Error] Unhandled Rejection (SecurityError): Blocked a frame with origin "주소" from accessing a cross-origin frame.

오류 내용 - Unhandled Rejection : Blocked a frame with origin "도메인" from accessing a cross-origin frame ​ 원인 - 팝업창과 부모창간의 Origin 즉, Domain이 다른 상황에서 DOM 접근시 발생 - 팝업창이나, iframe을 사용할 때 서로 도메인이 다르거나 프로토콜이 다른 경우, 서로 다른 도메인에서 스크립트 처리시 보안 정책 위반으로 오류가 발생 ​ 해결 방안 - 팝업창과 부모창의 도메인을 일치시켜 해결 - window.postMessage 메소드를 이용하여 우회하여 해결 window.postMessage 메소드를 이용하여 우회 ~정리하기~ 출처0 : https://m.mkexdev.net/75 [HTML5] Cross..

Etc/Error 2022.01.25

[Github] 사용자 아이콘이 회색(알 수 없는 유저)로 나오는 문제

발생 회사 컴퓨터로 코드 일정부분을 수정했더니 수정사항이 푸시는 됐는데 입력되지도 않고.. 커밋로그가 알 수 없는 유저로 등록되었음 원인 현재 쓰고있는 기기에서 터미널을 열어 아래 명령어를 쳐보면 아마 아무것도 안 나오거나 다른 아이디가 나옴 이렇게 되면 Insights > contributors에 제대로 누적이 되지않음! git config user.email 해결 뒤로 email을 등록해준다 git config user.email “your.email@example.com" 여기까지 하고나서 다시 commit한 뒤 push하면 잘 나옴! 출처: https://www.codeblocq.com/2016/10/Github-Avatar-not-showing-on-list-of-commits/ Github A..

Etc/Error 2022.01.12

[Java] non-static method cannot be referenced from a static context

원인 해당 클래스의 인스턴스를 만들지 않고 클래스 속성을 "정적으로" 사용하려고 할 때 언급된 오류 메시지가 남음 존재하지 않는 것을 부를 수는 없음. 아직 객체를 생성하지 않았기 때문에 non-static 메소드는 아직 존재하지 않음. 정적 메서드(정의상)는 항상 존재 해결 인스턴스를 만들고 사용해야 함!! 바보바보 출처: https://stackoverflow.com/questions/290884/what-is-the-reason-behind-non-static-method-cannot-be-referenced-from-a-static What is the reason behind "non-static method cannot be referenced from a static context"? The..

Etc/Error 2022.01.12

[React] A component is changing an uncontrolled input of type text to be controlled error in ReactJS

원인 만약 input 값에 value를 value={this.state.fields["name"]} 위와 같이 둔다면, 처음 렌더링 동안 빈 객체로 필드 undefined를 얻음! value={undefined} 그래서 위와같은 에러가 나는것 해결 첫 정의를 아래와 같이 undefined가 안되게 함 this.state = { fields: {name: ''} } //or value={this.state.fields.name || ''} // (undefined || '') = '' 출처: https://stackoverflow.com/questions/47012169/a-component-is-changing-an-uncontrolled-input-of-type-text-to-be-controlled-..

Etc/Error 2021.12.27