Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

java.lang.IncompatibleClassChangeError: Implementing class Error for plugin development workspace #3736

rsingareddy ·

Hi All,
I am trying to create a plugin development workspace for quick build using following instructions:
http://wiki.pmease.com/display/QB70/Set+up+Plugin+Development+Workspace

Environment Java 1.8.0_121
Quick Build: 7.06
Eclipse Neon.2

I am receiving following error in eclipse:

2017-03-07 09:43:22,668 INFO - Cleaning cached plugin libraries...
2017-03-07 09:43:22,920 INFO - Cleaning temp directory...
2017-03-07 09:43:22,931 INFO - Benchmarking...
2017-03-07 09:43:24,687 INFO - Booting QuickBuild from 'C:\quickbuild-7.0.6'...
2017-03-07 09:43:24,687 INFO - Starting framework...
2017-03-07 09:43:24,756 INFO - Caching plugin libraries...
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.pmease.quickbuild.bootstrap.Bootstrap.boot(Bootstrap.java:609)
at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:128)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56)
at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:61)
... 6 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:59)
... 6 more
Caused by: java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.pmease.quickbuild.Quickbuild.loadPluginModules(Quickbuild.java:513)
at com.pmease.quickbuild.Quickbuild.start(Quickbuild.java:241)
... 11 more

Any Idea?
Thanks

Ravi

  • replies 9
  • views 4804
  • stars 0
rsingareddy ·

I have even uploaded created the plugin and placed in c:\quickbuild-7.0.6\plugins directory and started Quickbuild Server but still getting the same error.

jvm 1 | WrapperStartStopApp Error: Encountered an error running start main: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.boot(Bootstrap.java:609)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:128)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:400)
jvm 1 | WrapperStartStopApp Error: at java.lang.Thread.run(Unknown Source)
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:61)
jvm 1 | WrapperStartStopApp Error: ... 12 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.startup(EquinoxAdapter.java:59)
jvm 1 | WrapperStartStopApp Error: ... 12 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.IncompatibleClassChangeError: Implementing class
jvm 1 | WrapperStartStopApp Error: at java.lang.ClassLoader.defineClass1(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.lang.ClassLoader.defineClass(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.security.SecureClassLoader.defineClass(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.net.URLClassLoader.defineClass(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.net.URLClassLoader.access$100(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.net.URLClassLoader$1.run(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.net.URLClassLoader$1.run(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.security.AccessController.doPrivileged(Native Method)
jvm 1 | WrapperStartStopApp Error: at java.net.URLClassLoader.findClass(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.ClassLoader.loadClass(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.ClassLoader.loadClass(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.loadPluginModules(Quickbuild.java:513)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.start(Quickbuild.java:241)
jvm 1 | WrapperStartStopApp Error: ... 17 more
jvm 1 | 2017-03-07 11:50:31,161 INFO - Stopping QuickBuild server...
jvm 1 | WrapperStartStopApp Error: Encountered an error running stop main: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.stop(WrapperStartStopApp.java:636)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperManager.privilegedStopInner(WrapperManager.java:4644)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperManager.access$2900(WrapperManager.java:126)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperManager$8.run(WrapperManager.java:3407)
jvm 1 | WrapperStartStopApp Error: at java.security.AccessController.doPrivileged(Native Method)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperManager.stop(WrapperManager.java:3404)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:473)
jvm 1 | WrapperStartStopApp Error: at java.lang.Thread.run(Unknown Source)
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.shutdown(Bootstrap.java:213)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.main(Bootstrap.java:131)
jvm 1 | WrapperStartStopApp Error: ... 12 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.shutdown(EquinoxAdapter.java:284)
jvm 1 | WrapperStartStopApp Error: ... 18 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.reflect.InvocationTargetException
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.equinoxadapter.EquinoxAdapter.shutdown(EquinoxAdapter.java:282)
jvm 1 | WrapperStartStopApp Error: ... 18 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.ExceptionInInitializerError
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.stop(Quickbuild.java:411)
jvm 1 | WrapperStartStopApp Error: ... 23 more
jvm 1 | WrapperStartStopApp Error: Caused by: java.lang.NullPointerException
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.getInstance(Quickbuild.java:845)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.BuildEngine. (BuildEngine.java:114)
jvm 1 | WrapperStartStopApp Error: ... 24 more
wrapper | <-- Wrapper Stopped
wrapper | Timed out waiting for wrapperServiceMain

We are missing configuration because we are getting NULL pointer exception from Quickbuild.java:845. Can support can look into source code let me know, what I am missing.
Thanks

Ravi

robinshen ADMIN ·

Let's solve the issue of running QB from Eclipse first. Are you able to launch QB without your plugin (delete your plugin project temporarily from the workspace)?

rsingareddy ·

yes. Without plugin able to run the QB.

robinshen ADMIN ·

Does it relies on some libraries not compatible with Java8 (for instance Java9, etc). If possible, you may also send your plugin source so that I can check what might be wrong (robin AT pmease DOT com).

rsingareddy ·

Correction: I am not able to run QB from eclipse. I am only able to run QB as standalone application. When running from eclipse getting above exception.

rsingareddy ·

I have emailed source code from the company email.

rsingareddy ·

Any update?

robinshen ADMIN ·

Turns out that your plugin class does not extend AbstractPlugin. Have sent the details via email.

#10
robinshen added the plugin label removed the bug label