An exception event is caught by the trace command, but not by java command

I am having a strange exception in the output of the trace command. The exception is only happening if I instantiate a new object in test class (I have included the code below).
This is the exception is the output of trace:
ThreadName: ====== main ======
methodEntryEvent: main -- simplestTest location:simplestTest:13
| Exception event found: instance of java.lang.ClassNotFoundException(id=39) catch: java.lang.ClassLoader:303 exception details: class com.sun.tools.jdi.ObjectReferenceImpl
| Exception event found: instance of java.lang.ClassNotFoundException(id=40) catch: java.lang.ClassLoader:303 exception details: class com.sun.tools.jdi.ObjectReferenceImpl
| Exception event found: instance of java.lang.ClassNotFoundException(id=40) catch: java.lang.ClassLoader:303 exception details: class com.sun.tools.jdi.ObjectReferenceImpl
| methodEntryEvent: <init> -- Tutti location:Tutti:22
| | methodExitEvent: <init> -- Tutti
| methodEntryEvent: <init> -- Tutti location:Tutti:22
| | methodExitEvent: <init> -- Tutti
| methodExitEvent: main -- simplestTest
Death of ThreadName:====== main end ======
-- The application exited --
This is the very simple test class:
public class simplestTest {
    public static void main(String[] args) {
        int x = 10;
        System.out.println("hello test");
        Tutti tuttike;
        tuttike = new Tutti();
        Tutti tuttike2;
        tuttike2 = new Tutti();
class Tutti {   
}If I do not have any instantiations, I do not have the exception in the trace output. Also, if I run the above test application normally (with the java command), I do not have these exceptions.
Anybody have an idea?

Indeed, in jdb I do not get these exceptions. I was also about to say that running the trace tool from the command line (not from within Netbeans as before) yielded a slightly more detailed result:
-- VM Started --
ThreadName: ====== main ======
methodEntryEvent: main  --  simplestTest location:simplestTest:13
| Exception event found: instance of java.lang.ClassNotFoundException(id=39) cat
ch: java.lang.ClassLoader.loadClass(java.lang.String, boolean)+39 exception deta
ils: class com.sun.tools.jdi.ObjectReferenceImpl
| Exception event found: instance of java.lang.ClassNotFoundException(id=40) cat
ch: java.lang.ClassLoader.loadClass(java.lang.String, boolean)+39 exception deta
ils: class com.sun.tools.jdi.ObjectReferenceImpl
| Exception event found: instance of java.lang.ClassNotFoundException(id=40) cat
ch: java.lang.ClassLoader.loadClass(java.lang.String, boolean)+39 exception deta
ils: class com.sun.tools.jdi.ObjectReferenceImpl
| methodEntryEvent: <init>  --  Tutti location:Tutti:22
| | methodExitEvent: <init>  --  Tutti
| methodEntryEvent: <init>  --  Tutti location:Tutti:22
| | methodExitEvent: <init>  --  Tutti
| methodExitEvent: main  --  simplestTest
Death of ThreadName:====== main end ======
-- The application exited --But I now understand this is completely normal behavior. What a strange way to signal class loading... In my own, much more elaborate debugging application, I have now signaled through JDI not to report these exceptions anymore.
A question, is there a reason for this behavior?

Similar Messages

  • Import (v. 7.1.5) iPhotos from old iMac to new iMac (v. 9.2) using Migration Mgr. over fire wire.  All photos (  many dups) appeared in EVENTS and PHOTOS in the new Mac – but NO ALBUMS.

    Attempted to import 6.5 GB of (v. 7.1.5) iPhotos from old iMac to new iMac (v. 9.2) using Migration Mgr. over fire wire.  All photos (plus many dups) appeared in EVENTS and PHOTOS in the new Mac – but NO ALBUMS.  I read a previous response to a similar question -- to copy the pictures library to the new computer.  How best to do that?

    There's actually an option to iPhoto Library Manager that makes this all almost work flawlessly (and work well enough for me). With the exception of Photo Albums that the pictures are part of, if you select "Library > Rebuild Library..." and then select "Scavange Orphaned Photos" check box, then it will put all the Photos and Movies into the "Scavanged Photos" album. It matches the modified pictures to their originals. It preserves all the event names and photo groupings. All the meta-data I could spot check it got right (although with 44k pictures, I only checked a few). If you fail to select this option, however, it will find no pictures at all when it goes to rebuild the library (this was true of the small test libraries I tried as well as the big, monster 280GB library I just finished converting). The conversion process took 5 hours to run, but in the end produced a library my new iPhoto can read and that I can interact with. I'll be suggesting to the iPhoto Library Manager folks a notation that would estimate the number of Orphaned Photos and display that number as a hint to the user that the option would be useful.
    Edited: Thanks to Old Toad and LarryHN for their help in finding which of the many options to transition this library to 9.5.1 I needed to use. Sorry if I took my frustration of the past several months out on you guys for generously trying to help me.

  • HT2513 my iCal shows events in the "month" view but not in the "week" view? why is that?

    my iCal shows events in the "month" view but not in the "week" view? why is that? doesnt sync automatically all the time only sometimes

    my iCal shows events in the "month" view but not in the "week" view? why is that? doesnt sync automatically all the time only sometimes

  • TS3999 I see all of my calendar events in iCal and on my iPhone, but not in the iCloud web app.  Any ideas why?

    I see all of my calendar events in iCal and on my iPhone, but not in the iCloud web app.  Any ideas why?

    If the calendar is on iCoud.com, all you would need to do to get it on your phone is go to Settings>iCloud on your phone, sign into your iCoud account and turn Calendars on.  The iCloud calendars will then download to your phone.

  • In downloading my Events from iPhoto on my Mac to my iPad Air, the Events arrive in the proper order but not showing the Key Photo.  At the same time, the Events arrive in iPhoto on the iPad in totally random order but showing the Key Photo.Why?

    In downloading my Events from iPhoto on my Mac to my Ipad Air, the Events arrive in Photos in the correct order but not showing the Key photo. At the same time, the Events arrive in iPhoto in a totally random order but with the Key phto showing. Why? of course and is there a way to shift the order in Iphoto and get a Key photo in Photos?

    HHi, thank you for the reply. I have checked my iPad and iPhone and neither has iCloud Photo Library (Beta) enabled. Turned off in both. Photostream is turned on.
    i tried to sort it out  by dragging all the photos to Events on the Mac and then deleting them from iCloud - (left hand side of iPhoto under the section 'Shared'). the photos now show up in Events. I did force quit but the issue remains. The message reads ' photos are bing imported to the library. Please wait for import to complete.'
    i can't empty iPhoto trash either. The message read "Delete error. Please wait for import to complete.'
    WHen I was moving the photos to the Events I always had a message about duplicates - to the effect that the photos already existed, did I want to import them? I clicked on Yes, import all duplicates. But when it showed the images - duplicates side by side - one showed the photo and the other was blank.
    I really don't know what to do! And I don't know how to handle my iOS devices. Is it to do with the large number of photos? Any help, advice appreciated.

  • No. Range for trans./event type WE in the year 2009 does not exist..

    No. Range for trans./event type WE in the year 2009  does not exist...message.No.7562.....
    this error came when i try to post good receipt thro' PO...
    help me..
    thanks in advance...
    Edited by: venkateshnov14 on Nov 12, 2009 12:01 PM

    Hi,
    Set number ranges for WE in following path  for Accounting document &  Material document
    SPRO --> materials management --> Inventory management and physical inventory --> Number range assignment -->
    under this path you can maintain number ranges for accounting documents and material documents.
    1. Accounting documents (OMBA)
    2. Material documents (OMBT)
    Regards,
    Biju K

  • I can import my first clip to the video library, but not the second clip. I tried dragging-dropping and using the "E" key, but only the first clip will show up in the library. I use IMovie 9.0.9 and OSX 10.8.5. with no problems until yesterday.

    I can drag my first clip from the New Event window into the Project Library, but not the second. I can highlight the second clip in the New Event window, but it won't "drag". The "E" key works for the first clip, but not the second.I've been using IMovie daily and the problem just appeared. No upgrades to the computer and no new software installed.  IMovie 9.0.9 and OSX 10.8.5

    Thanks victoryhat.  I learned some new things from this very clear tutorial.  But it didn't answer my question about why the titles don't stay with the video when I export it.
    He did mention something that might be a clue however.  When he talked about importing a title he created as an image, he noted that he was careful to make the image the same size as the video he was adding it to: 1280 x 720.  Since I took the video with an iPhone in the vertical position, my video image isn't the same size and orientation as the titles.
    Maybe there is a way I should be setting the screen for this size???  I'll go back and play around.  Meanwhile thanks for alerting me to Gary Rosenzweig's MacMost tutorials.  Very clear.  I'll look for more.

  • Help, I have bought Creative Suite 6 student version, I have the product code but not the numbers I need to activate it, can you help?

    Help, I have bought Creative Suite 6 student version, I have the product code but not the numbers I need to activate it, can you help?

    This is not something we can help you with in a public forum.
    You'll either have to call Adobe Customer Service in your region, or use web chat. Here's link to web chat. Enter a product name and problem area. Ignore all the links except the one that says something like, "Still have a problem?" Click that, and you'll get a link to web chat:
    Contact Customer Care

  • Oh look a 'search' function on the iPod Touch, but not on our iPhones

    Oh look a 'search' function on the iPod Touch, but not on our iPhones. And we had a search all along on our iPhones, except only in the Google Maps prog.
    What the _?

    the search in safari searches the net, not the 100's of addresses, calendar entries, emails and notes on the iPhone. Any smartphone or phone billed and priced as a smartphone should do this. There should be a sense of urgency to address this one would think. Josh, we have received maybe three software updates now.

  • Bought updating the fireworks CS6 but not earlier versions what to do?

    bought updating the fireworks CS6 but not earlier versions what to do?

    Not a lot that you can do about it - except returning the CS6 update, and getting the full version. Do remember that Fireworks is no longer developed by Adobe, and is effectively a "dead" application. You may want to invest your money in alternative software.
    Alternatively, try to seek out a legit copy of CS5, and update that one. You might be successful on ebay - but there are a lot of illegal versions on sale on ebay, unfortunately.

  • When using the camera downloader in Adobe Bridge CS6 with Nikon D5200 we are unable to see previews of the photos and it is very slow to download. The issue occurs under a the users rights, but not under admin level. This is a new issue

    When using the camera downloader in Adobe Bridge CS6 with Nikon D5200 we are unable to see previews of the photos and it is very slow to download. The issue occurs under a the users rights, but not under admin level. This is a new issue.

    Hi Jdentremont,
    Lync client gets user photos by first querying the Address Book Web Query (ABWQ) service on the server, which is exposed through the Distribution List Expansion web service. The client receives
    the image file and then copies it to the user's cache to avoid downloading the image each time it needs to be displayed. The attribute values returned from the query are also stored in the cached Address Book Service entry for the user. The Address Book Service
    deletes all cached images every 24 hours, which means that it can take up to 24 hours for new user images to be updated in the cache on the server.
    To troubleshoot your problem, please follow the steps below:
    1.  Navigate to
     “X:\share\1-WebServices-1\ABfiles\000000000\000000000” folder. (ABS file share)
    You should see some photo files in this folder as the following screenshot.
    2. Delete all the files in this folder.
    3. On test PC, delete local cache files.
    %userprofile%\AppData\Local\Microsoft\Office\15.0\Lync\[email protected]
    4. Sign-in Lync with the test account.
    5. Go back to the ABS file share, check if there is any Photo file in the folder.
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I am trying to delete songs from itune 11 library and i want it to delete the song from my hard drive as well.  All my songs are in the music folder but not in the itunes folder??  itunes did not prompt me to move file to trash nor is there an option??

    I am trying to delete songs from itune 11 library and i want it to delete the song from my hard drive as well.  All my songs are in the music folder but not in the itunes folder.  itunes did not prompt me to move file to trash nor is there an option to remove file to trash bin.  How can i  delete songs from both the itunes and hard drive at the same time?

    aespinoza2210 wrote:
    could it be in the itunes folder or does it have to be in the itunes media folder, which is within the itunes folder??
    A Espinoza,
    The iTunes Media folder is set in Preferences > Advanced, and is the key to most iTunes folder organizational activities.  So I doubt that the automatic deletion will work for files that are somewhere else within the folder structure.
    However, I have not experimented with that issue in quite a while, so you are welcome to give it a try in iTunes 11. 

  • I have a Rocketfish mini display port to VGA adaptor cord for a macbook pro, it was working fine the first week, now it does not show what I am seeing on my laptop on my lg Flat screen tv. It only shows the space background but not any icons. Any help??

    Is there anything I should do to the TV or any settings i should do from my actual Macbook? It only shows the space background but not any of my icons or what i am seeing on my laptop screen. It is a new adaptor which was purchased last week.

    It seems as though though it may be a connection issue, possibly hardware or adapter. Make certain the connections are TIGHT.
    For software you may try a smc reset:
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer. 
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.
    Try a pram reset:
    Shut down your Mac.
    Locate the following keys on the keyboard: Option, Command (⌘), P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on your Mac.
    Immediately press and hold the Option-Command-P-R keys. You must press this key combination before the gray screen appears. Continue holding the keys down until your Mac restarts, and you hear the startup sound for the second time.
    Release the keys.
    If no joy you can take it in to an Apple store genius bar for a free evaluation make an appointment first.
    http://www.apple.com/retail/geniusbar/

  • My reader will not open a PDF file that I have downloaded from a government web site (an application form) - it states that the file is not good.  I can open on the web site but not from my mac computer

    My reader will not open a PDF file that I have downloaded from a government web site (an application form) - it states that the file is not good.  I can open on the web site but not from my mac computer.

    Maybe this: http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html ?
    Do you have a link to that document?

  • HT201272 How do I download previously purchased albums from iTunes when the album has either disappeared from my computer or the tunes are not playable?  The album shows as purchased on the iTunes store, but not available to download to my authorized devi

    How do I download previously purchased albums from iTunes when the album has either disappeared from my computer or the tunes are not playable?  The albums show as purchased on the iTunes store, but not available to download to my authorized device.  I also have albums that appear in my library, but are not able to be added to my iPod from my computer

    When you download something from the iCloud, it is a brand new licensed copy. Your iCloud account just contains a notation that you have this app. It isn't storing an actual copy of the app from your Mac.

Maybe you are looking for

  • Organising/Saving downloads to folders

    Hi there, Is it just me, or does anyone else find it cumbersome organising and saving downloads to specific saved folders, particularly subfolders, in Mac? It seems I can't do it in less than 2 or 3 steps, as one has to save to the Downloads folder o

  • Keeps asking for my email password

    Apple Mail has started to ask for my password. I've typed in my password many times. I have checked the box to remember the password in my keychain. It still asks for my password over and over again. I have two accounts with Apple Mail, one works per

  • Trying to understand Transferable

    Hello, I'm trying to write a drag-and-drop file uploading applet and am thus trying to understand the Transferable interface. I found some very clear source but no clear explanation of one point. I'm sure this information is commonly available; I apo

  • Adobe CS6 Illustrator crashes when saving (windows)

    I have no problem opening my files, but as soon as I want to save my work or I have had the program opened longer than 20-30 minutes, Adobe Illustrator crashes. This problem just started yesterday, and a couple of days prior, Adobe suggested that I d

  • Requesting technical help via e-mail

        I have had Verizon DSL for quite a while but am unable to send a help question by e-mail and get an answer.  The onloy recourse is to wait interminably for a turn on the phone. has anyone had any luck getting help by e-mail?     I am trying to us