主题中讨论的其他部件:EV2400、 BQSTUDIO
我在 我的 Windows 10计算机上安装了 BatteryManagementStudio-1.3.54.1_Build1-windows-installer、运行良好、我能够启动并访问所有内容。 但是、当我连接了 EV2400模块并更改了一些选项、例如"show advanced mode"时、即使在 EV2400断开连接时、程序也会在启动时崩溃。 崩溃消息告诉我查看 C:\ti\BatteryManagementStudio\workspace\.metadata\.log 中的日志,引用的日志文件中只有一个很长的 Java 异常列表。 以下摘录:
!第2018-07-19 12:58:20.025------------------------------------------------------------------------------ Eclipse.buildId=unknown java.version=1.8.0_74 java.fendor=Oracle Corporation bootloader constants:os=Win32、arch=x86、WS=Win32、NL=en_US 命令行参数:-OS Win32 -arch x86 !org entry org.eclipse.ui.workbench4 2 2-07-19 13:02:15.079 !在调用 workbench.ipse.ui.2018. !synstack 0 java.lang.NullPointerException at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1967 ) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:1600 at org.eclipse.ui.internal.WorkbenchWindow.access$16(WorkbenchWindow.java:1542 ) at org.eclipse.ui.internal.WorkbenchWindow$11.run(WorkbenchWindow.java:1628 at org.eclipse.swt.custom.BusyIndicator.showWhile (BusyIndicator.Java:70) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:1625 org.eclipse.ui.internal.Workbench$14.run(Workbench.java:1189 org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42 ) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1171 org.eclipse.ui.internal.Workbench.close(Workbench.java:1451 org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145 ) at org.eclipse.ui.internal.Workbench.close(Workbench.java:1424 ) at com.ti.evswsdk.autodetect.AutoDetectDevice.selectTarget(Unknown ) at org.eclipse.ui.internal.Workbench.access$22(Workbench.java:1113 ) at ) at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1454 com.ti.evswsdk.autodetect.AutoDetectDevice$2.run(Unknown at org.ecliplipse.swature.sw.swature.swature.swature.jot.(out.swature.swature.swature.swature.swature.swature.swature.swature.swated.swated.swated.swated.ji.swated.swated.ji. org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpening(WorkbenchWindow.java:1654) org.eclipse.ui.internal.WorkbenchWindow.setup(WorkbenchWindow.java:654) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898) org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121) org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:86) org.eclipse.ui.internal.Workbench.openWorkbenchWindow(Workbench.java:2675) org.eclipse.e4.core.contexts.ContextInjectionFactory.inject(ContextInjectionFactory.java:73) org.eclipse.ui.internal.Workbench.createWorkbenchWindow(Workbench.java:1526) org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197) org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78) org.eclipse.ui.internal.Workbench.getWorkbenchPage(Workbench.java:2058) org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211) org.eclipse.ui.internal.Workbench.setReference(Workbench.java:2106) org.eclipse.ui.internal.Workbench.access$28(Workbench.java:2074) org.eclipse.ui.internal.Workbench$35.handleEvent(Workbench.java:1996) org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40) org.eclipse.SWT.widgets.syncsecExec(Synchronizer.java.186)(org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145) org.eclipse.swt.Display.syncdecExec (org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148 org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39) org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230 () org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36 () org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1) org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135 () 4761)()))()))()))())))) org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85) org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59 ) org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374) org.eclipse.e4.ui.model.application.ui.basic.impl.PartImpl.setContext(PartImpl.java:431) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:615) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:509) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:525) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746 org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746 org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717:org.eclipse.e4.ui.workbenchers.SWT.ElementReferenceder.createWidget (ElementReferenceder.Java:69) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)))) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:658 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711 org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:71 senderrackers. org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:151) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:654) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717) org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:71) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746) org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveRenderer.processContents(PerspectiveRenderer.java:49) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:71) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717) org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:151) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:654) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711))) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695))))) org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:151)) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:654 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711 org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:71)))))) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:654 ) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746 org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42 org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.processContents(SashRenderer.java:151 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717:org.eclipse.e4.ui.workbench.renders.swt.PerspectiveStackRenderer.showTab (PerspectiveStackRenderer.java:82) at org.eclipse.e1.e1.e1.renders.swer.org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695 (org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:658) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:654) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711: org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:71) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711 org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java:71 org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746 org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42 org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.processContents(WBWRenderer.java:614: org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:654) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1061) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018) org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156) org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) sun.reflect.NativeMethodAccessorImpl.invoke0(Native))) Andorg.eclipse.ui.PlatformUI.createRunWorkbench (PlatformUI.Java:150) at com.ti.evswsdk.Application.start (Unknown Source)(Unknown Source) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134 (org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380 sun.reflect.NativeMethodAccessorImpl.invoke(Unknown) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235 ( sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown)())())() java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669 at org.eclipse.equinox.launcher.Main.basicRun (Main.java:608) at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
这种情况持续了很长时间、但存在不同的例外情况。 发生什么事了?
我已尝试重新安装并重新启动计算机。 不变。
如何解决此问题并开始使用 EV2400来访问充电器芯片 BQ25120?