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 112916 - Vista: BluePrints throws 'bpui' is undefined in IE7
Summary: Vista: BluePrints throws 'bpui' is undefined in IE7
Status: CLOSED WORKSFORME
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: Other All
: P2 blocker (vote)
Assignee: Matthew Bohm
URL:
Keywords: RELNOTE
: 112924 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-15 18:25 UTC by Lark Fitzgerald
Modified: 2007-09-25 21:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
page source (5.28 KB, text/plain)
2007-08-15 18:26 UTC, Lark Fitzgerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2007-08-15 18:25:25 UTC
Product Version: NetBeans 6 IDE Dev (Build 200708150000)
Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Woodstock 4.1: 200708141616
Ajax BluePrints: 0.1.2

Steps:
1. put any component (I chose autocomplete) onto designer & deploy
IE7 throws error (Firefox works):

Line: 39
Char: 1
Error: 'bpui' is undefined
Code: 0
URL: http://localhost:8080/blueprints3

I get another one for line 44.  After clicking through the component will render.  
Attaching page source

39 = bpui.autocomplete.messages["bindError"] = "An error occurred performing an asynchronous request";
44 = var form1_autoComplete1 = new bpui.autocomplete.Component(dojo.byId('form1:autoComplete1'), dojo.byId
('form1:autoComplete1_menu'), null, '/blueprints3/faces/dynamic/bpui_autocomplete_handler/completions', null, null);

both are enclosed in script tags
Comment 1 Lark Fitzgerald 2007-08-15 18:26:11 UTC
Created attachment 46685 [details]
page source
Comment 2 Lark Fitzgerald 2007-08-15 18:38:13 UTC
I take it back.  My new firefox did not have firebug installed.  AFter installing Firefox errors also:

bpui is not defined
[Break on this error] var form1_Fragment1_autoComplete1 = new bpui.autocomplete.Component(dojo.byId('f...
blueprints3 (line 56)
bpui is not defined
[Break on this error] bpui.autocomplete.messages["bindError"] = "An error occurred performing an async...
blueprints3 (line 51)
bpui is not defined
[Break on this error] var form1_autoComplete1 = new bpui.autocomplete.Component(dojo.byId('form1:autoC...
blueprints3 (line 43)
bpui is not defined
[Break on this error] bpui.autocomplete.messages["bindError"] = "An error occurred performing an async...
blueprints3 (line 38)
Comment 3 Matthew Bohm 2007-08-17 19:21:37 UTC
As with issue 112924: Doing a quick check, I could not reproduce this, either for IE7 or firefox. But I am not using the
latest product bits. I will get them and repeat the experiment. lfitzgerald, what appserver version are you on?
Comment 4 Lark Fitzgerald 2007-08-17 19:54:59 UTC
I'm using Glassfish build 58a.
Comment 5 Matthew Bohm 2007-08-17 20:51:54 UTC
With the latest netbeans bits (including the woodstock jars in the netbeans repository), I could not reproduce this. I
will try with the latest woodstock jars next.
Comment 6 Matthew Bohm 2007-08-18 01:54:04 UTC
With the latest woodstock jars on appserver build 57, I cannot reproduce this. I'll try build 58a next.
Comment 7 Matthew Bohm 2007-08-18 02:15:40 UTC
Even with build 58a, I cannot reproduce the problem. I have little choice at the moment but to mark this as working for me.
Comment 8 Lark Fitzgerald 2007-08-20 21:21:29 UTC
I can still reproduce this so there must be some other trigger.  Firefox says:
bpui is not defined
[Break on this error] var form1_autoComplete1 = new bpui.autocomplete.Component(dojo.byId('form1:autoC...
wood3 (line 43)

Is there anything else I can provide?
Comment 9 Lark Fitzgerald 2007-08-23 22:42:12 UTC
Can't reproduce (with matt vnc'd in).  Will play with some more and either close or re-activate.
Comment 10 Lark Fitzgerald 2007-09-05 20:17:43 UTC
We now know this to be jdk 1.6 specific.
Comment 11 Lark Fitzgerald 2007-09-20 14:53:04 UTC
There is more to this.  This issue appears to be MS Vista specific.  The script.js file containing bpui does not get 
extracted into the deployed application.  Actually, as matt and I discovered, none of the .js files get extracted, but 
they exist in the complib.  The .css files do get extracted.
Comment 12 Lark Fitzgerald 2007-09-20 16:03:10 UTC
This is even more specific.  It works on a different vista machine.  On the machine that works.  glassfish is deployed 
to the Program Files/glassfish-v2-b58g/domains/domain1/generated/jsp/j2ee-modules/bp directory.  On my machine 
glassfish is deployed to C:\Users\Lark\AppData\Local\VirtualStore\Program Files\glassfish-v2-b58g\domains\domain1
\generated\jsp\j2ee-modules

Both machines are Windows Vista Enterprise. Something about the user setup must be different.  The start menu's look 
different between the machines.  My machine has more options. 
Comment 14 Lark Fitzgerald 2007-09-20 16:36:39 UTC
Turning off UAF has fixed the problem.  Adding RELNOTE keyword.
Comment 15 Lark Fitzgerald 2007-09-20 16:37:12 UTC
*** Issue 112924 has been marked as a duplicate of this issue. ***
Comment 16 Lark Fitzgerald 2007-09-25 21:08:53 UTC
closing.