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 170309 - Cannot activate PHP
Summary: Cannot activate PHP
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-13 10:12 UTC by Sergey Petrov
Modified: 2010-05-24 13:25 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 155730


Attachments
stacktrace (3.07 KB, text/plain)
2009-08-13 10:12 UTC, Sergey Petrov
Details
stacktrace (3.07 KB, text/plain)
2009-08-13 10:41 UTC, Petr Jiricka
Details
stacktrace (3.07 KB, text/plain)
2009-08-13 11:07 UTC, Michal Mocnak
Details
stacktrace (3.07 KB, text/plain)
2009-08-13 14:43 UTC, martinhavle
Details
messages.log (111.21 KB, application/octet-stream)
2010-05-24 13:04 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2009-08-13 10:12:15 UTC
Build: NetBeans IDE Dev (Build 090813)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.27-14-generic, i386

User Comments:
sergeyp: clean, build, start ide.
not sure about message.log but as I know it should be attached automatically.



Stacktrace: 
java.lang.NullPointerException: Send us the messages.log please!
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.waitForDelegateWizard(DescriptionStep.java:253)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.access$000(DescriptionStep.java:84)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$1.call(DescriptionStep.java:100)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$1.call(DescriptionStep.java:96)
        at org.netbeans.modules.ide.ergonomics.fod.ConfigurationPanel$2$1.run(ConfigurationPanel.java:207)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Comment 1 Sergey Petrov 2009-08-13 10:12:21 UTC
Created attachment 86183 [details]
stacktrace
Comment 2 Sergey Petrov 2009-08-13 10:23:30 UTC
also activated java/java ee with new project wizard. and have wizard open.
after reopening got the same again.
after restart and attempt to go to Java category got another exception.
Comment 3 Sergey Petrov 2009-08-13 10:24:00 UTC
(I mean npe after actiovation, not just after startup)
Comment 4 Petr Jiricka 2009-08-13 10:41:17 UTC
Build: NetBeans IDE Dev (Build web-main-1363-on-090813)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.8, x86_64

User Comments: 
Creating a web project.

Stacktrace: 
java.lang.NullPointerException: Send us the messages.log please!
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.waitForDelegateWizard(DescriptionStep.java:253)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.access$000(DescriptionStep.java:84)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$1.call(DescriptionStep.java:100)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$1.call(DescriptionStep.java:96)
        at org.netbeans.modules.ide.ergonomics.fod.ConfigurationPanel$2$1.run(ConfigurationPanel.java:207)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Comment 5 Petr Jiricka 2009-08-13 10:41:22 UTC
Created attachment 86184 [details]
stacktrace
Comment 6 Petr Jiricka 2009-08-13 10:43:10 UTC
Very reproducible -> P2.
Comment 7 Michal Mocnak 2009-08-13 11:07:23 UTC
Build: NetBeans IDE Dev (Build 200908130201)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.8, x86_64

User Comments: 


Stacktrace: 
java.lang.NullPointerException: Send us the messages.log please!
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.waitForDelegateWizard(DescriptionStep.java:253)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.access$000(DescriptionStep.java:84)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$1.call(DescriptionStep.java:100)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$1.call(DescriptionStep.java:96)
        at org.netbeans.modules.ide.ergonomics.fod.ConfigurationPanel$2$1.run(ConfigurationPanel.java:207)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Comment 8 Michal Mocnak 2009-08-13 11:07:34 UTC
Created attachment 86186 [details]
stacktrace
Comment 9 Sergey Petrov 2009-08-13 11:41:58 UTC
the same with PHP activation
java, java me can be activated without npe
Comment 10 Sergey Petrov 2009-08-13 12:36:54 UTC
Is there any workaround? 
look like a P1 for me
Comment 11 Petr Jiricka 2009-08-13 12:46:40 UTC
The workaround is to delete the ergonomics cluster.
Comment 12 Sergey Petrov 2009-08-13 12:58:59 UTC
thanks, removed 'ergonomics1' from nb directry and able to create web project
Comment 13 martinhavle 2009-08-13 14:43:23 UTC
Build: NetBeans IDE Dev (Build 200908130201)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.28-14-generic, i386

User Comments: 
Occured when creating new php application from remote server at step 2 - Finnding feature (first thing after clean installation of IDE).

Stacktrace: 
java.lang.NullPointerException: Send us the messages.log please!
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.waitForDelegateWizard(DescriptionStep.java:253)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.access$000(DescriptionStep.java:84)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$1.call(DescriptionStep.java:100)
        at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$1.call(DescriptionStep.java:96)
        at org.netbeans.modules.ide.ergonomics.fod.ConfigurationPanel$2$1.run(ConfigurationPanel.java:207)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Comment 14 martinhavle 2009-08-13 14:43:28 UTC
Created attachment 86200 [details]
stacktrace
Comment 15 martinhavle 2009-08-13 16:16:22 UTC
In my opinion this should be fixed as soon as possible, since it is not possible to create new php projects when not
using the workaround...
Comment 16 Jaroslav Tulach 2009-08-13 17:42:10 UTC
Regression after a5e113c18545
Comment 17 Jaroslav Tulach 2009-08-13 17:43:15 UTC
or maybe because of 029ce979847c
Comment 18 Jaroslav Tulach 2009-08-13 17:55:03 UTC
ergonomics#8e7771c0fde6
Comment 19 Quality Engineering 2009-08-14 06:02:27 UTC
Integrated into 'main-golden', will be available in build *200908140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8e7771c0fde6
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #170309: In case there is templateWizardIterator prefer its non-null value over FeatureOnDemanWizardIterator
Comment 20 Jaroslav Pospisil 2010-05-24 13:04:03 UTC
Reproduced in NB 6.9 RC1 candidate (build 201005181742),Win Vista,JDK1.6.0_20
Started IDE with clean userdir and invoked new Maven Netbeans App - NPE occured during initial activation of components.
Attaching messages.log .
Comment 21 Jaroslav Pospisil 2010-05-24 13:04:52 UTC
Created attachment 99388 [details]
messages.log
Comment 22 Jaroslav Pospisil 2010-05-24 13:14:27 UTC
Issue is reproducible only from clean IDE - if I create any other project previously (Maven Quickstart Project,for example),nothing bad happens.
Comment 23 Jaroslav Pospisil 2010-05-24 13:25:42 UTC
Closing again,since exception reporter marked this as new issue 186604.Continuing to this issue.