This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 247185 - Cannot select registered Java Platform in Maven project, inherited Maven project has error hint for missing platform
Summary: Cannot select registered Java Platform in Maven project, inherited Maven proj...
Status: RESOLVED INCOMPLETE
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-16 23:32 UTC by bht
Modified: 2014-09-24 12:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bht 2014-09-16 23:32:43 UTC
I just upgraded from 8.0 to 8.01. I noticed that an existing project that was fine before, has an error hint:

'There is no Java Platform with value "JDK_1.6" defined in the current IDE. The default platform is used instead. To fix, introduce a Java Platform with the given name or change the projects used Java Platform.'

Then I created a new maven project to see how to get the JDK 1.6 into it.

In the Project Properties|Build|Compile|Java Platform list box there is only a single entry JDK 1.7 (Default) but when I click on the button "Manage Platforms" then this shows both JDK  1.6 and JDK 1.7.

How can this be resolved?
Comment 1 Tomas Stupka 2014-09-19 16:03:49 UTC
added some logging, perhaps it will provide some insight 

once it is announced in this issue, that it was integrated into the daily
builds, please get a build, reproduce the issue and attach your messages.log

thanks
Comment 2 bht 2014-09-21 21:21:21 UTC
Tomas, I re-tried this using the current 8.01 (platform independent zip) version, and it worked. It looks like this is a transient issue after first installation. I noticed a somewhat vertically compressed "Java Platform" list box in the project properties dialog, but I doubt that this was the issue as it is still as compressed as it was when the platform was missing. Will re-open if I can catch this again. Many thanks.
Comment 3 Quality Engineering 2014-09-24 12:49:56 UTC
Integrated into 'main-silver', will be available in build *201409241121* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1eb4e91adafc
User: Tomas Stupka <tstupka@netbeans.org>
Log: more logging

Issue #247185 - Cannot select registered Java Platform in Maven project, inherited Maven project has error hint for missing platform