To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97217
                 Issue #|97217
                 Summary|NetBeans plugin's generated custom loader interferes w
                        |ith Javamail
               Component|utilities
                 Version|1.0.0
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|ptsenter





------- Additional comments from ptsen...@openoffice.org Fri Dec 12 19:28:57 
+0000 2008 -------
I have OOo 3.0, NetBeans 6.1, OOoAPI Plugin 2.0.0.
While creating new OOo Client Application the plugin generates a custom loader. 
This loader prevents Javamail from operating properly: SMTPTransport(session, 
url) could not be found and, critical, attachments've not been sent.

Bill Shannon from Sun suggested one line fix:

insert

                  Thread.currentThread().setContextClassLoader(cl);

immediately after

                  ClassLoader cl = getCustomLoader();     (line 140)

I tested that and it works.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@util.openoffice.org
For additional commands, e-mail: issues-h...@util.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to