NetworkInterface objects disappear on Mac computers

In our Java 6 program, we are trying to get the Mac address of all the network interfaces on the machine. It calls NetworkInterface.getNetworkInterfaces() to get a list of them. On Windows with the Sun JRE, everything works fine. However, on Mac computers, this method only returns instances of NetworkInterface for interfaces that are active. If the ethernet cable or wireless card are disconnected, the interfaces are no longer returned.
Why would it do this? Running ifconfig still returns all of the interfaces regardless of their state. If I only wanted the active interfaces, I could call isUp() on the returned NetworkInterface instances to find and discard the inactive ones. However, the Apple JRE developers seem to have predetermined that we would never want them.
Is there any way to get the inactive interfaces to show up? I could get it to run ifconfig and parse out the mac addresses, but I don't want users to be able to replace it with a dummy program and fool our application into thinking a nonexistent interface is there.

it's hard to explain every situation but i created an example and as i was doing it i thing i know what's happening but still not sure why.
here is the file i made
download
what i did
1. made a symbol to be used as a mask (the symbol is just a rectangle with a black and white pattern fill)
2. drew a blue rectangle
3. made an opacity mask for the rectangle and placed in the masking symbol
- so far that works as expected. if i make a pdf or print at this point it show up as it should
if i do the following things, the pdf/print goes wrong
1. if i duplicate the blue rectangle containing the masking symbol, the front most blue rectangle does not show up in the pdf or print
2. if i insert an instance of the masking symbol, it too does not show up in the pdf
3. if the masking symbol instance is the bottom object, all the objects containing the mask show up as the masking symbol plus i get an instance of the mask in the bottom left corner of the document
4. if i make a symbol out of the blue squares then i can duplicate the symbol without it disappearing, but all symbols disappear in the pdf if an instance of the mask exist in the bottom most layer of the document.
you can test this situations by changing the layer order of the objects in my document and looking at the icon preview.
it seems like if i use a symbol as a mask, instances of that symbol can't exist in the same space.
i know some of you may ask "why do you want to do this?"
i deal with very complicated patterns and clients want to see them rendered out in different materials with shadows etc.

Similar Messages

  • Video and audio players will not show in Firefox. Players show in Safari and Chrome. (Mac computers). Do I need a plug-in?

    Tested on 3 apple mac computers:
    Mac Pro, Mini Mac and Macbook Pro.
    Each computer running Mountain Lion and Firefox 11.8.800.94
    Video and audio players not showing on website (video player is JWPlayer)
    Error on video player placeholder says 'No video with supported format and MIME type found'
    When the same site is access via either Chrome or Safari then the video and audio players show with all of the controls.

    You get this error if the video tag is used and not an object or embed tag that specifies a Flash player.<br />
    So this doesn't look like a problem with the Flash player as it is most likely not used in this case.<br />
    If there is fall back code to use a Flash player then it isn't working.
    Clear the cache and the cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox > Preferences > Privacy > Cookies: "Show Cookies"

  • Email disappeared from Mac Mail.

    Hello. Email has disappeared from Mac Mail. Running last updated Mavericks. I went back in the time machine settings to revert to the day before the mail disappeared, and each time I go in there, I can see the mail showing up. Except, when I go to revert, nothing transfers back into the account. Any advice on what is going on and how to fix it? Years of mail are now "gone."

    Okay, there is definitely an error message coming up in the log. I only selected a few messages from 2008 to restore. I selected just one of the error log messages I received (essentially one for each email it tried to restore). Thanks for all your help. As an aside, if it helps you to respond, I've just started a computer science degree, so I'm starting to feel my way around this stuff, but have a good cursory understanding. Not to say that your directions aren't just succinct and perfectly laid out!
    9/23/14 7:16:07.421 PM Mail[3178]: *** Assertion failure in -[DateCell _initDateFormatter], /SourceCache/Mail/Mail-1878.6/Mail/Mail/MessageList/RowUI/DateCell.m:475
    DateCell requires its date formatter to have 10.4 behavior
        0   MailCore                            0x00007fff89ad08bc -[MCAssertionHandler _handleFailureWithPreamble:description:arguments:] + 141
        1   MailCore                            0x00007fff89ad072d -[MCAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 215
        2   Mail                                0x0000000100f1fe0f Mail + 97807
        3   Mail                                0x000000010104b51b Mail + 1324315
        4   AppKit                              0x00007fff925bd9f0 -[NSTextFieldCell init] + 31
        5   Mail                                0x00000001010fdc23 Mail + 2055203
        6   Mail                                0x00000001010fe096 Mail + 2056342
        7   Foundation                          0x00007fff8c017dbe -[NSObject(NSKeyValueCoding) setValue:forKey:] + 389
        8   AppKit                              0x00007fff925e2f0d -[NSObjectParameterBinder _updateObject:observedController:observedKeyPath:context:] + 1298
        9   AppKit                              0x00007fff925d9f08 -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 652
        10  Mail                                0x00000001010f2e21 Mail + 2010657
        11  Mail                                0x00000001010f3cba Mail + 2014394
        12  Mail                                0x0000000101139bfb Mail + 2300923
        13  Mail                                0x000000010113aaff Mail + 2304767
        14  Mail                                0x000000010113af62 Mail + 2305890
        15  Foundation                          0x00007fff8c035784 __NSFireTimer + 96
        16  CoreFoundation                      0x00007fff880973e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
        17  CoreFoundation                      0x00007fff88096f1f __CFRunLoopDoTimer + 1151
        18  CoreFoundation                      0x00007fff881085aa __CFRunLoopDoTimers + 298
        19  CoreFoundation                      0x00007fff880526a5 __CFRunLoopRun + 1525
        20  CoreFoundation                      0x00007fff88051e75 CFRunLoopRunSpecific + 309
        21  HIToolbox                           0x00007fff8884ba0d RunCurrentEventLoopInMode + 226
        22  HIToolbox                           0x00007fff8884b7b7 ReceiveNextEventCommon + 479
        23  HIToolbox                           0x00007fff8884b5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
        24  AppKit                              0x00007fff9255124e _DPSNextEvent + 1434
        25  AppKit                              0x00007fff9255089b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
        26  AppKit                              0x00007fff9254499c -[NSApplication run] + 553
        27  AppKit                              0x00007fff9252f783 NSApplicationMain + 940
        28  libdyld.dylib                       0x00007fff86fdd5fd start + 1

  • Airport can not be activated. Other mac computers in home all function properly using my apple router.

    How can I get airport activated?
    Software Versions:
      Menu Extra:          6.2.2 (622.2)
      configd plug-in:          6.2.5 (625.6)
      System Profiler:          6.0.1 (601.1)
      Network Preference:          6.2.2 (622.2)
      AirPort Utility:          5.5.3 (553.20)
      IO80211 Family:          3.2 (320.1)
      Interfaces:
    en1:
      Card Type:          AirPort Extreme  (0x14E4, 0x8C)
      Firmware Version:          Broadcom BCM43xx 1.0 (5.10.131.42.4)
      Locale:          FCC
      Country Code:          X0
      Supported PHY Modes:          802.11 a/b/g/n
      Supported Channels:          1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165
      Wake On Wireless:          Supported
      Status:          Off     I check it ON in airport utility and Nothing happens, airport stays OFF
    My other mac computers in home still have wireless contact with my network.

    You do realize you don't turn on Airport on your MacBook Pro with Airport Utility???  You actually turn it on on the menu bar.  There should be an icon that looks like a V with a semicircle on top.  Click on that, and turn WiFi on.  Or you can go into System Preferences>Network, click on Wi-Fi on the left hand side, then turn on Wi-Fi. 

  • Mac computers in the office are not able to connect to our exchange server.

    We started facing this problem about a month ago in our office where the apple computers can not connect to the exchange server via outlook or applemail or anything for that matter. All the other computers can connect to the exchange server with no problems
    and the apple computers can even access the exchange server via OWA but the outlook and applemail apps would not connect to exchange. We have tried even deleting and re-creating some accounts on the apps but they still would not connect. At this point I am
    at a complete loss and I looked everywhere through google to find out if anyone else has faced this problem but to no avail.
    A little background information. This specific problem started happening after there was an un-expected series of power outages to the servers and they were shut down un-expectedly. I personally restored the servers and turned on all the services and made
    sure everything was up and running after the power outages and everything was working fine. Also the first instance of the problem with the mac computers only happened two days after the servers were back up and running again and they had no issues in those
    two days.
    Right now we do not have that many mac users in our offices (only 3-4 users) and I have instructed them to use the OWA in the meanwhile but it is however an inconvenience to them. By now you may have realized that I am not a very experienced server admin
    and I would really really appreciate any help. I extend my thanks in advance for any insight.

    Hi Martin,
    Thanks for the reply.
    Right now I have Apple mail and Outlook installed on my mac laptop and both the applications do not connect to the exchange server. Apple Mail simply does a long process when I give my credentials to create my account and then it gives an error saying it
    could not find the server while outlook quickly tells me that either the username or password is incorrect. At the same time I can connect to the server through outlook on my windows computer without any problems whatsoever.
    From your reply, I gather that the VIA headers only affect Apple mail and should not affect Outlook app on the mac but right now, neither apps are connecting to the exchange server.
    Either way I am trying to find out how to remove the VIA headers because it does not seem that we are using Kemp on the exchange server. Right now I do not have the in depth knowledge that I need because I was not involved in the implementation of our server
    system, that was taken care of by a service provider and I was put in charge of mostly simple admin work. Now we are out of contract with the service provider so  pretty much everything has fallen onto my shoulders.
    If possible, would you mind pointing me in the right direction to finding out if I am using a L7 load balancer and how I would go about removing the VIA headers?

  • Multiple Mac computers and iOS devices

    We're now a 100% apple household with 3 computers running OS X Lion, 3 iPhones and an iPad all on iOS 5.
    ALL of our files (music, movies, photos) are on one of the computers and I'm wondering how this is going to work with the other 2 Mac computers.  Let's say I transfer pictures from my digital camera via computer #1, will iCloud automatically push the photos to computer #2 and #3?  All 3 computers will be using the same apple ID, so will iPhoto have the exact same library on all 3 computers?  If I burn a CD into itunes will it show up on all 3 computers?  Safari bookmarks, etc?  Basically, I want all 3 computers to look the exact same.  I can figure out the iPhones and iPad, but the last thing I want is 3 separate iPhoto libraries all with different pictures, itunes songs scattered among computers, etc
    Also, I have computer #1 backed up with Time Machine via an external 500GB Seagate hard drive.  Will I have to back up each computer separately?  Would I be better off with a Time Capsule rather than this option? 
    Sorry for all the questions, but I just wanna make sure I do this right.

    wasupdu wrote:
    Will I have to back up each computer separately?
    Yes.
    Would I be better off with a Time Capsule rather than this option?
    That depends on what sort of Macs you have, your setup, and (of course) your budget.  See #33 in Time Machine - Frequently Asked Questions.

  • How can I make multiple backups for other mac computers?

    I have multiple mac computers and I need to know how to make separate backup disks for them.

    http://pondini.org/TM/33.html
    Related thread here from a year ago
    Multiple Time Machine Backups On A Single NAS Device

  • How can I sync Mail database between MAC computers without using IMAP

    All, I know this has been asked several times in several forums but I wish to ask it again with a slight twist. The normal question is can I sync  Apple mail database (folders) between two MAC computers. The answer is always use IMAP, but unfortunately IMAP is limited on space to store historical emails. I keep mailboxes (on_my_mac) with thousands of emails and attachments that take up a massive amount of space, well beyond any IMAP server allowances. I keep these in order to search conversations that span over many months and sometimes years.
    I use GoodSync to sync my normal folders from my MAC Book Pro and my Mac Pro desktop so that I can have the same information (in real time) when working from home on my big machine or at the office using the laptop. This is great except I can not sync the email. I use Outlook 2011 but would prefer to use apple mail if I can sync the two computers (Sync'ing Outlook 2011 is even more impossible).
    I also do not want to start and stop my email clients to make this happen and worry about which MAC is running mail and what direction to copy the entire folder structure just to have to follow that up with a new re-build of the index.
    Has anyone came up with a viable solution this this problem. Also keep in mind the amount of data - Cloud based solutions are dependent on Internet connection speed (days of initial transfer time and hours to sync) and if I am on my laptop without internet connection, say on an airplane, I would be out of luck so I need the information local on each computer.
    Hopefully someone has some ideas, or maybe Apple can take a request for enhancement to Mail to support syncing multiple computers.

    I assume that this is a POP system then.
    There is no reliable method of syncing the Mail database between 2 Macs. Just how many Gigabytes of Mail do you have?

  • I just purchase a brand new mac computer and I need to purchase new adobe CS software. Do you know if Adobe CS5 Design Premium-MAc is compatible with new mac computers with the updated software?

    I just purchase a brand new mac computer and I need to purchase new adobe CS software for work. Do you know if Adobe CS5 Design Premium-Mac is compatible with new mac computers with the updated Yosemite software? *No previous adobe CS software versions are on this computer

    There are known technical issues with any older version on Yosemite, even CS6. Some can be worked out, others may not be relevant to you, some will remain unsolved.
    Mylenium

  • I am fairly new to using Mac computers, I would like to know how to uninstall drivers, software and other things I might install on my computer. With a PC it's really easy, you just go to the control panel.

    I am fairly new to using Mac computers, I would like to know how to uninstall drivers, software and anything else I may install on my computer. With PC it's very easy, you go the control panel, locate what you want to uninstall and with a few clicks it's done. Can someone please help me? Thank you.

    See these:
    Switching from Windows to Mac OS X,
    Mac Basics—Tutorials on using a Mac,
    Mac OS X keyboard shortcuts,
    Apple How-To Guides for Mac OS X,
    Anatomy of a Mac,
    MacTips,
    Switching to Mac Superguide, and
    Switching to the Mac: The Missing Manual, Mavericks Edition.
    Additionally, *Texas Mac Man* recommends:
    Quick Assist,
    Welcome to the Switch To A Mac Guides,
    Take Control E-books, and
    A guide for switching to a Mac.

  • I have an HP Laserjet 5m monochrome printer that I have used for years with our three Mac computers

    HP Laserjet 5m monochrome printer C3917A (1997)
    Operating system: OSX 10.7.4
    Error message: Printer busy
    No known changes made to system or configuration
    I have an HP Laserjet 5m monochrome printer that I have used for years with our three Mac computers (two on OS X Lion and one on  Leopard). I'm using ethernet to connect to a router and then my computer (although I have also tried to connect directly to no avail.) We went away for 2 weeks, returned and got “Printer busy” for all 3 computers. I reset the printer to factory settings. Same problem. By the way, the printer says READY. I then went to System prefs and clicked ‘–‘ in the Print & Scan section to remove the printer. When I tried to add back the printer, nothing shows up. I now remember that this may be because the means of communicating with the printer has now changed and that I had found the printer by somehow adding its address settings (or something). Can anyone help me to reconnect with the printer? 
    This question was solved.
    View Solution.

    Download and install this: http://support.apple.com/kb/DL907
    Reset the printing system:
    - Go to System Preferences > Print & Scan
    - Right (or control) click in the rectangle listing your printers and select Reset Printing System.
    WARNING - this will delete ALL of your printers!
    - Select the plus sign to re-add a printer. Select the Defualt tab on the top of the window. Look for the printer, select it and wait until the "Add" button becomes available. Click it.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • I own and work on two Mac computers.. a MacBook Pro and an iMac. Am I required to "purchase" the one-time in-App purchase of $4.99 TWICE, one for each computer..??

    I own and work on two Mac computers.. a MacBook Pro (dual core, 3.06GHz, 8 GBs RAM) and an iMac ((dual core, 3.06GHz, 4 GBs RAM). Am I required to "purchase" the Garageband one-time in-App purchase of $4.99 TWICE, one for each computer..??

    The answer to your question is not about the GarageBand content but the concept of downloading any apps (or in-apps purchases) from the app store. The Key is your Apple ID.
    Whenever you download an app (it doesn't matter if you pay for the app or if it is free) you have to to be logged in to the App Store with a valid Apple ID. That becomes your "Online License". Whenever you are logged in to the App Store with that Apple ID you will see your Purchase History, what apps you downloaded and also what apps have updates available. As you see, this procedure is independent from your actual computer. The App Store is only interested in your Apple ID for verification.
    To download an app or content on a different computer, just make sure you are logged in to the App Store with the same Apple ID you did for the initial purchase.
    The button will now display (instead of Free or the price tag) "Install" because the App Store knows that you purchased the item before (with that Apple ID) and that you computer you are on at the moment oesn't have th app installed. Just click the "Install" button to download the app.
    Here is how the Button looks like depending on the condition.
    The same principle applies to in-app purchases. With GarageBand, when you try to restore Purchases, make sure you are logged in in the Apple Store with the Apple ID you made the original purchase.
    One more thing: You don't need to be logged in to actually run an app, only for online activities (downloads, updates)
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • The system doesn't recognize or capitalize the word (I) or the first word of every sentence. Another really annoying thing about the integrated mail on your Mac computers is the fact that the system learns the word as you type it more and more instead of

    The system doesn’t recognize or capitalize the word (I) or the first word of every sentence. Another really annoying thing about the integrated mail on your Mac computers is the fact that the system learns the word as you type it more and more instead of highlighting it as incorrectly is this is a word that’s being misspelled. Can Apple fix this bug to make it user friendly as if you were using Office or a Word Document?

    You hit the target CT.
    It’s only fair that if Apple is going to integrate Mail into Mac PCs, it would be nice if the system does it for you like Office or perhaps Outlook. I just don’t to use Outlook although I have it installed and ready to use, but instead use Mail which comes with Mac OS already.
    I hope to make some sense here.

  • Two Mac Computers and Time Capsule can't network all

    I have two Mac computers, a Mac Mini and a MacBook Pro. I also have a Time Capsule. For some reason I can only connect from my Mac Mini to the MacBook Pro, but not from the MacBook Pro to the Mac Mini. On the MacMini, when I go to Go menu in the finder and then Network, I see the Time Capsule and the MacBook Pro. If I want to go the other way MacBook Pro to the MacMini all I see when I go to Go menu in the finder and then Network, is the Time Capsule. I have searched all over the internet to find an answer to fix the problem but I have not found anything. Help! Please.

    Well, I wrote my question at 2am after hours of experimentation. The next day all seems well. It seems changing the broadcast frequency worked, but they needed time to decide they liked each other. I wish I'd known that 6 months ago! It was weird because when I first plugged the time capsule on this time it seemed the MacBook detected it just fine. Then I worked to get the internet connection going and it all went sideways. Very mysterious. Thanks for reading.

  • Mac computers - FF 29.0 and 30.0 does not display the video layer in the Revolution Slider section of WordPress site. Why?

    Mac computers - FF 29.0 and 30.0 does not display the video layer in the Revolution Slider section of WordPress site. Why?
    We prepared simple Word Press web site. We used a Revolution slider plugin with HTML5 video layer. It works properly on Chrome, Safari, older Mozilla FF.
    But we had a problem on PC computers with FF 29.0 30.0 – after reinstall of browser everthing seems to be OK. The slider works. Unfortunately even the reinstallation on Mac computers does not help. There is no visible video on Mac FF 30.0.
    We are looking for some information what we can do to solve this problem. Could you help?

    Can you play the video on YouTube?
    *http://www.youtube.com/watch?v=Ugh2YvHU7D0#t=58
    Note that Mac lacks support to play MP4 files natively without using a Flash player.

Maybe you are looking for

  • Apple tv + project viewable size is small

    Hello! If I plug my iPad into the projector using the vga cord, I get a full size image.  When I switch to the apple tv using hdmi, I get a full size image.  However, when I then do airplay wirelessly through the apple tv with my iPad, it is no long

  • Cannot drag Quicktime file to flash drive or burn to DVD. Help!

    I just finished a project in FCP. I exported it in QT format, and then created an iDVD project with it. Looks great. I've burend several DVD's, everything is fine. The movie file is 14.2 GB in size. Now, I need to drag the .mov file to a flash drive

  • Making my logic double on 2 Mac's

    I have been doing all my work up to now on my powermac G5. But will need to continue the same projects on my Powerbook soon. Of course the PB hasnt the Hard Drive space to accomodate my needs so whats the best route? Senario: I work on tracks on the

  • Codec error from photoshop using fade in with final cut pro

    I'm trying to render a video, but i get the error "codec error" The clips are actually still layers coming from photoshop cs2. The rendering 'breaks' when i try to add a video transition- fade in. It still doesn't allow rendering even if i use the mo

  • Iphone 5c turns itself off and won't turn on until plugged in

    I just received my replacement iPhone 5c and it worked fine the first night, the next day, the phone turned itself off, and would not let me turn it back on. I tried the reset option by holding down the lock and the home buttons, but that did not wor