TheBrainFamily / chimpy

Develop acceptance tests & end-to-end tests with realtime feedback.
https://thebrainfamily.github.io/chimpy
MIT License
52 stars 28 forks source link

Make chimp work with JDK10 #120

Open samhatoum opened 6 years ago

samhatoum commented 6 years ago

Issue by joscha Monday Jul 02, 2018 at 01:37 GMT Originally opened as https://github.com/xolvio/chimp/pull/696


Fixes:

{ Error: Cannot define class using reflection
    at new RuntimeError (node_modules/webdriverio/build/lib/utils/ErrorHandler.js:144:12)
    at Request._callback (node_modules/webdriverio/build/lib/utils/RequestHandler.js:313:39)
    at Request.self.callback (node_modules/request/request.js:186:22)
    at Request.emit (events.js:180:13)
    at Request.emit (domain.js:422:20)
    at Request.<anonymous> (node_modules/request/request.js:1163:10)
    at Request.emit (events.js:180:13)
    at Request.emit (domain.js:422:20)
    at IncomingMessage.<anonymous> (node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:272:13)
    at IncomingMessage.emit (events.js:185:15)
    at IncomingMessage.emit (domain.js:422:20)
    at endReadableNT (_stream_readable.js:1106:12)
    at process._tickCallback (internal/process/next_tick.js:178:19)
  details: undefined,
  message: 'Cannot define class using reflection',
  type: 'RuntimeError',
  seleniumStack:
   { type: 'UnknownError',
     message: 'An unknown server-side error occurred while processing the command.',
     orgStatusMessage: 'Cannot define class using reflection' } }
Error: Cannot define class using reflection
    at new RuntimeError (node_modules/webdriverio/build/lib/utils/ErrorHandler.js:144:12)
    at Request._callback (node_modules/webdriverio/build/lib/utils/RequestHandler.js:313:39)
    at Request.self.callback (node_modules/request/request.js:186:22)
    at Request.emit (events.js:180:13)
    at Request.emit (domain.js:422:20)
    at Request.<anonymous> (node_modules/request/request.js:1163:10)
    at Request.emit (events.js:180:13)
    at Request.emit (domain.js:422:20)
    at IncomingMessage.<anonymous> (node_modules/request/request.js:1085:12)
    at Object.onceWrapper (events.js:272:13)
    at IncomingMessage.emit (events.js:185:15)
    at IncomingMessage.emit (domain.js:422:20)
    at endReadableNT (_stream_readable.js:1106:12)
    at process._tickCallback (internal/process/next_tick.js:178:19)

due to JDK 10.

See https://github.com/vvo/selenium-standalone/issues/369 and https://github.com/vvo/selenium-standalone/pull/371 and https://github.com/webdriverio/wdio-selenium-standalone-service/issues/47


joscha included the following code: https://github.com/xolvio/chimp/pull/696/commits

samhatoum commented 6 years ago

Comment by joscha Monday Jul 02, 2018 at 01:39 GMT


cc @serceman

samhatoum commented 6 years ago

Comment by joscha Monday Jul 02, 2018 at 02:15 GMT


CI errors do not seem to be related:

ExpectationFailed: Expected 'The world’s leading software development platform · GitHub' to equal 'The world's leading software development platform · GitHub'.

?

samhatoum commented 6 years ago

Comment by joscha Wednesday Jul 11, 2018 at 05:06 GMT


@samhatoum any chance to get this in?

samhatoum commented 6 years ago

Comment by joscha Friday Jul 20, 2018 at 04:42 GMT


@samhatoum is chimp still maintained?

joscha commented 6 years ago

@lgandecki any chance to get https://github.com/xolvio/chimp/pull/696 integrated?

lgandecki commented 6 years ago

yup. @lucetius want to take a look ? :)