neilcsmith-net commented on PR #8622:
URL: https://github.com/apache/netbeans/pull/8622#issuecomment-3207279980

   @matthiasblaesing this should cover it from the mode impl up -
   
   ```
   INFO [org.netbeans.core.windows.persistence]: 
[PersistenceManager.getTopComponentForID] Problem when deserializing 
TopComponent for tcID:'TreeDiffViewerTopComponent'. Reason: null
   Content: 
   <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE settings PUBLIC "-//NetBeans//DTD Session settings 1.0//EN" 
"http://www.netbeans.org/dtds/sessionsettings-1_0.dtd";>
   <settings version="1.0">
     <instance 
class="org.netbeans.modules.diff.tree.TreeDiffViewerTopComponent"/>
   </settings>
   Class: class org.netbeans.modules.diff.tree.TreeDiffViewerTopComponent
   Source: 
MultiFileObject@6c5efbe8[Windows2Local/Components/TreeDiffViewerTopComponent.settings]
   Content: 
   <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE settings PUBLIC "-//NetBeans//DTD Session settings 1.0//EN" 
"http://www.netbeans.org/dtds/sessionsettings-1_0.dtd";>
   <settings version="1.0">
     <instance 
class="org.netbeans.modules.diff.tree.TreeDiffViewerTopComponent"/>
   </settings>
   Class: class org.netbeans.modules.diff.tree.TreeDiffViewerTopComponent
   Source: 
MultiFileObject@6c5efbe8[Windows2Local/Components/TreeDiffViewerTopComponent.settings]
   Caused: java.lang.NoSuchMethodException: 
org.netbeans.modules.diff.tree.TreeDiffViewerTopComponent.<init>()
        at java.base/java.lang.Class.getConstructor0(Class.java:3218)
        at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2493)
        at 
org.netbeans.modules.settings.convertors.XMLSettingsSupport.newInstance(XMLSettingsSupport.java:73)
        at 
org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.instanceCreate(XMLSettingsSupport.java:610)
   Caused: java.io.IOException
        at 
org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.instanceCreate(XMLSettingsSupport.java:612)
        at 
org.netbeans.modules.settings.convertors.SerialDataConvertor$SettingsInstance.instanceCreate(SerialDataConvertor.java:399)
   [catch] at 
org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentPersistentForID(PersistenceManager.java:547)
        at 
org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentForID(PersistenceManager.java:657)
        at 
org.netbeans.core.windows.PersistenceHandler.getTopComponentForID(PersistenceHandler.java:453)
        at 
org.netbeans.core.windows.WindowManagerImpl.getTopComponentForID(WindowManagerImpl.java:995)
        at 
org.netbeans.core.windows.model.TopComponentSubModel.getTopComponent(TopComponentSubModel.java:353)
        at 
org.netbeans.core.windows.model.TopComponentSubModel.getTopComponents(TopComponentSubModel.java:65)
        at 
org.netbeans.core.windows.model.DefaultModeModel.getTopComponents(DefaultModeModel.java:415)
        at 
org.netbeans.core.windows.model.DefaultModel.getModeTopComponents(DefaultModel.java:907)
        at 
org.netbeans.core.windows.Central.getModeTopComponents(Central.java:1541)
        at 
org.netbeans.core.windows.ModeImpl.getTopComponents(ModeImpl.java:200)
   ```
   
   I'm going to replace the call with something else in the application, but 
I'm not sure if anything else in the IDE or elsewhere may hit part of this 
stack.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to