Re: Écrire un plugin pour simuler l'éclairage de la course du soleil

by fma » Tue Apr 27, 2010 4:26 pm

Zut, apparemment je n'aurais pas du hésiter à écrire un rappel sur l'installation des plug-ins. [;)]

Les plug-ins sont abordés dans le guide d'utilsation
Je suis une buse : j'avais bien suivi ces explications, mais je regardais dans le mauvais menu (comme j'avais fait des tests de plugins sans traduction, les miens sont dans Tools, alors que le vrai menu c'est Outils !).

Mais ça ne marche pas :

Code: Select all

 Make sure it is located in the  same server and directory with the model file. the loader's base path is: jar:file:/tmp/open1374584905366604351.sweethome3d!/29/
 Make sure it is located in the  same server and directory with the model file. the loader's base path is: jar:file:/tmp/open1374584905366604351.sweethome3d!/29/
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException                                                                                            
        at com.eteks.sweethome3d.plugin.advancedrendering.AdvancedPhotoPanel.displayView(Unknown Source)                                                         
        at com.eteks.sweethome3d.plugin.advancedrendering.CreateAdvancedPhotoPlugin.createAdvancedPhotoPlugin(Unknown Source)                                    
        at com.eteks.sweethome3d.plugin.advancedrendering.CreateAdvancedPhotoPlugin.access$000(Unknown Source)                                                   
        at com.eteks.sweethome3d.plugin.advancedrendering.CreateAdvancedPhotoPlugin$1.execute(Unknown Source)                                                    
        at com.eteks.sweethome3d.swing.HomePane$ActionAdapter.actionPerformed(Unknown Source)                                                                    
        at com.eteks.sweethome3d.swing.ResourceAction$AbstractDecoratedAction.actionPerformed(Unknown Source)                                                    
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)                                                                                        
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)                                                                                    
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)                                                                                    
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)                                                                                             
        at javax.swing.AbstractButton.doClick(Unknown Source)                                                                                                    
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)                                                                                        
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source)                                                                  
        at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)                                                                                       
        at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)                                                                                       
        at javax.swing.JMenuItem.processMouseEvent(Unknown Source)                                                                                               
        at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)                                                                                    
        at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(Unknown Source)                                                                  
        at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source)                                                                            
        at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)                                                                              
        at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)                                                                              
        at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)                                                                              
        at java.awt.Toolkit.notifyAWTEventListeners(Unknown Source)                                                                                              
        at java.awt.Component.dispatchEventImpl(Unknown Source)                                                                                                  
        at java.awt.Container.dispatchEventImpl(Unknown Source)                                                                                                  
        at java.awt.Component.dispatchEvent(Unknown Source)                                                                                                      
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)                                                                                     
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)                                                                                      
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)                                                                                          
        at java.awt.Container.dispatchEventImpl(Unknown Source)                                                                                                  
        at java.awt.Window.dispatchEventImpl(Unknown Source)                                                                                                     
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.eteks.sweethome3d.plugin.advancedrendering.AdvancedPhotoPanel.displayView(Unknown Source)
        at com.eteks.sweethome3d.plugin.advancedrendering.CreateAdvancedPhotoPlugin.createAdvancedPhotoPlugin(Unknown Source)
        at com.eteks.sweethome3d.plugin.advancedrendering.CreateAdvancedPhotoPlugin.access$000(Unknown Source)
        at com.eteks.sweethome3d.plugin.advancedrendering.CreateAdvancedPhotoPlugin$1.execute(Unknown Source)
        at com.eteks.sweethome3d.swing.HomePane$ActionAdapter.actionPerformed(Unknown Source)
        at com.eteks.sweethome3d.swing.ResourceAction$AbstractDecoratedAction.actionPerformed(Unknown Source)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source)
        at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)
        at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)
        at javax.swing.JMenuItem.processMouseEvent(Unknown Source)
        at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)
        at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(Unknown Source)
        at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source)
        at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
        at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
        at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
        at java.awt.Toolkit.notifyAWTEventListeners(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)