Aрpellant Scott Buethe appeals from the district court’s order granting appellee Britt Airlines’ motion for summary judgment. The district court held that Buethe failed to state a cause of action for his allegedly wrongful termination by Britt both under the Federal Aviation Act, 49 U.S.C. §§ 1301 et seq., and under Indiana law. We reverse the district court’s order with respect to the state law claim and remand for consideration of whether juris *1237 diction over the state law claim can properly be exercised in this case. 1
I. BACKGROUND
Scott Buethe was employed by Britt Airlines, Inc. (“Britt”) as a part-time co-pilot from March 25, 1979, to June 23, 1980, when he was discharged. During his employment, Buethe was an hourly employee who had no written employment contract with Britt.
Buethe alleges that he was wrongfully discharged by Britt Airlines because of two separate incidents during the spring of 1980 when Buethe refused, because of alleged defects in the aircraft, to fly the aircraft to which he was assigned. The first of these incidents took place on March 10, 1980, when Buethe refused to fly a plane carrying thirteen commercial passengers from Chicago’s O’Hare International Airport to Terre Haute, Indiana because of a problem with the plane’s “auto-feather system.” The pilot in command of that flight, Captain Ralph Swanson, allegedly wanted to proceed with the flight notwithstanding the mechanical problem, which would have violated Federal Aviation Administration (“FAA”) regulations. Buethe’s refusal to fly the plane forced Britt to cancel the flight, whereupon Captain Swanson and Buethe ferried the plane back to Terre Haute, without passengers, for repairs.
After arriving in Terre Haute, Captain Swanson reported to William Cummings, the Director of Operations at Britt, that Buethe had pre-erilpted the decision of the pilot in command concerning the flight cancellation by refusing to fly before Swanson had an opportunity to evaluate the situation. Buethe claims that several days after the March 10 incident, Cummings told him that “whenever a flight is cancelled, it costs the company a great deal of money, and that makes the company unhappy when they lose money.”
The second incident occurred in Terre Haute on April 20,1980, and again involved Captain Swanson as Buethe’s pilot in command. Buethe noticed during a pre-flight inspection of the plane that a problem with the wing flaps was noted in the plane’s log, and as the plane was taxied from the hangar to the terminal the fire warning system was found to be defective. After checking to see whether the warning light was a required item on the Minimum Equipment List, Buethe told Swanson that he “would not fly the aircraft in that condition.” Buethe felt that Captain Swanson intended to proceed with the flight in spite of the mechanical problems because he taxied the plane to the terminal for passengers to board, went inside the terminal, and checked passenger loads for the flight. Swanson allegedly tried to obtain another co-pilot to replace Buethe but was unsuccessful. Swanson then called maintenance, and after a delay of severаl hours the plane was repaired and the flight proceeded.
On June 23, 1980, Buethe was terminated by Jack Ward, Britt’s chief pilot. According to Buethe, Ward called him to his office and asked him what right he had to refuse to fly the aircraft on those two occasions when Swanson was the pilot in command. Ward also allegedly told Buethe that wing flaps were not necessary for the type оf flying done by Britt and that a co-pilot should keep his eyes open and his mouth shut. Ward then terminated Buethe and told him he would never again fly for Britt as long as Ward was the chief pilot there.
Immediately thereafter, Buethe discussed his termination with William Britt, the company president, who agreed to review the matter. Mr. Britt later informed Buethe that he had considered the matter and had decided nоt to override Ward’s decision.
In July 1980, shortly after his discharge, Buethe contacted the FAA and alleged that he had been terminated for refusing to fly aircraft with inoperative items. Appendix (“App.”) at 38. The FAA conducted an investigation of Britt’s operations but concluded that no enforcement action was warranted. App. at 41.
*1238 Buethe filed the present action against Britt in Indiana stаte court on November 25, 1980, alleging wrongful and retaliatory discharge and asking for compensatory damages, attorney’s fees under the “private attorney general concept,” and punitive damages “to punish and to deter defendant from flying routes in violation of the restrictions and requirements of the FAA.” App. at 15-16. The case was subsequently removed to the United States District Cоurt for the Southern District of Indiana pursuant to 28 U.S.C. § 1441 (1982), because of the complaint’s allegations of Federal Aviation Act violations. Record (“R”) 2.
Britt moved for summary judgment on August 18, 1981, on the ground that Buethe’s complaint “fail[ed] to state a claim upon which relief [could] be granted.”
2
On January 5, 1984, the district court granted Britt’s motion for summary judgment.
Buethe v. Britt Airlines, Inc.,
II. ANALYSIS
The threshold issue in this case is whether the district court had subject matter jurisdiction over Buethe’s state law claim once his federal claim was dismissed.
3
The essence of the state law claim is as follows: Although the general rule in Indiana is that an employee at will can be terminated at any time for any cause whatsoever, or for no cause at all,
see Mead Johnson & Co. v. Oppenheimer,
Our disposition of this appeal is somewhat hindered by the record’s dearth of information on certain key points. First, Buethe has asserted for the first time in these proceedings that there is diversity between the parties to this lawsuit,
see
Brief of Appellant at iii, which would confer federal jurisdiction over the state law claim under 28 U.S.C. § 1332(a)(1) (1982).
*1239
Nothing in the record supports or refutes Buethe’s allegation of diversity. Thus, the district court on remand may, in its discretion, permit Buethe to amend his complaint so as to establish that there was in fact divеrsity between Buethe and Britt Airlines at the time this action was commenced and that the amount in controversy exceeded $10,000.
See Seagraves v. Harris,
Assuming that there was no diversity between the parties to this action, the next step in the search for federal jurisdiction is to see whether there is independent federal question jurisdiction over Buethe’s state law claim. The federal courts have federal question jurisdiction only over civil actions “arising under the Constitution, laws, or treaties of the United States.” 28 U.S.C. § 1331 (1982). Although nothing in Buethe’s complaint suggests that his state law claim arises under the laws of the United States, we will nonetheless address the issue briefly. It could be argued that there is federal question jurisdiction over Buethe’s claim of unlawful discharge beсause in order to prevail under Indiana law, Buethe may have to prove that he had a federal duty not to fly a plane with inoperative items, which would put the court in a position to decide issues of federal law. The problem with this argument is that a claim does not arise under federal law merely because a state law incorporates federal law by reference.
See Louisville & Nashville R.R. Co. v. Western Union Telegraph Co.,
Since there is no federal question jurisdiction over Buethe’s state law claim, the next inquiry is whether the district court properly retained pendent jurisdiction over the state law claim once it dismissed Buethe’s federal claim.
4
The doctrine of
*1240
pendent jurisdiction gives a federal court power to hear a claim that has no independent basis for federal jurisdiction if the claim derives from a “common nucleus of operative fact” with a federal claim that is substantively sufficient to confer subject matter jurisdiction on the court.
United Mine Workers of America v. Gibbs,
[njeedless dеcisions of state law should be avoided both as a matter of comity and to promote justice between the parties, by procuring for them a surer-footed reading of applicable law. Certainly, if the federal claims are dismissed before trial, even though not insubstantial in a jurisdictional sense, the state claims should be dismissed as well.
Gibbs,
Another faсtor arguing against the retention of this state law claim in the federal courts is the fact that the claim raises issues of first impression in Indiana. For example, a key question in this case is whether the
Frampton
exception to the employment at will doctrine applies when the source of the right or duty is federal rather than state law. In the absence of any state law precedent оr guidance on the issue, federal courts in Indiana have independently reached inconsistent conclusions.
Compare Buethe v. Britt Airlines, Inc.,
In a case similar to Buethe’s, the Second Circuit agreed that there was no federal jurisdiction ovеr a pendent state law claim once the federal claims were dismissed.
See Pavolini v. Bard-Air Corp.,
there is no proper basis fоr federal jurisdiction here. Since federal courts are courts of limited jurisdiction, Pavolini’s remedy, if any, lies in the state courts, which have traditionally exercised jurisdiction over controversies between employers and employees and where Pavoli-ni still has an action pending.
Id. at 148 (footnotes omitted). The reasoning of the Second Circuit is equally applicable here. Buethe will be free to pursue his claim of unlawful discharge in the state courts, where he originally brought this suit, if the claim is dismissed without prejudice by the district court on remand. 8
*1242 III. CONCLUSION
The district court on remand should first determine whether there is federal diversity jurisdiction in this case. If not, the court should decide whether the Indiana state courts would be the more appropriate forum for the resolution of Buethe’s state law claim in light of the fact that the federal claim was dismissed on a motion for summary judgment and that the claim of unlawful discharge raises novel and unsettled questions of Indiana law. Accordingly, we reverse the district court’s grant of summary judgment on Buethe’s state law claim and remand to the district court for consideration of the jurisdictional issues as directed in this opinion.
Notes
. Buethe does not contest the district court’s disposition of his federal claim.
. The district court properly treated this ambiguous motion as a motion for summary judgment under rule 56 of the Federal Rules of Civil Procedure rather than as a motion to dismiss for failure to state a claim upon which relief can be granted under rule 12(b)(6) because matters outside the pleadings were presented to and considered by the court.
See Buethe v. Britt Airlines, Inc.,
. Although the parties did not address this issue, it is axiomatic that subject matter jurisdiction cannot be waived, and that courts must raise the issue
sua sponte
when it appears that subject matter jurisdiction is lacking.
See
Fed.R.Civ.P. 12(h)(3);
Gaunce v. deVincentis,
. The district court’s order does not indicate that the court ever paused to consider whether there was federal jurisdiction over the state law claim once it dismissed the federal claim on a *1240 motion for summary judgment. This silence forces us to conclude that the district court never exercised its discretion on this threshold issue.
.
See, eg., Jackson v. Byrne,
.
See Lyznicki v. Bd. of Educ.,
. It appears that the district court below was not made aware of the preceding decision in
Perry. See Buethe,
. Indiana law provides that if an action is commenced in a timely fashion and is subsequently dismissed for any reason other than negligence in its prosecution, then a new action may be brought within 5 years after the dismissal and be deemed a continuation of the first. IND. CODE § 34-1-2-8 (1982).
See Eves v. Ford Motor Co.,
