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 218274 - NPE when trying to remove just added property which is not yet applied to the source
Summary: NPE when trying to remove just added property which is not yet applied to the...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-13 10:32 UTC by augcampos
Modified: 2012-10-10 11:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192388


Attachments
stacktrace (3.20 KB, text/plain)
2012-09-13 10:32 UTC, augcampos
Details
stacktrace (3.20 KB, text/plain)
2012-09-17 10:53 UTC, Vladimir Riha
Details
stacktrace (3.20 KB, text/plain)
2012-10-01 10:20 UTC, Vladimir Riha
Details
stacktrace (3.20 KB, text/plain)
2012-10-10 11:59 UTC, kamon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description augcampos 2012-09-13 10:32:50 UTC
Build: NetBeans IDE Dev (Build 201209130001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b10
OS: Linux

User Comments:
augcampos: on a css file remove the property(bt dir -> remove property) "Alignment-adjust"




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.css.visual.actions.RemovePropertyAction$1.run(RemovePropertyAction.java:85)
   at org.netbeans.modules.css.model.api.Model$2.run(Model.java:232)
   at org.openide.util.Mutex.writeAccess(Mutex.java:474)
   at org.netbeans.modules.css.model.api.Model.runWriteTask(Model.java:229)
   at org.netbeans.modules.css.visual.actions.RemovePropertyAction.actionPerformed(RemovePropertyAction.java:79)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
Comment 1 augcampos 2012-09-13 10:32:52 UTC
Created attachment 124291 [details]
stacktrace
Comment 2 augcampos 2012-09-13 10:35:39 UTC
On Rule editor do a right buton click and select "remove property" popup menu
Comment 3 Marek Fukala 2012-09-13 11:05:35 UTC
I reckon this has happened on a property added just before you did the remove?
Comment 4 augcampos 2012-09-13 11:43:41 UTC
I think so 
(In reply to comment #3)
> I reckon this has happened on a property added just before you did the remove?
Comment 5 Vladimir Riha 2012-09-17 10:53:13 UTC
Created attachment 124444 [details]
stacktrace

trying to remove property from RE of running page
Comment 6 Vladimir Riha 2012-10-01 10:20:13 UTC
Created attachment 125135 [details]
stacktrace

I tried to invoke Remove Property action in RE
Comment 7 Marek Fukala 2012-10-05 08:14:29 UTC
web-main#ac4ac4629177
Comment 8 Quality Engineering 2012-10-06 02:01:18 UTC
Integrated into 'main-golden', will be available in build *201210060002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ac4ac4629177
User: Marek Fukala <mfukala@netbeans.org>
Log: #218274 - NPE when trying to remove just added property which is not yet applied to the source
Comment 9 Exceptions Reporter 2012-10-06 18:44:14 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=192388
Comment 10 kamon 2012-10-10 11:59:15 UTC
Created attachment 125681 [details]
stacktrace