Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] Debugging issues in eclipse

I subscribed to the newsgroup first but couldn't find one which appeared to
be correct for this type of communication.  The descriptions of each group
are a little on the brief side.

Matt Gregory
eBusiness R&D
CTI, Inc.
cell: 865-406-1431
work: 865-218-2767
ioem: matt.gregory@xxxxxxxxx *see key block below
ooem: matthew.gregory@xxxxxxxxxxxx

***DISCLAIMER***
Everything in this email is to be considered the rumblings of an insane
lunatic and should not be relied upon to make sane decisions.  (in other
words, If you take my advice and get hurt in the process it's not my
fault).  By getting out of your bed in the morning you automatically assume
responsibility for your own mistakes and agree to hold the author of this
message blameless for them.  By reading this email you agree to live in
complete peace and harmony with your fellow man, love and praise the
almighty God of heaven, and regularly donate blood (unless you are a
Jehovah's Witness, I understand they frown on that kind of thing).  You are
bound to this agreement under the DMCA so don't try anything or I'll sue
you into oblivion.


                                                                                                                                               
                      Darin_Wright@xxxxxxxxxx                                                                                                  
                      Sent by:                         To:       platform-debug-dev@xxxxxxxxxxx                                                
                      platform-debug-dev-admin@        cc:                                                                                     
                      eclipse.org                      Subject:  Re: [platform-debug-dev] Debugging issues in eclipse                          
                                                                                                                                               
                                                                                                                                               
                      02/06/2003 03:44 PM                                                                                                      
                      Please respond to                                                                                                        
                      platform-debug-dev                                                                                                       
                                                                                                                                               
                                                                                                                                               





This is a bug that has been fixed. Please note that the news group or
bugzilla should be used for this sort of communication.

http://bugs.eclipse.org/bugs/show_bug.cgi?id=29680

Darin


                                                                          
   Matt.Gregory@xxxxxxxxx                                                 
   Sent by:                              To:                              
   platform-debug-dev-admin@ecli platform-debug-dev@xxxxxxxxxxx           
   pse.org                               cc:                              
                                         Subject:                         
                                 [platform-debug-dev] Debugging issues in 
   02/06/2003 02:29 PM           eclipse                                  
   Please respond to                                                      
   platform-debug-dev                                                     
                                                                          





I have just switched to Eclipse and I am already stumped by my first
problem...

I am developing an applet which must be able to run under JDK 1.1.8 (for IE
standard compatability) so I have the project configured to compile with
JDK 1.1.8 by default.  The older JDK is horrible at debugging however so I
have been using JDK 1.4.1 to do the actual debugging.  No matter what I do,
I always get the following exception when my applet attempts to start a
thread to read file content from a stream from eclipse, but only in JDK
1.4.1:

java.security.AccessControlException: access denied
(java.lang.RuntimePermission modifyThreadGroup)
     at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)

     at
java.security.AccessController.checkPermission(AccessController.java:401)
     at
java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
     at sun.applet.AppletSecurity.checkAccess(AppletSecurity.java:169)
     at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:287)
     at java.lang.Thread.init(Thread.java:286)
     at java.lang.Thread.<init>(Thread.java:332)
->    at petview.FileReaderFrame.start(FileReaderFrame.java:102)
     at petview.FileReaderFrame.read(FileReaderFrame.java:55)
     at petview.PetViewApplet.startReadThread(PetViewApplet.java:171)
     at com.cti.www.CTIpetApplet.actionPerformed(CTIpetApplet.java:69)
     at java.awt.Button.processActionEvent(Button.java:381)
     at java.awt.Button.processEvent(Button.java:350)
     at java.awt.Component.dispatchEventImpl(Component.java:3598)
     at java.awt.Component.dispatchEvent(Component.java:3439)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
     at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)

     at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

     at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
     at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

The same code initalizing the thread works outside of eclipse in both the
Mozilla and Internet Explorer VMs, as well as in JBuilder and from the
command line.  It also works fine in JDK 1.1.8 under eclipse when I simply
run, but my goal is to debug.

Again, I would like to point out that the default JDK is 1.1.8 (the one I'm
using to compile) but that I am running the compiled library with JDK 1.4.1
and attempting to debug it with 1.4.1 as well

My code intersects with the error at the line marked with the -> and looks
like this:
****code****
   if(engine == null) {
     engine = new Thread(this);
     engine.start();
   }
****code****
(the FileReaderFrame is a scrollbar frame which reads from a stream and
updates itself... it extends Runnable).

Matt Gregory
eBusiness R&D
CTI, Inc.
cell: 865-406-1431
work: 865-218-2767
ioem: matt.gregory@xxxxxxxxx *see key block below
ooem: matthew.gregory@xxxxxxxxxxxx

***DISCLAIMER***
Everything in this email is to be considered the rumblings of an insane
lunatic and should not be relied upon to make sane decisions.  (in other
words, If you take my advice and get hurt in the process it's not my
fault).  By getting out of your bed in the morning you automatically assume
responsibility for your own mistakes and agree to hold the author of this
message blameless for them.  By reading this email you agree to live in
complete peace and harmony with your fellow man, love and praise the
almighty God of heaven, and regularly donate blood (unless you are a
Jehovah's Witness, I understand they frown on that kind of thing).  You are
bound to this agreement under the DMCA so don't try anything or I'll sue
you into oblivion.
--

NOTICE:  This e-mail message and all attachments transmitted with it may
contain legally privileged and confidential information intended solely
for the use of the addressee.  If the reader of this message is not the
intended recipient, you are hereby notified that any reading,
dissemination, distribution, copying, or other use of this message or
its attachments, hyperlinks, or any other files of any kind is strictly
prohibited.  If you have received this message in error, please notify
the sender immediately by telephone (865-218-2000) or by a reply to this
electronic mail message and delete this message and all copies and
backups thereof.





_______________________________________________
platform-debug-dev mailing list
platform-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-debug-dev




--
                                                                          
 NOTICE:  This e-mail message and all attachments transmitted with it may 
 contain legally privileged and confidential information intended solely  
 for the use of the addressee.  If the reader of this message is not the  
 intended recipient, you are hereby notified that any reading,            
 dissemination, distribution, copying, or other use of this message or    
 its attachments, hyperlinks, or any other files of any kind is strictly  
 prohibited.  If you have received this message in error, please notify   
 the sender immediately by telephone (865-218-2000) or by a reply to this 
 electronic mail message and delete this message and all copies and       
 backups thereof.                                                         
                                                                          





Back to the top