Returning to 9.0.3 after trying X-EAP


I was trying out the IDEA X EAP for a few hours today, but then decided
I should return to 9.0.3 after running into a few bugs in the EAP.

But now when I load the project in 9.0.3, I get the following message
anytime I try to save:  "Could not save project:
java.lang.NullPinterException"

(Unfortunately, I don't keep my idea-specific files in a repository.)
The problem is apparently in either workspace.xml or
projectSourceStyle.xml since these were the only file modified during
the time I was using X-EAP.

Is there anyway I can determine specifically what IDEA is choking on, so
I can modify the XML file to remove the problem?

thanks,
Justin

2 comments

The specific exception can be found in idea.log (~/Library/Logs/IntelliJIdea90/idea.log on Mac OS X, ~/.IntelliJIdea90/system/logs/idea.log on Win/Linux).

0

In article <1528510.242291286865452717.JavaMail.devnet@domU-12-31-39-18-
36-57.compute-1.internal>, yole@jetbrains.com says...


The specific exception can be found in idea.log (~/Library/Logs/IntelliJIdea90/idea.log on Mac OS X, ~/.IntelliJIdea90/system/logs/idea.log on Win/Linux).

---
Original message URL: http://devnet.jetbrains.net/message/5274730#5274730


Neither the log message nor the exception's stack trace tell me enough
information to determine how I might correct the problem in my project
files.

I ended up just setting up a new project.

For future reference, below is the message from the log.

Justin

2010-10-11 18:43:08,816    INFO -
ellij.project.impl.ProjectImpl - Error saving project
java.io.IOException: java.lang.NullPointerException
     at
com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave
(ComponentStoreImpl.java:134)
     at
com.intellij.openapi.components.impl.stores.ProjectWithModulesStoreImpl.
startSave(ProjectWithModulesStoreImpl.java:36)
     at
com.intellij.openapi.components.impl.ComponentManagerImpl.doSave
(ComponentManagerImpl.java:675)
     at com.intellij.openapi.project.impl.ProjectImpl.save
(ProjectImpl.java:261)
     at com.intellij.ide.SaveAndSyncHandler.b
(SaveAndSyncHandler.java:123)
     at com.intellij.ide.SaveAndSyncHandler.access$200
(SaveAndSyncHandler.java:42)
     at com.intellij.ide.SaveAndSyncHandler$3.onFrameDeactivated
(SaveAndSyncHandler.java:80)
     at com.intellij.ide.FrameStateManagerImpl.a
(FrameStateManagerImpl.java:81)
     at com.intellij.ide.FrameStateManagerImpl.access$300
(FrameStateManagerImpl.java:29)
     at com.intellij.ide.FrameStateManagerImpl$1$1.run
(FrameStateManagerImpl.java:58)
     at com.intellij.util.Alarm$Request$1.run(Alarm.java:226)
     at com.intellij.openapi.application.impl.LaterInvocator
$FlushQueue.run(LaterInvocator.java:319)
     at java.awt.event.InvocationEvent.dispatch
(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
     at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:610)
     at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:500)
     at com.intellij.ide.IdeEventQueue.dispatchEvent
(IdeEventQueue.java:368)
     at java.awt.EventDispatchThread.pumpOneEventForFilters
(EventDispatchThread.java:269)
     at java.awt.EventDispatchThread.pumpEventsForFilter
(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:174)
     at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:169)
     at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:161)
     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.seria
lizeState(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:465)
     at
com.intellij.openapi.components.impl.stores.ComponentStoreImpl.a
(ComponentStoreImpl.java:163)
     at
com.intellij.openapi.components.impl.stores.ComponentStoreImpl.access
$500(ComponentStoreImpl.java:49)
     at com.intellij.openapi.components.impl.stores.ComponentStoreImpl
$SaveSessionImpl.commit(ComponentStoreImpl.java:493)
     at
com.intellij.openapi.components.impl.stores.ComponentStoreImpl.startSave
(ComponentStoreImpl.java:118)
     ... 22 more
Caused by: java.lang.NullPointerException
     at
com.intellij.util.xmlb.SkipDefaultValuesSerializationFilters.getDefaultB
ean(SkipDefaultValuesSerializationFilters.java:42)
     at
com.intellij.util.xmlb.SkipDefaultValuesSerializationFilters.accepts
(SkipDefaultValuesSerializationFilters.java:30)
     at
com.intellij.openapi.components.impl.stores.DefaultStateSerializer
$1.accepts(DefaultStateSerializer.java:65)
     at com.intellij.util.xmlb.BeanBinding.serializeInto
(BeanBinding.java:85)
     at com.intellij.util.xmlb.BeanBinding.serialize
(BeanBinding.java:77)
     at com.intellij.util.xmlb.MapBinding.serialize
(MapBinding.java:100)
     at com.intellij.util.xmlb.TagBinding.serialize(TagBinding.java:48)
     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

0

Please sign in to leave a comment.