Comments (26)
@iclouding
提供下信息:
idea什么版本,插件什么版本?
filter setting里面有没有加内容?
from mybatis-log-plugin.
from mybatis-log-plugin.
@iclouding IDE右下角提示有没有什么错误日志之类的,目前这些信息我没办法定位到问题,
试下插件卸载重装是否可以解决?
不行再试下Invalidate and Restart 看看
from mybatis-log-plugin.
报错如截图:
内容如下:
update failed for ActionGroup: Format Sql (Format Sql)[Format Sql]
java.lang.NullPointerException
at mybatis.log.MyBatisLogConfig.getConfigVo(MyBatisLogConfig.java:23)
at mybatis.log.tail.TailContentExecutor$FormatAction.isSelected(TailContentExecutor.java:248)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:65)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:136)
at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:256)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:199)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImpl(ActionToolbarImpl.java:1100)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:53)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$2.updateActionsImpl(ActionToolbarImpl.java:175)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:101)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:93)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:1093)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:162)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:386)
at java.awt.Component.processEvent(Component.java:6313)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4903)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:718)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
induced.txt报错
Following exceptions happened soon after this one, most probably they are induced.
2018-10-15T18:56:08.847
update failed for ActionGroup: Format Sql (Format Sql)[Format Sql]
java.lang.NullPointerException
at mybatis.log.MyBatisLogConfig.getConfigVo(MyBatisLogConfig.java:23)
at mybatis.log.tail.TailContentExecutor$FormatAction.isSelected(TailContentExecutor.java:248)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:65)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:136)
at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:256)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:199)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImpl(ActionToolbarImpl.java:1100)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:53)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$2.updateActionsImpl(ActionToolbarImpl.java:175)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:101)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:93)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:1093)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:162)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:386)
at java.awt.Component.processEvent(Component.java:6313)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4903)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:718)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2018-10-15T18:56:09.281
update failed for ActionGroup: Format Sql (Format Sql)[Format Sql]
java.lang.NullPointerException
at mybatis.log.MyBatisLogConfig.getConfigVo(MyBatisLogConfig.java:23)
at mybatis.log.tail.TailContentExecutor$FormatAction.isSelected(TailContentExecutor.java:248)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:65)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:136)
at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:256)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:199)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImpl(ActionToolbarImpl.java:1100)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:53)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$2.updateActionsImpl(ActionToolbarImpl.java:175)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:101)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:93)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:1093)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:162)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:386)
at java.awt.Component.processEvent(Component.java:6313)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4903)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:718)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2018-10-15T18:56:09.677
update failed for ActionGroup: Format Sql (Format Sql)[Format Sql]
java.lang.NullPointerException
at mybatis.log.MyBatisLogConfig.getConfigVo(MyBatisLogConfig.java:23)
at mybatis.log.tail.TailContentExecutor$FormatAction.isSelected(TailContentExecutor.java:248)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:65)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:136)
at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:256)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:199)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImpl(ActionToolbarImpl.java:1100)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:53)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$2.updateActionsImpl(ActionToolbarImpl.java:175)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:101)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:93)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:1093)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:162)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:386)
at java.awt.Component.processEvent(Component.java:6313)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4903)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:718)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2018-10-15T18:56:09.972
update failed for ActionGroup: Format Sql (Format Sql)[Format Sql]
java.lang.NullPointerException
at mybatis.log.MyBatisLogConfig.getConfigVo(MyBatisLogConfig.java:23)
at mybatis.log.tail.TailContentExecutor$FormatAction.isSelected(TailContentExecutor.java:248)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:65)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:136)
at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:256)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:199)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImpl(ActionToolbarImpl.java:1100)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:53)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$2.updateActionsImpl(ActionToolbarImpl.java:175)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:101)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:93)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:1093)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:162)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:386)
at java.awt.Component.processEvent(Component.java:6313)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4903)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:718)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2018-10-15T18:56:10.182
update failed for ActionGroup: Format Sql (Format Sql)[Format Sql]
java.lang.NullPointerException
at mybatis.log.MyBatisLogConfig.getConfigVo(MyBatisLogConfig.java:23)
at mybatis.log.tail.TailContentExecutor$FormatAction.isSelected(TailContentExecutor.java:248)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:65)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:136)
at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:256)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:199)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImpl(ActionToolbarImpl.java:1100)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:53)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$2.updateActionsImpl(ActionToolbarImpl.java:175)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:101)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:93)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:1093)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:162)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:386)
at java.awt.Component.processEvent(Component.java:6313)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4903)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:718)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2018-10-15T18:56:10.450
update failed for ActionGroup: Format Sql (Format Sql)[Format Sql]
java.lang.NullPointerException
at mybatis.log.MyBatisLogConfig.getConfigVo(MyBatisLogConfig.java:23)
at mybatis.log.tail.TailContentExecutor$FormatAction.isSelected(TailContentExecutor.java:248)
at com.intellij.openapi.actionSystem.ToggleAction.update(ToggleAction.java:65)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:136)
at com.intellij.openapi.actionSystem.impl.Utils.doUpdate(Utils.java:256)
at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:199)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImpl(ActionToolbarImpl.java:1100)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$000(ActionToolbarImpl.java:53)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$2.updateActionsImpl(ActionToolbarImpl.java:175)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:186)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:101)
at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:93)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:1093)
at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:162)
at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:386)
at java.awt.Component.processEvent(Component.java:6313)
at java.awt.Container.processEvent(Container.java:2237)
at java.awt.Component.dispatchEventImpl(Component.java:4903)
at java.awt.Container.dispatchEventImpl(Container.java:2295)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467)
at java.awt.Container.dispatchEventImpl(Container.java:2281)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4725)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764)
at java.awt.EventQueue.access$500(EventQueue.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:715)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:737)
at java.awt.EventQueue$4.run(EventQueue.java:735)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:734)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:781)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:718)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
from mybatis-log-plugin.
from mybatis-log-plugin.
@iclouding 谢谢,这个错误很有用,我抽个时间修复一下。
from mybatis-log-plugin.
@iclouding 你好,新版本2.0.7已经发布,请更新下版本再看下是否还存在问题。
from mybatis-log-plugin.
谢谢
from mybatis-log-plugin.
大神,还是不行啊,还是获取不到,也没有报错了
from mybatis-log-plugin.
@kookob idea升级到了最近的2018.2.5版本,Mybatis Log Plugin升级到了2.0.7版本,还是无法获取SQL,也没有报错。
from mybatis-log-plugin.
@iclouding 这个issue没reopen,我都没收到提醒,如果没报错,我这边就比较难判断了,因为很多人升级,基本人没人反应这问题了。
你那边看下环境、配置或者是否有其他插件引起的冲突。
from mybatis-log-plugin.
@kookob 我也是同样的问题,我是最新版IDEA,插件也是最新版,而且我把其他所有我自己装的插件都卸载了,重启过IDEA还是不行。
我新建了一个工程,只有一个main方法直接输出sql语句还是不行。。。
试了很多方法,log也没有报错,就是检测不到SQL语句
from mybatis-log-plugin.
@Jav4Boy 你控制台能这样输出,说明环境是没有问题的。
我这个拦截是需要同时有两句mybatis的语句输出。
以 "Preparing:" 和 "Parameters:" 作为分割符进行解析。
你main方法同时输出这两句试下结果:
System.out.println("2016-10-21 16:46:29.316 DEBUG selectSql1 - ==> Preparing: select * from t_table where name = ?"); System.out.println("2016-10-21 16:46:29.343 DEBUG selectSql1 - ==> Parameters: hello(String)");
from mybatis-log-plugin.
@Jav4Boy 你按正常环境跑个mybatis框架的日志输出,应该就能看到效果。
from mybatis-log-plugin.
@kookob 你给我的那两句可以
我跑了一下自己的工程
2018-10-30 17:14:27.706 DEBUG { ==> Preparing: select device.id , device.
name
, sim_id, sim_provide, device.owner_id owner_id, port_number, device.province_id province_id, device.city_id city_id, device.county_id county_id, estate_id, factory, online, device.status status, device.address address,charge_price_id, pay_way,place, device.in_time, update_time,estate.name estateName from device LEFT JOIN estate ON estate.id = device.estate_id WHERE device.sim_id = ? } - com.lvcc.settlement.mybatis.dao.DeviceMapper.findBySimId - (org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:145))
2018-10-30 17:14:27.706 DEBUG { ==> Parameters: 430473373936574D05D8FF33(String) } - com.lvcc.settlement.mybatis.dao.DeviceMapper.findBySimId - (org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:145))
这个就不行了 你试一下看看
from mybatis-log-plugin.
@kookob 会不会是中文标点英文标点的原因?还是空格什么的
from mybatis-log-plugin.
@Jav4Boy 你这种输出又是一种特殊的日志格式,是你自己对mybatis的输出做的配置。
插件暂时不支持不规范的格式,因为很难抽取出来解析。
跟中文标点没有关系,你是外面包了一层大括号,然后大括号后面右跟着一串类名。
输出类的信息可以改放前面,把大括号去掉,再试下。
如果要使插件生效,照着上面main的标准输出格式就可以的。
from mybatis-log-plugin.
17:27:30.432 daily-statistics-if [main] DEBUGc.i.d.dao.HolidayDao.getWorkDay - ==> Preparing: SELECT * FROM holiday WHERE ? <= day and day <= ?
17:27:30.433 daily-statistics-if [main] DEBUGc.i.d.dao.HolidayDao.getWorkDay - ==> Parameters: 2018-02-26(String), 2018-03-25(String)
17:27:30.450 daily-statistics-if [main] DEBUGc.i.d.dao.HolidayDao.getWorkDay - <== Total: 0
我的是这种日志格式,也获取不到
from mybatis-log-plugin.
@iclouding 你的这是环境问题,输出语句内容是没问题的,我这边可以解析出来。
环境问题,没有错误信息啥的,实在无法帮你排查。
from mybatis-log-plugin.
日志我要去那里看?可以给发方向吗?
from mybatis-log-plugin.
from mybatis-log-plugin.
还有两个地方也查下:
Help->Tail Log in Console
Help-> Show Log in Explorer
from mybatis-log-plugin.
2018-10-30 18:12:53,109 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2018-10-30 18:12:53,155 [ 46] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-182.4892.20, 16 Oct 2018 17:53)
2018-10-30 18:12:53,155 [ 46] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2018-10-30 18:12:53,155 [ 46] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-1248-b19 (JetBrains s.r.o)
2018-10-30 18:12:53,155 [ 46] INFO - #com.intellij.idea.Main - JVM: 25.152-b19 (OpenJDK 64-Bit Server VM)
2018-10-30 18:12:53,172 [ 63] INFO - #com.intellij.idea.Main - JVM Args: -Xms4096m -Xmx4096m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=C:\Users\Administrator\.IntelliJIdea2018.2\config\idea64.exe.vmoptions -Didea.jre.check=true -Dide.native.launcher=true -Didea.paths.selector=IntelliJIdea2018.2 -XX:ErrorFile=C:\Users\Administrator\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\Administrator\java_error_in_idea.hprof
2018-10-30 18:12:53,173 [ 64] INFO - #com.intellij.idea.Main - ext: D:\Program Files\JetBrains\IntelliJ IDEA 2018.2.5\jre64\lib\ext: [access-bridge-64.jar, cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar]
2018-10-30 18:12:53,173 [ 64] INFO - #com.intellij.idea.Main - charsets: JNU=GBK file=GBK
2018-10-30 18:12:53,220 [ 111] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 46 ms
2018-10-30 18:12:53,222 [ 113] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2018-10-30 18:12:54,758 [ 1649] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0
2018-10-30 18:12:56,029 [ 2920] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor java-specific.xml
2018-10-30 18:12:56,034 [ 2925] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor javaee-specific.xml
2018-10-30 18:12:56,350 [ 3241] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor go-ide.xml
2018-10-30 18:12:56,570 [ 3461] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor python-terminal-plugin.xml
2018-10-30 18:13:00,173 [ 7064] INFO - .intellij.idea.IdeaApplication - CPU cores: 4; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool@250de527[Running, parallelism = 3, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory@22b87a8e
2018-10-30 18:13:00,237 [ 7128] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.0 (JRE-managed HiDPI)
2018-10-30 18:13:00,574 [ 7465] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor java-specific.xml
2018-10-30 18:13:00,580 [ 7471] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor javaee-specific.xml
2018-10-30 18:13:00,630 [ 7521] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor go-ide.xml
2018-10-30 18:13:00,679 [ 7570] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor python-terminal-plugin.xml
2018-10-30 18:13:01,514 [ 8405] INFO - llij.ide.plugins.PluginManager - Plugin 'Grep Console' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,533 [ 8424] INFO - llij.ide.plugins.PluginManager - Plugin 'Perforce Integration' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,534 [ 8425] INFO - llij.ide.plugins.PluginManager - Plugin 'TFS Integration' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,540 [ 8431] INFO - llij.ide.plugins.PluginManager - Plugin 'XSLT-Debugger' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,542 [ 8433] INFO - llij.ide.plugins.PluginManager - Plugin 'ZKM-Unscramble' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,543 [ 8434] INFO - llij.ide.plugins.PluginManager - Plugin 'Smali Support' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,543 [ 8434] INFO - llij.ide.plugins.PluginManager - Plugin 'Copyright' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,544 [ 8435] INFO - llij.ide.plugins.PluginManager - Plugin 'W3C Validators' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,546 [ 8437] INFO - llij.ide.plugins.PluginManager - Plugin 'Ant Support' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,547 [ 8438] INFO - llij.ide.plugins.PluginManager - Plugin 'Velocity support' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,549 [ 8440] INFO - llij.ide.plugins.PluginManager - Plugin 'ASP' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,550 [ 8441] INFO - llij.ide.plugins.PluginManager - Plugin 'Gherkin' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,551 [ 8442] INFO - llij.ide.plugins.PluginManager - Plugin 'Cucumber for Java' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,555 [ 8446] INFO - llij.ide.plugins.PluginManager - Plugin 'AngularJS' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,556 [ 8447] INFO - llij.ide.plugins.PluginManager - Plugin 'JavaScript Debugger' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,558 [ 8449] INFO - llij.ide.plugins.PluginManager - Plugin 'CoffeeScript' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,559 [ 8450] INFO - llij.ide.plugins.PluginManager - Plugin 'Jetty Integration' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,560 [ 8451] INFO - llij.ide.plugins.PluginManager - Plugin 'OpenShift integration' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,562 [ 8453] INFO - llij.ide.plugins.PluginManager - Plugin 'CloudBees integration' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,563 [ 8454] INFO - llij.ide.plugins.PluginManager - Plugin 'Geronimo Integration' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,566 [ 8457] INFO - llij.ide.plugins.PluginManager - Plugin 'WebSphere Integration' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,567 [ 8458] INFO - llij.ide.plugins.PluginManager - Plugin 'WebLogic Integration' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,570 [ 8461] INFO - llij.ide.plugins.PluginManager - Plugin 'Application Servers View' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,571 [ 8462] INFO - llij.ide.plugins.PluginManager - Plugin 'Groovy' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,573 [ 8464] INFO - llij.ide.plugins.PluginManager - Plugin 'Playframework Support' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,574 [ 8465] INFO - llij.ide.plugins.PluginManager - Plugin 'Cucumber for Groovy' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,575 [ 8466] INFO - llij.ide.plugins.PluginManager - Plugin 'Maven Helper' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,577 [ 8468] INFO - llij.ide.plugins.PluginManager - Plugin 'Osmorc' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,580 [ 8471] INFO - llij.ide.plugins.PluginManager - Plugin 'Cloud Foundry integration' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,581 [ 8472] INFO - llij.ide.plugins.PluginManager - Plugin 'dmServer Support' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,583 [ 8474] INFO - llij.ide.plugins.PluginManager - Plugin 'Gradle' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,586 [ 8477] INFO - llij.ide.plugins.PluginManager - Plugin 'Vaadin Support' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,587 [ 8478] INFO - llij.ide.plugins.PluginManager - Plugin 'Grails' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,593 [ 8484] INFO - llij.ide.plugins.PluginManager - Plugin 'Android Support' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,601 [ 8492] INFO - llij.ide.plugins.PluginManager - Plugin 'Kotlin' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,607 [ 8498] INFO - llij.ide.plugins.PluginManager - Plugin 'Haml' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,608 [ 8499] INFO - llij.ide.plugins.PluginManager - Plugin 'Less support' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,609 [ 8500] INFO - llij.ide.plugins.PluginManager - Plugin 'Sass support' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,610 [ 8501] INFO - llij.ide.plugins.PluginManager - Plugin 'Spy-js' can't be loaded because: Plugin is disabled
2018-10-30 18:13:01,859 [ 8750] INFO - llij.ide.plugins.PluginManager - 150 plugins initialized in 1314 ms
2018-10-30 18:13:01,859 [ 8750] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: AspectJ Support (1.2), Bytecode Viewer (0.1), CFML Support (3.53), CSS Support (182.4892.20), CVS Integration (11), Coverage (182.4892.20), DSM Analysis (1.0.0), Database Tools and SQL (182.4892.20), Eclipse Integration (3.0), EditorConfig (182.4892.20), Emma (182.4892.20), Flash/Flex Support (182.4892.20), FreeMarker support (1.0), GWT Support (1.0), Git Integration (8.1), GitHub (182.4892.20), GlassFish Integration (1.0), Google App Engine Integration (1.1.4), Guice (8.0), HTML Tools (2.0), HTTP Client (182.4892.20), Heroku integration (182.4892.20), Hibernate Support (1.0), I18n for Java (182.4892.20), IDE Settings Sync (182.4892.20), IDEA CORE (182.4892.20), IntelliLang (8.0), J2ME (1.0), JBoss Arquillian Support (1.0), JBoss Drools Support (1.0), JBoss Frameworks Base Support (1.0), JBoss Integration (1.0), JBoss Seam Pageflow Support (1.0), JBoss Seam Pages Support (1.0), JBoss Seam Support (1.0), JBoss jBPM (2.0.0), JSR45 Integration (1.0), JUnit (1.0), Java Bytecode Decompiler (182.4892.20), Java EE: Batch Applications (1.0), Java EE: Bean Validation Support (1.1), Java EE: Contexts and Dependency Injection (1.1), Java EE: EJB, JPA, Servlets (1.0), Java EE: JMS, JSON Processing, Concurrency, Transaction (1.0), Java EE: Java Server Faces (2.2.X.), Java EE: RESTful Web Services (JAX-RS) (1.0), Java EE: Web Services (JAX-WS) (1.9), Java EE: WebSockets (1.0), Java Server Pages (JSP) Integration (1.0), Java Stream Debugger (182.4892.20), JavaFX (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Markdown support (182.4892.20), Maven Integration (182.4892.20), Maven Integration Extension (182.4892.20), Mercurial Integration (10.0), Persistence Frameworks Support (1.0), Plugin DevKit (1.0), Properties Support (182.4892.20), Reactor framework support (1.0), Refactor-X (2.01), Remote Hosts Access (0.1), Resin Integration (8.1), SSH Remote Run (0.1), Settings Repository (182.4892.20), Spring AOP/@AspectJ (1.0), Spring Batch (1.0), Spring Boot (1.0), Spring Data (1.0), Spring Integration Patterns (1.0), Spring MVC (1.0), Spring OSGi (1.0), Spring Security (1.0), Spring Support (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Spring WebSocket (1.0), Struts 1.x (2.0), Struts 2 (1.0), Stylus support (999.999), Subversion Integration (1.1), Tapestry support (1.0), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), Thymeleaf (1.0), Time Tracking (1.0), Tomcat and TomEE Integration (1.0), UI Designer (182.4892.20), UML Support (1.0), XPathView + XSLT Support (4), YAML (182.4892.20), tslint (182.4892.20)
2018-10-30 18:13:01,859 [ 8750] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: BashSupport (1.6.13.182), CMD Support (1.0.5), CSV Plugin (1.9.1), Docker integration (182.4323.18), Free MyBatis plugin (2018.05.17), Gitee (2018.2.0), Go (182.4505.32.913), GsonFormat (1.5.0), Ini4Idea (182.3911.19), JRebel for IntelliJ (2018.2.1), JsonFormat (1.0.0), Kubernetes (182.4892.2), Lombok Plugin (0.21.2018.2), MyBatis Log Plugin (2.0.7), Python (2018.2.182.4505.22), Scala (2018.2.11), nginx Support (0.1.6)
2018-10-30 18:13:01,859 [ 8750] INFO - llij.ide.plugins.PluginManager - Disabled plugins: ASP (0.1), Android Support (10.3.1.2), AngularJS (182.4892.20), Ant Support (1.0), Application Servers View (0.2.0), Cloud Foundry integration (1.0), CloudBees integration (1.0), CoffeeScript (182.4892.20), Copyright (8.1), Cucumber for Groovy (182.4892.20), Cucumber for Java (182.4892.20), Geronimo Integration (1.0), Gherkin (999.999), Gradle (182.4892.20), Grails (9.0), Grep Console (8.5.162.000.1), Groovy (9.0), Haml (182.4892.20), JavaScript Debugger (1.0), Jetty Integration (1.0), Kotlin (1.2.51-release-IJ2018.2-1), Less support (182.4892.20), Maven Helper (3.7.172.1454.3), OpenShift integration (1.0), Osmorc (1.4.12), Perforce Integration (2.0), Playframework Support (1.0), Sass support (182.4892.20), Smali Support (1.0), Spy-js (182.4892.20), TFS Integration (999.999), Vaadin Support (1.0), Velocity support (1.0), W3C Validators (2.0), WebLogic Integration (1.0), WebSphere Integration (1.0), XSLT-Debugger (1.4), ZKM-Unscramble (1.0), dmServer Support (0.9.5)
2018-10-30 18:13:08,788 [ 15679] INFO - cloudConfig.CloudConfigManager - === Exit: JBA_NOT_FOUND ===
2018-10-30 18:13:08,882 [ 15773] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=4042
2018-10-30 18:13:09,307 [ 16198] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: D:\Program Files\JetBrains\IntelliJ IDEA 2018.2.5\bin\fsnotifier64.exe
2018-10-30 18:13:09,394 [ 16285] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2018-10-30 18:13:10,094 [ 16985] INFO - pi.util.registry.RegistryState - Registry values changed by user:
2018-10-30 18:13:10,095 [ 16986] INFO - pi.util.registry.RegistryState - SBT.system.in.process = true
2018-10-30 18:13:10,095 [ 16986] INFO - pi.util.registry.RegistryState - compiler.automake.allow.when.app.running = true
2018-10-30 18:13:10,114 [ 17005] INFO - pi.util.registry.RegistryState - Experimental features enabled for user: inline.browse.button
2018-10-30 18:13:10,210 [ 17101] INFO - tellij.openapi.util.IconLoader - replace '/nodes/newFolder.png' with 'AllIcons.Nodes.Folder'
2018-10-30 18:13:12,466 [ 19357] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=0.0; restored: fontSize=12, fontScale=1.0
2018-10-30 18:13:13,419 [ 20310] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2018-10-30 18:13:13,600 [ 20491] INFO - gs.impl.UpdateCheckerComponent - channel: release
2018-10-30 18:13:13,606 [ 20497] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2018-10-30 18:13:14,105 [ 20996] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:391, number of extensions:68
2018-10-30 18:13:14,313 [ 21204] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:208
2018-10-30 18:13:14,500 [ 21391] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:111, number of extensions:108
2018-10-30 18:13:14,501 [ 21392] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2018-10-30 18:13:15,650 [ 22541] INFO - j.ide.ui.OptionsTopHitProvider - 2164 ms spent to cache options in application
2018-10-30 18:13:15,650 [ 22541] INFO - .openapi.application.Preloader - com.intellij.ide.ui.OptionsTopHitProvider$Activity took 2163 ms
2018-10-30 18:13:15,810 [ 22701] INFO - mbokPluginApplicationComponent - Lombok plugin initialized for IntelliJ
2018-10-30 18:13:17,102 [ 23993] INFO - pi.util.registry.RegistryValue - Registry value 'SBT.system.in.process' has changed to 'true"
2018-10-30 18:13:17,662 [ 24553] INFO - PyTestLegacyInterop - Disabling com.jetbrains.python.testing.unittestLegacy.PythonUnitTestConfigurationProducer@45643447
2018-10-30 18:13:17,662 [ 24553] INFO - PyTestLegacyInterop - Disabling com.jetbrains.python.testing.pytestLegacy.PyTestConfigurationProducer@1cd8c393
2018-10-30 18:13:17,663 [ 24554] INFO - PyTestLegacyInterop - Disabling com.jetbrains.python.testing.nosetestLegacy.PythonNoseTestConfigurationProducer@635adfd9
2018-10-30 18:13:17,667 [ 24558] INFO - plication.impl.ApplicationImpl - 122 application components initialized in 17126ms
2018-10-30 18:13:17,707 [ 24598] INFO - .intellij.idea.IdeaApplication - App initialization took 28291 ms
2018-10-30 18:13:18,282 [ 25173] INFO - ndex.PrebuiltIndexProviderBase - Prebuilt id-index indices are missing for go
2018-10-30 18:13:18,551 [ 25442] INFO - ndex.PrebuiltIndexProviderBase - Prebuilt id-index indices are missing for Python
2018-10-30 18:13:18,833 [ 25724] INFO - m.intellij.ui.mac.touchbar.NST - OS doesn't support touchbar, skip nst loading
2018-10-30 18:13:19,539 [ 26430] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2018-10-30 18:13:19,540 [ 26431] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=16, fontScale=1.0; restored: fontSize=16, fontScale=1.0
2018-10-30 18:13:20,382 [ 27273] INFO - j.ide.ui.OptionsTopHitProvider - 1361 ms spent on EDT to cache options in application
2018-10-30 18:13:22,737 [ 29628] INFO - .openapi.application.Preloader - com.intellij.openapi.actionSystem.impl.ActionPreloader took 7073 ms
2018-10-30 18:13:24,296 [ 31187] INFO - pl$FileIndexDataInitialization - Initialization done:9978
2018-10-30 18:13:26,192 [ 33083] INFO - .openapi.application.Preloader - com.intellij.ide.ui.search.SearchableOptionPreloader took 3455 ms
2018-10-30 18:13:26,496 [ 33387] INFO - exImpl$StubIndexInitialization - Initialization done:2199
2018-10-30 18:13:27,144 [ 34035] INFO - .openapi.application.Preloader - com.intellij.codeInsight.completion.CompletionPreloader took 951 ms
2018-10-30 18:13:27,161 [ 34052] INFO - .openapi.application.Preloader - com.intellij.ide.actions.GotoClassPresentationUpdater took 16 ms
2018-10-30 18:14:38,460 [ 105351] INFO - ellij.project.impl.ProjectImpl - 22 project components initialized in 289 ms
2018-10-30 18:14:39,747 [ 106638] INFO - CompilerWorkspaceConfiguration - Available processors: 4
2018-10-30 18:14:39,760 [ 106651] INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>]
2018-10-30 18:14:39,761 [ 106652] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [E:/Git/GitLab/DailyStatisticsIF]
一次IDEA的启动日志,又看到加载了MyBatis Log Plugin (2.0.7)
from mybatis-log-plugin.
是不是我禁用了什么插件影响了这个?MyBatis Log Plugin 依赖那些系统插件?
from mybatis-log-plugin.
@kookob 谢了,是我自己的问题。改了下格式就可以了
from mybatis-log-plugin.
没有依赖系统插件。
1、确认下“filter setting"里面是否有内容影响到的,如果没有内容,随便填一串“abcdefg"进去,把旧值覆盖下看看。
2、控制台随便选一段文字,右键Restore sql from selection,看下是否有反应或报错。
3、如果有反应,再选两句包含"Preparing:" 和 "Parameters:" 语句,看能否输出正常结果。
4、如果没反应,可能真要试下是不是因为跟别的插件冲突起来的,先把Grep Console先卸载,重启看下。
from mybatis-log-plugin.
Related Issues (20)
- 生成的sql日志中,未对字符串中的特殊字符进行转义,例如单引号等,造成sql无法执行问题 HOT 4
- UnknownFormatConversionException in SqlProUtil HOT 1
- idea 2020.2.3 不兼容 HOT 1
- 在接口上添加跳转到mapper的按钮 HOT 2
- mapper.xml jump to dao exception, java.lang.Throwable: Control-flow exceptions (like ProcessCanceledException) should never be logged HOT 4
- 重复打印sql,mapper转向dao没有精确匹配 HOT 5
- 可以麻烦添加IDEA2020版本的兼容吗 HOT 3
- 对循环 组装 union 或 union all 识别不好 HOT 1
- Mybatis Log Plugin License Authorization Failed. HOT 8
- sql不打印 HOT 1
- 插件不能使用 HOT 7
- 2022.1.3idea 无法使用 HOT 11
- IntelliJ IDEA 2022.1.3不能使用 HOT 2
- 无法使用 Nothing to show HOT 7
- IDEA 2022.2 无法从dao跳转到mapper.xml,可以打印出完整sql HOT 3
- 购买后许可日期未延长 HOT 4
- 插件不可用 HOT 7
- sql 语句值替换有问题 HOT 1
- 有没有可能支持 Mapper.xml 文件内的引用跳转( refid ) HOT 1
- 为什么日志格式多个空格, 插件就无法输出SQL!!! HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mybatis-log-plugin.