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 39117 - NPE when executing HTML or JSP outside webmodule
Summary: NPE when executing HTML or JSP outside webmodule
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: capSS
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-22 10:26 UTC by L Martinek
Modified: 2006-06-05 00:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed patch (1.50 KB, patch)
2004-01-29 09:57 UTC, capSS
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description L Martinek 2004-01-22 10:26:30 UTC
If you try to execute a JSP or HTML which is not
inside webmodule, exception is thrown. You can't
create a JSP outside webmodule in IDE, but you can
copy it or mount folder with JSPs. However you can
create HTML in IDE outside webmodule and execute
it (this is filled as another bug).
Comment 1 L Martinek 2004-01-22 10:34:44 UTC
I forgot the exception.

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
	at
org.netbeans.modules.j2ee.deployment.execution.ServerExecutor.execute(ServerExecutor.java:54)
	at org.openide.loaders.ExecutionSupport.start(ExecutionSupport.java:88)
	at
org.netbeans.modules.j2ee.deployment.execution.ServerExecSupport.start(ServerExecSupport.java:130)
	at org.openide.actions.ExecuteAction.execute(ExecuteAction.java:135)
	at org.openide.actions.ExecuteAction.execute(ExecuteAction.java:213)
	at org.openide.actions.ExecuteAction.access$100(ExecuteAction.java:41)
	at org.openide.actions.ExecuteAction$1.run(ExecuteAction.java:100)
	at org.openide.util.Task.run(Task.java:136)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:680)
Comment 2 capSS 2004-01-28 10:36:02 UTC
This bug is reproducible in current maintrunk
Comment 3 capSS 2004-01-29 09:57:52 UTC
Created attachment 13131 [details]
Proposed patch
Comment 4 capSS 2004-01-29 10:02:02 UTC
Fix commited to maintrunk
Comment 5 L Martinek 2004-02-04 13:39:41 UTC
verified