Skip to content

Instantly share code, notes, and snippets.

2017-08-27 22:58:39.052 ERROR 76105 --- [nio-8080-exec-4] io.realworld.jwt.ApiKeySecuredAspect : ERROR accessing resource
2017-08-27 22:58:39.065 ERROR 76105 --- [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.VerifyError: Uninitialized object exists on backward branch 82
Exception Details:
Location:
io/realworld/model/inout/Article$Companion.fromModel(Lio/realworld/model/Article;Lio/realworld/model/User;)Lio/realworld/model/inout/Article; @129: goto
Reason:
Error exists in the bytecode
Bytecode:
0000000: 2b12 39b8 000f 2c12 3bb8 000f bb00 3d59
0000010: 2bb6 0043 2bb6 0046 2bb6 0049 2bb6 004c
@dancancro
dancancro / gist:d8def17c441740cec4b52fa8a55098b6
Created August 17, 2017 04:52
"could not initialize proxy - no Session" error
2017-08-17 00:27:44.173 DEBUG 6542 --- [ XNIO-2 task-9] o.e.g.w.rest.errors.ExceptionTranslator : An unexpected error occurred: failed to lazily initialize a collection of role: org.exampleapps.greatbig.domain.Article.comments, could not initialize proxy - no Session
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.exampleapps.greatbig.domain.Article.comments, could not initialize proxy - no Session
at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:582)
at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:201)
at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:561)
at org.hibernate.collection.internal.PersistentSet.add(PersistentSet.java:185)
at org.exampleapps.greatbig.domain.Article.addComment(Article.java:200)
at org.exampleapps.greatb
@dancancro
dancancro / gist:8eb51c777b1f570020de7a7b4b4355c1
Created August 11, 2017 01:11
Deploying JHipster app to Heroku
[20:40:44] gba
// ♥ yo jhipster:heroku
Heroku configuration is starting
Deploying as existing app: great-big-example-application
Using existing Git repository
Heroku CLI deployment plugin already installed
Provisioning addons
@dancancro
dancancro / gist:2417394ff9afa8661417f189e21ea092
Created August 9, 2017 14:09
Error running AOT build with AngularClass configs
[01:42:26] (angularclass) webapp
// ♥ npm run build:aot
> angular-starter@6.0.0 build:aot /Users/Dan/work/a/gba
> npm run build:aot:prod
> angular-starter@6.0.0 build:aot:prod /Users/Dan/work/a/gba
> npm run clean:dist && npm run clean:aot && cross-env BUILD_AOT=1 npm run webpack -- --config config/webpack.prod.js --progress --profile --bail
2017-05-22T01:11:52.172937+00:00 heroku[router]: at=info method=GET path="/api/blogs" host=great-big-example-application.herokuapp.com request_id=6b933973-ee0e-482d-981d-665ec14fd4ce fwd="122.224.221.130" dyno=web.1 connect=1ms service=91ms status=200 bytes=698 protocol=https
2017-05-22T01:11:58.280926+00:00 heroku[router]: at=info method=GET path="/api/claims" host=great-big-example-application.herokuapp.com request_id=90d6e347-5148-4e91-b48e-d8a4c165d7b4 fwd="122.224.221.130" dyno=web.1 connect=1ms service=68ms status=200 bytes=4582 protocol=https
2017-05-22T01:12:00.211773+00:00 heroku[router]: at=info method=POST path="/api/users" host=great-big-example-application.herokuapp.com request_id=fa1f9cd3-e6ce-4845-aa3c-61dad03ac8d2 fwd="99.39.136.45" dyno=web.1 connect=1ms service=115ms status=500 bytes=560 protocol=https
2017-05-22T01:12:00.208446+00:00 app[web.1]: 2017-05-22 01:12:00.207 ERROR 4 --- [ XNIO-2 task-10] o.e.g.w.rest.errors.ExceptionTranslator : None of the configured nodes are available: [{#tra
@dancancro
dancancro / karma-errors
Created May 19, 2017 04:40
Errors running Angular component unit tests
yarn test v0.23.2
$ karma start src/test/javascript/karma.conf.js
Hash: e0bdc8cc97632b01d813
Version: webpack 2.5.1
Time: 69ms
webpack: Compiled successfully.
webpack: Compiling...
[at-loader] Using typescript@2.3.2 from typescript and "tsconfig.json" from /Users/Dan/work/bernierebuttals/gba/tsconfig.json.
This file has been truncated, but you can view the full file.
var vendor_lib =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
@dancancro
dancancro / angular_vue-react.md
Last active May 15, 2019 20:35
Comparison of Angular, Vue and React