syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgrosso <...@git.apache.org>
Subject [GitHub] syncope issue #43: Added netbeans to syncope/ide
Date Tue, 10 Jan 2017 08:57:17 GMT
Github user ilgrosso commented on the issue:

    https://github.com/apache/syncope/pull/43
  
    I have examined the PR content, and fixed several things (related to the build process)
in the [attached commit](https://github.com/apache/syncope/files/695609/0001-Several-pom-fixes-proper-LICENSE-and-NOTICE-package-.zip):
please unzip and apply it to your own branch via `git am`.
    
    Once done that, I have actually tried the plugin with my own Netbeans.
    
    Right after plugin installation, I went to `Window > Apache Syncope` (no icon and in
first place inside the menu, room to improve) and a new window appeared on the left side containing
the `Apache Syncope` label with two more labels underneath (again, no icons): `Mail Template`
(not 'templates'?) and `Report XSLTs` (why not 'templates'?).
    
    I could not find a place where to insert the actual Syncope deployment coordinates (base
REST URL, username and password), so I went to the code and found that such info is stored
inside a `UserData.txt` file - evidently supposed to be found in my home directory.
    In fact, I tried to click on "Reset Connection" and an exception was reported by Netbeans
about such missing file.
    
    So, I created such file with the expected content and got new exception (see below).
    
    I do believe the whole server coordinates management must be properly handled, I would
expect that Netbeans offers some mechanism to store a given plugin's preferences; hence URL,
username and password could simply go there.
    
    ```
    Annotation: Offending classloader: ModuleCL@191f8315[org.apache.syncope.ide.syncope.ide.netbeans]
    Annotation: Offending classloader: ModuleCL@191f8315[org.apache.syncope.ide.syncope.ide.netbeans]
    Offending classloader: ModuleCL@191f8315[org.apache.syncope.ide.syncope.ide.netbeans]
    Offending classloader: ModuleCL@191f8315[org.apache.syncope.ide.syncope.ide.netbeans]
    Caused: java.util.MissingResourceException: No such bundle org.apache.syncope.ide.netbeans.view.Bundle
    	at org.openide.util.NbBundle.getBundle(NbBundle.java:451)
    	at org.openide.util.NbBundle.getBundle(NbBundle.java:399)
    	at org.openide.util.NbBundle.getMessage(NbBundle.java:642)
    	at org.apache.syncope.ide.netbeans.view.ServerDetailsView.initComponents(ServerDetailsView.java:60)
    	at org.apache.syncope.ide.netbeans.view.ServerDetailsView.<init>(ServerDetailsView.java:35)
    	at org.apache.syncope.ide.netbeans.view.ResourceExplorerTopComponent$4.actionPerformed(ResourceExplorerTopComponent.java:331)
    	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
    	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    	at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
    	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
    	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
    	at java.awt.Component.processMouseEvent(Component.java:6533)
    	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    	at java.awt.Component.processEvent(Component.java:6298)
    	at java.awt.Container.processEvent(Container.java:2236)
    	at java.awt.Component.dispatchEventImpl(Component.java:4889)
    	at java.awt.Container.dispatchEventImpl(Container.java:2294)
    	at java.awt.Component.dispatchEvent(Component.java:4711)
    	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
    	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    	at java.awt.Container.dispatchEventImpl(Container.java:2280)
    	at java.awt.Window.dispatchEventImpl(Window.java:2746)
    	at java.awt.Component.dispatchEvent(Component.java:4711)
    	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    	at java.awt.EventQueue.access$500(EventQueue.java:97)
    	at java.awt.EventQueue$3.run(EventQueue.java:709)
    	at java.awt.EventQueue$3.run(EventQueue.java:703)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    	at java.awt.EventQueue$4.run(EventQueue.java:731)
    	at java.awt.EventQueue$4.run(EventQueue.java:729)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
    [catch] 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)
    ```
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message