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 92849

Summary: Error hyperlink opens the Flow view of VD
Product: javame Reporter: Lukas Hasik <lhasik>
Component: Visual DesignerAssignee: David Kaspar <dkaspar>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 68912, 110575    
Bug Blocks:    
Attachments: project with old and new visual midlets with compilation errors. Open in IDE, compile, click the hyperlinks in ow

Description Lukas Hasik 2007-01-19 14:57:43 UTC
mp070119 build. 

Steps:
1, create a VD document (VD2)
2, create a error in source code therefore the code cannot be compiled
3, close the file
4, restart
5, compile the project
6, click the error hyperlink in ow
7, Flow view opens

*the source view should open
Comment 1 Lukas Hasik 2007-01-19 15:00:18 UTC
Created attachment 37525 [details]
project with old and new visual midlets with compilation errors. Open in IDE, compile, click the hyperlinks in ow
Comment 2 David Kaspar 2007-06-07 15:00:20 UTC
This problem was in core or java infrastructure. Now it works.
Comment 3 Lukas Hasik 2007-06-07 15:46:45 UTC
I'm still able to reproduce it with nb6.0 070605 build. 
Please note that it happens ONLY when the Visual Midlet has NOT been opened in
Source view! Once you open the source view then the hyperlink goes to source view.

steps to reproduce:
1, Create new project, create new visual midlet
2, add waitscreen to the new visual midlet
3, in properties of the waitscreen open Task PE
4, provide a uncompilable "user code" - e.g. "nezkompilujes to"
5, build project
6, click the error hyperlink in OW

->nothing happens the VM is opened only in FD not in Source view -> reopening
Comment 4 Lukas Hasik 2007-07-09 09:54:39 UTC
milestone 10 finished already. Please reschedule the issue.
Comment 5 David Kaspar 2007-07-12 10:16:29 UTC
Planned for beta1.
Comment 6 David Kaspar 2007-07-23 12:54:44 UTC
The issue depends on #110575. There is no way to workaround it.
Comment 7 Lukas Hasik 2007-07-23 13:33:35 UTC
how come that it works for Matisse?
Comment 8 David Kaspar 2007-08-21 09:41:49 UTC
Fixed in main trunk using a work around:
switching to Source tab manually within "CloneableEditorSupport.getLineSet" method.
Comment 9 David Kaspar 2007-08-21 14:46:59 UTC
Reopening issue. The fix has been reverted. The problem is that during the file save (done outside AWT-thread), the
source code is being regenrated and therefore it asks EditorSupport for getLineSet and therefore a multiview is switched
to the source editor which is disallowed outside of AWT-thread and therefore an exception appears.
Comment 10 David Kaspar 2007-09-14 16:07:18 UTC
Fixed in main trunk.
Comment 11 Lukas Hasik 2007-09-25 15:27:49 UTC
verified in 20070923 dev build