apache / apache/netbeans

nb platform projects won't run unless build is executed first

Open
#4,315 5 comments 0 reactions 0 assignees View on GitHub
kind:bug Maven Platform
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 14

### What happened

![image](https://user-images.githubusercontent.com/15821889/176987268-2be1bfc6-0401-4776-8be7-da26a208286b.png)
Can't build new empty project. But directly from maven build was done without errors by package goal.

![image](https://user-images.githubusercontent.com/15821889/176987409-60357b0d-86be-41d0-84c5-a054a98bd487.png)

### How to reproduce

Don't know.

1. Create new netbeans platform project
2. Choose from project menu "Run"

Problem is resolved after making clean & build and when Run

### Did this work correctly in an earlier version?

No

### Operating System

Windows 10 21H1

### JDK

17.0.1; Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39

### Apache NetBeans packaging

Apache NetBeans provided installer

### Anything else

_No response_

### Are you willing to submit a pull request?

No

### Code of Conduct

Yes

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by creating a new NetBeans Platform project on Apache NetBeans 14 with JDK 17, then choosing Run before and after Clean & Build. Compare the two outcomes; done means a newly created project runs directly without requiring a prior build.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.