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 267499 - AssertionError at org.openide.awt.HtmlRendererImpl.reset
Summary: AssertionError at org.openide.awt.HtmlRendererImpl.reset
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-09 09:31 UTC by badpenguin
Modified: 2016-08-10 01:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 224476


Attachments
stacktrace (9.46 KB, text/plain)
2016-08-09 09:31 UTC, badpenguin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description badpenguin 2016-08-09 09:31:52 UTC
Build: NetBeans IDE Dev (Build 201607270002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: php project from remote server

GUEST: While trying to connect to a remote project (connection was successfully tested) the error occours

GUEST: creating a new php project from remote server

badpenguin: connecting sftp server to create project

GUEST: new project from remote server
window - 4. confirmation

GUEST: downloading remote sources for new project

GUEST: Attempting to connect to web server via FTP. 
I suspect this is the ongoing java ftp problem. From other applications I can successfully connect via FTP with explicit TLS.
It was not passing the ftp test. Then I accidentally hit the wrong button, then back, hoping I could continue testing the connection, but it just started trying to communicate, then the error.

GUEST: creating a php project from remote server

GUEST: Connect to SFTP using password

GUEST: Just create remote FTP project and try connect to FTP

GUEST: Creating new application from server




Stacktrace: 
java.lang.AssertionError
   at org.openide.awt.HtmlRendererImpl.reset(HtmlRendererImpl.java:103)
   at org.openide.awt.HtmlRendererImpl.getTreeCellRendererComponent(HtmlRendererImpl.java:147)
   at org.openide.explorer.view.NodeRenderer.getTreeCellRendererComponent(NodeRenderer.java:156)
   at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2807)
   at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492)
   at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(VariableHeightLayoutCache.java:1360)
Comment 1 badpenguin 2016-08-09 09:31:54 UTC
Created attachment 161600 [details]
stacktrace
Comment 2 Martin Entlicher 2016-08-09 12:54:52 UTC
PHP should not instantiate UI classes in a non-EQ thread.
(See issue #267368 and issue #267461).
Comment 3 Tomas Mysik 2016-08-09 13:41:56 UTC
Should be fixed now. Thanks.

http://hg.netbeans.org/web-main/rev/94688e5a505c
Comment 4 Quality Engineering 2016-08-10 01:54:17 UTC
Integrated into 'main-silver', will be available in build *201608100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/94688e5a505c
User: Tomas Mysik <tmysik@netbeans.org>
Log: #267499 - AssertionError at org.openide.awt.HtmlRendererImpl.reset