PhpStorm2 Remote Debugging problems

I am trying to setup remote debugging on my dev server. I followed the video that is out there setup my server in PhpStorm. Made sure xdebug was installed on the server, this is in my ini

zend_extension=/usr/lib64/php5/xdebug.so
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=IP.Of.Web.Server
xdebug.remote_port=9000
xdebug.idekey=PHPSTORM
xdebug.remote_autostart= on
xbebug.remote_connect_back=1


I verified it was working on the domain with phpinfo. Setup a bookmarklet to put the idekey of PHPSTORM which is also set in my ide server config. When I run the debugger it just says "waiting for incoming connection with ide key "PHPSTORM". I know the cookie is set on the domain.

I have been trying to research and found some other posts about problems and noticed one had a local value for the ide key that was different then global and when they changed it it worked. So I checked my phpinfo and yes my local setting was different. I am not sure how to change it, for some reason it is set to root. So I even changed my bookmarklet and ide server configuration to listen for root and it still did nothing.

In my server configuration I have my host setup as my dev server url set to port 80 and xdebug, I am not sure what else to do.

15 comments

It's ignored since you are using remote_connect_back, but FYI, the remote_host is your client, not the server (could be the same, if it's localhost.)

0

The connect back was added after I saw something on stackoverflow. I will change that. So you I have to change it to the ip of my local machine, what if more than one person wanted to remote debug? I will try it out and let you know if it works, thanks!


Update
Well there is a problem, I tried it and it still doesn't work and I can't ping my local ip from my dev server? so I am not sure what to do.

0

You can't do that....well, you can (so says this guy

http://derickrethans.nl/debugging-with-multiple-users.html), but not under normal conditions. We each run our own local copy of the site and debug there, and then publish to the live server.

0

We use the zero configuration method:

[xdebug]
zend_extension="c:/php/ext/php_xdebug-2.1.0-5.3-vc9-nts.dll"
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1 <<--- for yours, it would be your client IP
xdebug.remote_port=9100
xdebug.remote_handler=dbgp
xdebug.remote_autostart=1

And then just click Listen in PHPStorm

0

Hi Dan,

xdebug.idekey=PHPSTORM
xdebug.remote_autostart=on
xbebug.remote_connect_back=1

With these settings you do not need any bookmarklet or browser extensions to start debugging session, as xdebug will always initiate the debug session on each request (because of xdebug.remote_autostart=on). But please note that such approach will make your scripts execute slower (as there always will be 1-1.5 seconds delay when xdebug is attempting to connect to a possible debug client). You even do not need this line (xdebug.remote_host=IP.Of.Web.Server) because you have xdebug.remote_connect_back=1. (You can check how this works exactly in xdebug manual).

Please double check/make sure that:
1) you have selected the correct debugger in PhpStorm: Settings | PHP ---> Debugger
2) you have the same port number for xdebug in PhpStorm as in your xdebug config: Settings | PHP | Debug ---> XDebug --> Debug Port
3) xdebug is allowed to accept external connections: Settings | PHP | Debug ---> XDebug --> Can accept external connections
4) if you are using server path mappings (Settings | PHP | Servers), make sure that XDebug is selected as a debugger + correct path mappings are set
5) you may wish to tick "Break at first line (for external connections)" in Settings | PHP | Debug ---> XDebug  -- at least until debugging will start working for you
6) in theory (as per Nikolay's recommendations) you can start debugging with no Server path mappings setup at all -- PhpStorm will ask and create one for you on first debug connection.

I do not know where your dev server is located, but please check that your computer can accept incoming connections on xdebug port (as it is xdebug who initiates connection to client, not client to the server) -- you may need to check/configure your firewall/router.

Now, with all the settings you have for xdebug, you do not really need to create and use any Run/Debug Configuration. All what you need is to click that icon (red phone handle) on toolbar (or Run | Start Listen PHP Debug Connections) to activate debug listener. Then just navigate to the page you want to debug in your browser.

P.S.
What OS do you have (local and dev server) and what xdebug version do you use ?

If still nothing -- please collect some logs as desribed here: http://devnet.jetbrains.net/docs/DOC-1202

0

Well we all work on our own local just as you but I was trying to debug a problem that is happening on our dev server and not our local so i thought it would be cool if you could get actually debug on a different server other then my local host, it would be a lot better with breakpoint then logging in the code. Did you see my update?

0

Where is your dev server? Is it on your LAN? Do you have a firewall on your local machine (even if you did, you might not
be able to ping it, but I don't think that would affect XDebug.)

0

I will look into what you have said but to fill in your PS I am on OSX and the Server is CentOs. On my local i have xdebug 2.0.4 and on the server I installed through PECL yesterday and is 2.0.5

0

our dev server is on our LAN and on a different IP Range. No firewall on my local.

0

2.1.0 is the latest stable version (http://xdebug.org/download.php) -- please upgrade and try it.

0

I was wrong it was 2.1.0 on the dev server. After messing with the settings I started getting a null pointer exception

2011-03-04 22:23:33,861 [  37085]   INFO - i.vcs.changes.ChangeListWorker - [addChangeToCorrespondingList] skip default list: Default type: MODIFICATION have before revision: true
2011-03-04 22:23:45,409 [  48633]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 28884 ms
2011-03-04 22:23:48,060 [  51284]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/webResources.xml file is null
2011-03-04 22:23:48,060 [  51284]   INFO - .impl.stores.XmlElementStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/webResources.xml
2011-03-04 22:23:48,191 [  51415]   INFO - nges.UpdatingChangeListBuilder - [processChangeInList-1] entering, cl name: Ignored Modified change: /usr/local/sites/virtual.lancaster.com/www2/js/varien/js.js
2011-03-04 22:23:48,192 [  51416]   INFO - nges.UpdatingChangeListBuilder - [processChangeInList-1] to add change to cl
2011-03-04 22:23:48,192 [  51416]   INFO - i.vcs.changes.ChangeListWorker - [addChangeToList] name: Ignored Modified change: /usr/local/sites/virtual.lancaster.com/www2/js/varien/js.js vcs: svn
2011-03-04 22:24:00,479 [  63703]   INFO - nges.UpdatingChangeListBuilder - [processChangeInList-1] entering, cl name: Ignored Modified change: /usr/local/sites/virtual.lancaster.com/www2/.htaccess
2011-03-04 22:24:00,479 [  63703]   INFO - nges.UpdatingChangeListBuilder - [processChangeInList-1] to add change to cl
2011-03-04 22:24:00,479 [  63703]   INFO - i.vcs.changes.ChangeListWorker - [addChangeToList] name: Ignored Modified change: /usr/local/sites/virtual.lancaster.com/www2/.htaccess vcs: svn
2011-03-04 22:24:06,054 [  69278]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/intentionSettings.xml file is null
2011-03-04 22:24:06,055 [  69279]   INFO - .impl.stores.XmlElementStorage - Document was not loaded for $APP_CONFIG$/intentionSettings.xml
2011-03-04 22:24:19,281 [  82505]   INFO - hp.connection.ServerConnection - StartingXDebug on port 9000
2011-03-04 22:24:21,190 [  84414]   INFO - .components.ComponentStoreImpl - java.lang.NullPointerException
com.intellij.util.xmlb.XmlSerializationException: java.lang.NullPointerException
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:49)
 at com.intellij.util.xmlb.XmlSerializer.serialize(XmlSerializer.java:45)
 at com.intellij.openapi.components.impl.stores.DefaultStateSerializer.serializeState(DefaultStateSerializer.java:63)
 at com.intellij.openapi.components.impl.stores.XmlElementStorage$MyExternalizationSession.setState(XmlElementStorage.java:296)
 at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$MyExternalizationSession.setState(StateStorageManagerImpl.java:461)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:158)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$600(ComponentStoreImpl.java:44)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$SaveSessionImpl.commit(ComponentStoreImpl.java:478)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:113)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.doSave(ComponentManagerImpl.java:708)
 at com.intellij.openapi.application.impl.ApplicationImpl._saveSettings(ApplicationImpl.java:1107)
 at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:1144)
 at com.intellij.ide.SaveAndSyncHandler.saveProjectsAndDocuments(SaveAndSyncHandler.java:131)
 at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated(SaveAndSyncHandler.java:83)
 at com.intellij.ide.FrameStateManagerImpl.a(FrameStateManagerImpl.java:100)
 at com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:31)
 at com.intellij.ide.FrameStateManagerImpl$2$1.run(FrameStateManagerImpl.java:72)
 at com.intellij.util.Alarm$Request$1.run(Alarm.java:229)
 at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
 at com.intellij.util.xmlb.AbstractCollectionBinding.serialize(AbstractCollectionBinding.java:127)
 at com.intellij.util.xmlb.OptionTagBinding.serialize(OptionTagBinding.java:54)
 at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:101)
 at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:77)
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:43)
 ... 30 more
2011-03-04 22:24:21,191 [  84415]   INFO - plication.impl.ApplicationImpl - Saving application settings failed
java.io.IOException: java.lang.NullPointerException
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:129)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.doSave(ComponentManagerImpl.java:708)
 at com.intellij.openapi.application.impl.ApplicationImpl._saveSettings(ApplicationImpl.java:1107)
 at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:1144)
 at com.intellij.ide.SaveAndSyncHandler.saveProjectsAndDocuments(SaveAndSyncHandler.java:131)
 at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated(SaveAndSyncHandler.java:83)
 at com.intellij.ide.FrameStateManagerImpl.a(FrameStateManagerImpl.java:100)
 at com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:31)
 at com.intellij.ide.FrameStateManagerImpl$2$1.run(FrameStateManagerImpl.java:72)
 at com.intellij.util.Alarm$Request$1.run(Alarm.java:229)
 at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: com.intellij.util.xmlb.XmlSerializationException: java.lang.NullPointerException
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:49)
 at com.intellij.util.xmlb.XmlSerializer.serialize(XmlSerializer.java:45)
 at com.intellij.openapi.components.impl.stores.DefaultStateSerializer.serializeState(DefaultStateSerializer.java:63)
 at com.intellij.openapi.components.impl.stores.XmlElementStorage$MyExternalizationSession.setState(XmlElementStorage.java:296)
 at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$MyExternalizationSession.setState(StateStorageManagerImpl.java:461)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:158)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$600(ComponentStoreImpl.java:44)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$SaveSessionImpl.commit(ComponentStoreImpl.java:478)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:113)
 ... 22 more
Caused by: java.lang.NullPointerException
 at com.intellij.util.xmlb.AbstractCollectionBinding.serialize(AbstractCollectionBinding.java:127)
 at com.intellij.util.xmlb.OptionTagBinding.serialize(OptionTagBinding.java:54)
 at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:101)
 at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:77)
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:43)
 ... 30 more
2011-03-04 22:24:28,581 [  91805]   INFO - .components.ComponentStoreImpl - java.lang.NullPointerException
com.intellij.util.xmlb.XmlSerializationException: java.lang.NullPointerException
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:49)
 at com.intellij.util.xmlb.XmlSerializer.serialize(XmlSerializer.java:45)
 at com.intellij.openapi.components.impl.stores.DefaultStateSerializer.serializeState(DefaultStateSerializer.java:63)
 at com.intellij.openapi.components.impl.stores.XmlElementStorage$MyExternalizationSession.setState(XmlElementStorage.java:296)
 at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$MyExternalizationSession.setState(StateStorageManagerImpl.java:461)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:158)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$600(ComponentStoreImpl.java:44)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$SaveSessionImpl.commit(ComponentStoreImpl.java:478)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:113)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.doSave(ComponentManagerImpl.java:708)
 at com.intellij.openapi.application.impl.ApplicationImpl._saveSettings(ApplicationImpl.java:1107)
 at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:1144)
 at com.intellij.ide.SaveAndSyncHandler.saveProjectsAndDocuments(SaveAndSyncHandler.java:131)
 at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated(SaveAndSyncHandler.java:83)
 at com.intellij.ide.FrameStateManagerImpl.a(FrameStateManagerImpl.java:100)
 at com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:31)
 at com.intellij.ide.FrameStateManagerImpl$2$1.run(FrameStateManagerImpl.java:72)
 at com.intellij.util.Alarm$Request$1.run(Alarm.java:229)
 at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
 at com.intellij.util.xmlb.AbstractCollectionBinding.serialize(AbstractCollectionBinding.java:127)
 at com.intellij.util.xmlb.OptionTagBinding.serialize(OptionTagBinding.java:54)
 at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:101)
 at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:77)
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:43)
 ... 30 more
2011-03-04 22:24:28,586 [  91810]   INFO - plication.impl.ApplicationImpl - Saving application settings failed
java.io.IOException: java.lang.NullPointerException
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:129)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.doSave(ComponentManagerImpl.java:708)
 at com.intellij.openapi.application.impl.ApplicationImpl._saveSettings(ApplicationImpl.java:1107)
 at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:1144)
 at com.intellij.ide.SaveAndSyncHandler.saveProjectsAndDocuments(SaveAndSyncHandler.java:131)
 at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated(SaveAndSyncHandler.java:83)
 at com.intellij.ide.FrameStateManagerImpl.a(FrameStateManagerImpl.java:100)
 at com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:31)
 at com.intellij.ide.FrameStateManagerImpl$2$1.run(FrameStateManagerImpl.java:72)
 at com.intellij.util.Alarm$Request$1.run(Alarm.java:229)
 at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: com.intellij.util.xmlb.XmlSerializationException: java.lang.NullPointerException
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:49)
 at com.intellij.util.xmlb.XmlSerializer.serialize(XmlSerializer.java:45)
 at com.intellij.openapi.components.impl.stores.DefaultStateSerializer.serializeState(DefaultStateSerializer.java:63)
 at com.intellij.openapi.components.impl.stores.XmlElementStorage$MyExternalizationSession.setState(XmlElementStorage.java:296)
 at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$MyExternalizationSession.setState(StateStorageManagerImpl.java:461)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:158)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$600(ComponentStoreImpl.java:44)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$SaveSessionImpl.commit(ComponentStoreImpl.java:478)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:113)
 ... 22 more
Caused by: java.lang.NullPointerException
 at com.intellij.util.xmlb.AbstractCollectionBinding.serialize(AbstractCollectionBinding.java:127)
 at com.intellij.util.xmlb.OptionTagBinding.serialize(OptionTagBinding.java:54)
 at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:101)
 at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:77)
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:43)
 ... 30 more
2011-03-04 22:25:11,959 [ 135183]   INFO - hp.connection.ServerConnection - Stopping XDebug on port 9000
2011-03-04 22:25:11,960 [ 135184]   INFO - hp.connection.ServerConnection - Stopped listening on port 9000
2011-03-04 22:25:13,313 [ 136537]   INFO - .components.ComponentStoreImpl - java.lang.NullPointerException
com.intellij.util.xmlb.XmlSerializationException: java.lang.NullPointerException
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:49)
 at com.intellij.util.xmlb.XmlSerializer.serialize(XmlSerializer.java:45)
 at com.intellij.openapi.components.impl.stores.DefaultStateSerializer.serializeState(DefaultStateSerializer.java:63)
 at com.intellij.openapi.components.impl.stores.XmlElementStorage$MyExternalizationSession.setState(XmlElementStorage.java:296)
 at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$MyExternalizationSession.setState(StateStorageManagerImpl.java:461)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:158)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$600(ComponentStoreImpl.java:44)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$SaveSessionImpl.commit(ComponentStoreImpl.java:478)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:113)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.doSave(ComponentManagerImpl.java:708)
 at com.intellij.openapi.application.impl.ApplicationImpl._saveSettings(ApplicationImpl.java:1107)
 at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:1144)
 at com.intellij.ide.SaveAndSyncHandler.saveProjectsAndDocuments(SaveAndSyncHandler.java:131)
 at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated(SaveAndSyncHandler.java:83)
 at com.intellij.ide.FrameStateManagerImpl.a(FrameStateManagerImpl.java:100)
 at com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:31)
 at com.intellij.ide.FrameStateManagerImpl$2$1.run(FrameStateManagerImpl.java:72)
 at com.intellij.util.Alarm$Request$1.run(Alarm.java:229)
 at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
 at com.intellij.util.xmlb.AbstractCollectionBinding.serialize(AbstractCollectionBinding.java:127)
 at com.intellij.util.xmlb.OptionTagBinding.serialize(OptionTagBinding.java:54)
 at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:101)
 at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:77)
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:43)
 ... 30 more
2011-03-04 22:25:13,313 [ 136537]   INFO - plication.impl.ApplicationImpl - Saving application settings failed
java.io.IOException: java.lang.NullPointerException
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:129)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.doSave(ComponentManagerImpl.java:708)
 at com.intellij.openapi.application.impl.ApplicationImpl._saveSettings(ApplicationImpl.java:1107)
 at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:1144)
 at com.intellij.ide.SaveAndSyncHandler.saveProjectsAndDocuments(SaveAndSyncHandler.java:131)
 at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated(SaveAndSyncHandler.java:83)
 at com.intellij.ide.FrameStateManagerImpl.a(FrameStateManagerImpl.java:100)
 at com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:31)
 at com.intellij.ide.FrameStateManagerImpl$2$1.run(FrameStateManagerImpl.java:72)
 at com.intellij.util.Alarm$Request$1.run(Alarm.java:229)
 at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: com.intellij.util.xmlb.XmlSerializationException: java.lang.NullPointerException
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:49)
 at com.intellij.util.xmlb.XmlSerializer.serialize(XmlSerializer.java:45)
 at com.intellij.openapi.components.impl.stores.DefaultStateSerializer.serializeState(DefaultStateSerializer.java:63)
 at com.intellij.openapi.components.impl.stores.XmlElementStorage$MyExternalizationSession.setState(XmlElementStorage.java:296)
 at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$MyExternalizationSession.setState(StateStorageManagerImpl.java:461)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:158)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$600(ComponentStoreImpl.java:44)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$SaveSessionImpl.commit(ComponentStoreImpl.java:478)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:113)
 ... 22 more
Caused by: java.lang.NullPointerException
 at com.intellij.util.xmlb.AbstractCollectionBinding.serialize(AbstractCollectionBinding.java:127)
 at com.intellij.util.xmlb.OptionTagBinding.serialize(OptionTagBinding.java:54)
 at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:101)
 at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:77)
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:43)
 ... 30 more
2011-03-04 22:25:16,989 [ 140213]   INFO - .components.ComponentStoreImpl - java.lang.NullPointerException
com.intellij.util.xmlb.XmlSerializationException: java.lang.NullPointerException
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:49)
 at com.intellij.util.xmlb.XmlSerializer.serialize(XmlSerializer.java:45)
 at com.intellij.openapi.components.impl.stores.DefaultStateSerializer.serializeState(DefaultStateSerializer.java:63)
 at com.intellij.openapi.components.impl.stores.XmlElementStorage$MyExternalizationSession.setState(XmlElementStorage.java:296)
 at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$MyExternalizationSession.setState(StateStorageManagerImpl.java:461)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:158)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$600(ComponentStoreImpl.java:44)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$SaveSessionImpl.commit(ComponentStoreImpl.java:478)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:113)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.doSave(ComponentManagerImpl.java:708)
 at com.intellij.openapi.application.impl.ApplicationImpl._saveSettings(ApplicationImpl.java:1107)
 at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:1144)
 at com.intellij.ide.SaveAndSyncHandler.saveProjectsAndDocuments(SaveAndSyncHandler.java:131)
 at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated(SaveAndSyncHandler.java:83)
 at com.intellij.ide.FrameStateManagerImpl.a(FrameStateManagerImpl.java:100)
 at com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:31)
 at com.intellij.ide.FrameStateManagerImpl$2$1.run(FrameStateManagerImpl.java:72)
 at com.intellij.util.Alarm$Request$1.run(Alarm.java:229)
 at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
 at com.intellij.util.xmlb.AbstractCollectionBinding.serialize(AbstractCollectionBinding.java:127)
 at com.intellij.util.xmlb.OptionTagBinding.serialize(OptionTagBinding.java:54)
 at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:101)
 at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:77)
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:43)
 ... 30 more
2011-03-04 22:25:16,990 [ 140214]   INFO - plication.impl.ApplicationImpl - Saving application settings failed
java.io.IOException: java.lang.NullPointerException
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:129)
 at com.intellij.openapi.components.impl.ComponentManagerImpl.doSave(ComponentManagerImpl.java:708)
 at com.intellij.openapi.application.impl.ApplicationImpl._saveSettings(ApplicationImpl.java:1107)
 at com.intellij.openapi.application.impl.ApplicationImpl.saveSettings(ApplicationImpl.java:1144)
 at com.intellij.ide.SaveAndSyncHandler.saveProjectsAndDocuments(SaveAndSyncHandler.java:131)
 at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated(SaveAndSyncHandler.java:83)
 at com.intellij.ide.FrameStateManagerImpl.a(FrameStateManagerImpl.java:100)
 at com.intellij.ide.FrameStateManagerImpl.access$500(FrameStateManagerImpl.java:31)
 at com.intellij.ide.FrameStateManagerImpl$2$1.run(FrameStateManagerImpl.java:72)
 at com.intellij.util.Alarm$Request$1.run(Alarm.java:229)
 at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:332)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:505)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:404)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: com.intellij.util.xmlb.XmlSerializationException: java.lang.NullPointerException
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:49)
 at com.intellij.util.xmlb.XmlSerializer.serialize(XmlSerializer.java:45)
 at com.intellij.openapi.components.impl.stores.DefaultStateSerializer.serializeState(DefaultStateSerializer.java:63)
 at com.intellij.openapi.components.impl.stores.XmlElementStorage$MyExternalizationSession.setState(XmlElementStorage.java:296)
 at com.intellij.openapi.components.impl.stores.StateStorageManagerImpl$MyExternalizationSession.setState(StateStorageManagerImpl.java:461)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a(ComponentStoreImpl.java:158)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access$600(ComponentStoreImpl.java:44)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl$SaveSessionImpl.commit(ComponentStoreImpl.java:478)
 at com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave(ComponentStoreImpl.java:113)
 ... 22 more
Caused by: java.lang.NullPointerException
 at com.intellij.util.xmlb.AbstractCollectionBinding.serialize(AbstractCollectionBinding.java:127)
 at com.intellij.util.xmlb.OptionTagBinding.serialize(OptionTagBinding.java:54)
 at com.intellij.util.xmlb.BeanBinding.serializeInto(BeanBinding.java:101)
 at com.intellij.util.xmlb.BeanBinding.serialize(BeanBinding.java:77)
 at com.intellij.util.xmlb.XmlSerializerImpl.serialize(XmlSerializerImpl.java:43)

0

Hello Dan,

Though this exception is not related to debugging, anyway thanks for report. Do you still have an issue?

0

I haven't been able to get it to work, so I have to move on and come back to this when I have time. Thanks for all the help, I will update when I get a chance to start looking back into this.

0

Please sign in to leave a comment.