[
https://issues.apache.org/jira/browse/JS2-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472538
]
David Sean Taylor commented on JS2-558:
---------------------------------------
Elvinn, I cannot see where there is an exception thrown for a Capabiility
failure.
I expected to find something like:
"We were unable to build a capability map for the agent, "+userAgent+
". This might be an indiciation that the
capability database has not been correctly initialized."
or
"CapabilityServiceImpl: UserAgentPattern not valid :"
But i see neither of these messages in the logs
I then wrote a unit test to check for SonyEricsson browser, and our regex found
it for the agent. The test passed:
userAgent = "SonyEricssonK800i/R1CB Browser/NetFront/3.3
Profile/MIDP-2.0 Configuration/CLDC-1.1";
System.out.println("Find pattern: " + userAgent);
cm = capabilities.getCapabilityMap(userAgent);
assertNotNull("getCapabilityMap is null", cm);
assertTrue("Ericsson", cm.getClient().getName().equals("sonyericsson"));
capabilityMapReport(cm);
So Im not sure if this error is caused by this particular agent
> Only "NULL" is shown in browser at what seems to be random intervals.
> ---------------------------------------------------------------------
>
> Key: JS2-558
> URL: https://issues.apache.org/jira/browse/JS2-558
> Project: Jetspeed 2
> Issue Type: Bug
> Affects Versions: 2.0-FINAL
> Environment: Apache/2.0.52 (CentOS) with Apache Tomcat 5.5.17 running
> in jdk1.5.0_03. Jetspeed 2.0 Final.
> Reporter: Eivinn Hustveit
> Assigned To: David Sean Taylor
> Priority: Blocker
> Attachments: Jetspeed_stacktrace.txt
>
>
> Everything works fine in the portal most of the time, but at random intervals
> "NULL" is the only text rendered by the browser. I have looked at the
> jetspeed.log and found out that it prints out a stacktrace which seems to
> come from the rendering of the layout portlet. I will try to upload this as
> an attachement.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]