History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3353
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Mike Cordeiro
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

QB won't start after upgrade to 9.0.1

Created: 01/Mar/19 02:12 PM   Updated: 07/Mar/19 10:48 PM
Component/s: None
Affects Version/s: 9.0.1
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows 10


 Description  « Hide
After upgrading to QB 9.0.1, the server is failing to start with an error in JNA. It appears there are 2 versions of JNA in quickbuild\framework\configuration\org.eclipse.osgi\lib, which is likely part of the issue.

jvm 1 | 2019-03-01 08:27:43,245 INFO - Constructing report category for plugin: EMMA Report (9.0.0)
jvm 1 | WrapperStartStopApp:
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(NativeMethodAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:498)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.bootstrap.Bootstrap.boot(Bootstrap.java:614)
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(NativeMethodAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:498)
jvm 1 | WrapperStartStopApp Error: at org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:429)
jvm 1 | WrapperStartStopApp Error: at java.lang.Thread.run(Thread.java:745)
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(NativeMethodAccessorImpl.java:62)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Method.invoke(Method.java:498)
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.NoSuchMethodError: com.sun.jna.Native.load(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Map;)Lcom/sun/jna/Library;
jvm 1 | WrapperStartStopApp Error: at com.sun.jna.platform.win32.Psapi.<clinit>(Psapi.java:48)
jvm 1 | WrapperStartStopApp Error: at sun.misc.Unsafe.ensureClassInitialized(Native Method)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:43)
jvm 1 | WrapperStartStopApp Error: at sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:142)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Field.acquireFieldAccessor(Field.java:1088)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Field.getFieldAccessor(Field.java:1069)
jvm 1 | WrapperStartStopApp Error: at java.lang.reflect.Field.get(Field.java:393)
jvm 1 | WrapperStartStopApp Error: at com.sun.jna.Native.loadLibraryInstance(Native.java:437)
jvm 1 | WrapperStartStopApp Error: at com.sun.jna.Native.getLibraryOptions(Native.java:498)
jvm 1 | WrapperStartStopApp Error: at com.sun.jna.Native.getStructureAlignment(Native.java:586)
jvm 1 | WrapperStartStopApp Error: at com.sun.jna.Structure.setAlignType(Structure.java:251)
jvm 1 | WrapperStartStopApp Error: at com.sun.jna.Structure.<init>(Structure.java:176)
jvm 1 | WrapperStartStopApp Error: at com.sun.jna.Structure.<init>(Structure.java:172)
jvm 1 | WrapperStartStopApp Error: at com.sun.jna.Structure.<init>(Structure.java:159)
jvm 1 | WrapperStartStopApp Error: at com.sun.jna.Structure.<init>(Structure.java:151)
jvm 1 | WrapperStartStopApp Error: at com.sun.jna.platform.win32.Psapi$PERFORMANCE_INFORMATION.<init>(Psapi.java:280)
jvm 1 | WrapperStartStopApp Error: at oshi.hardware.platform.windows.WindowsGlobalMemory.updateMeminfo(WindowsGlobalMemory.java:127)
jvm 1 | WrapperStartStopApp Error: at oshi.hardware.common.AbstractGlobalMemory.getTotal(AbstractGlobalMemory.java:71)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.plugin.measurement.core.sysinfo.oshi.OshiSystemInfo.getMemoryUsage(OshiSystemInfo.java:37)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.plugin.measurement.core.trait.NodeTraits.update(NodeTraits.java:133)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.plugin.measurement.core.MeasurementPlugin.start(MeasurementPlugin.java:94)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.pluginsupport.DefaultPluginManager.start(DefaultPluginManager.java:51)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.startServer(Quickbuild.java:831)
jvm 1 | WrapperStartStopApp Error: at com.pmease.quickbuild.Quickbuild.start(Quickbuild.java:289)
jvm 1 | WrapperStartStopApp Error: ... 17 more
jvm 1 | 2019-03-01 08:27:44,315 INFO - Stopping QuickBuild server...
jvm 1 | 2019-03-01 08:27:44,323 INFO - Stopping plugins...
jvm 1 | 2019-03-01 08:27:44,324 INFO - Stopping task scheduler...
jvm 1 | 2019-03-01 08:27:44,325 INFO - Closing session factory...
jvm 1 | 2019-03-01 08:27:44,359 INFO - QuickBuild server stopped.

 All   Comments   Work Log   Change History      Sort Order:
No changes have yet been made on this issue.