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 164641 - org.json.JSONException: A JSONArray text must start with '[' at character 1 of <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Summary: org.json.JSONException: A JSONArray text must start with '[' at character 1 o...
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Portalpack (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Satyaranjan D
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-06 21:41 UTC by gkbrown22
Modified: 2011-12-04 00:51 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 103902


Attachments
stacktrace (1.58 KB, text/plain)
2009-05-06 21:42 UTC, gkbrown22
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gkbrown22 2009-05-06 21:41:42 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Windows XP, 5.1, x86

User Comments:
GUEST: Attempting to view the available portlets on Liferay/WebSynergy.

GUEST: Doubleclick to roll out Portlets list of Websynergy server.

bharani: I get this error when using "Undeploy and deploy" option with Websybergy plugin

gkbrown22: Started up debug session on web app.

GUEST: viewing server portlets

paedagogus: Attempting to see a list of portlets in WebSynergy/Liferay 5.1.1 on the services tab.



Stacktrace: 
org.json.JSONException: A JSONArray text must start with '[' at character 1 of <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" xmlns="http://www.w3.org/1999/xhtml"><head>	<title>Welcome - Liferay</title><meta content="text/html; charset=UTF-8" http-equiv="content-type" /><link rel="Shortcut Icon" href="/html/themes/classic/images/liferay.ico" /><link href="/html/portal/css.jsp?browserId=other&themeId=classic&colorSchemeId=01&minifierType=css&t=1234573214000" rel="stylesheet" type="text/css" />	<link href="/html/portlet/login/css.jsp?browserId=other&themeId=classic&colorSchemeId=01&minifierType=css&t=1230928296000" rel="stylesheet" type="text/css" />	<script type="text/javascript">var Liferay={Browser:{acceptsGzip:function(){return false},getMajorVersion:function(){return 0},getRevision:function(){return""},getVersion:function(){return""},isAir:function(){return false},isChrome:function(){return false},isFirefox:function()
        at org.json.JSONTokener.syntaxError(JSONTokener.java:448)
        at org.json.JSONArray.<init>(JSONArray.java:107)
        at org.json.JSONArray.<init>(JSONArray.java:146)
        at org.netbeans.modules.portalpack.servers.websynergy.impl.LiferayTaskHandler.getPortlets(LiferayTaskHandler.java:621)
        at org.netbeans.modules.portalpack.servers.core.nodes.PortletChildrenNode$1.run(PortletChildrenNode.java:74)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
Comment 1 gkbrown22 2009-05-06 21:42:10 UTC
Created attachment 81692 [details]
stacktrace