Error updating settings: null

Bug #706623 reported by wiz on 2011-01-23
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Airport Utils
airport-utils (Ubuntu)

Bug Description

Binary package hint: airport-utils

I've connected to fresh Time Capsule and retrieved settings. However can't manage to upload anything.

Ubuntu 12.04, airport-utils 2-2, gcj-4.6-jre, retrieve settings well, but when try to update after any settings in message window appear error updating settings: null

Changed in airport-utils (Ubuntu):
assignee: nobody → (alexander-s-neverov)
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in airport-utils (Ubuntu):
status: New → Confirmed
Ivan Zakharyaschev (imz) on 2012-08-04
tags: added: 12.04 airport apple gcj java precise wifi wlan
Ivan Zakharyaschev (imz) wrote :

As I could understand, NullPointerException is thrown somewhere in the beginning of this piece of code:



    String password = communityField.getText();

    InetAddress hostAddress = InetAddress.getByName(hostIDField.getText());

    messagesArea.append("Updating settings to base station " + hostAddress + "......\n");



(before the message, and before the skipped updating code).

Actually, it would be more helpful (for the maintainers) not to catch just any exception (as now, in this block of code), but let exceptions fall through and print the backtrace.

Then it would be easier to see how to adapt this code to the new Java...

Ivan Zakharyaschev (imz) on 2012-08-05
Changed in airport-utils (Ubuntu):
assignee: (alexander-s-neverov) → nobody
Ivan Zakharyaschev (imz) wrote :

Also, there are cases when there is no workaround: say, if you are using an ARM computer with GNU/Linux, you can't use the Windows binary and wine...

So, this bug is really important to be fixed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers