Foren
Current URL generates Exception
Safdar Khan, geändert vor 12 Jahren.
Current URL generates Exception
New Member Beiträge: 4 Beitrittsdatum: 08.08.11 Neueste Beiträge
Hello All,
I am a new user of Life ray .Was trying to do a sample application where i am getting the following stack trace.
I have defined all the js and the css in the liferay-portlet.xml.
But still I am getting the following error. I have also searched a Lot of Blogs but didnt get a proper response to the probelm
10:14:08,198 INFO [PortalImpl:3812] Current URL /web/guest/js/jquery.js generates exception: null
10:14:08,402 INFO [PortalImpl:3824]
10:14:08,480 INFO [PortalImpl:3812] Current URL /web/guest/js/jquery-ui.min.js generates exception: null
10:14:08,480 INFO [PortalImpl:3824]
10:14:08,542 INFO [PortalImpl:3812] Current URL /web/guest/js/highcharts.js generates exception: null
10:14:08,542 INFO [PortalImpl:3824]
10:14:08,589 INFO [PortalImpl:3812] Current URL /web/guest/js/waypoints.min.js generates exception: null
10:14:08,589 INFO [PortalImpl:3824]
10:14:08,683 INFO [PortalImpl:3812] Current URL /web/guest/js/i18n/grid.locale-en.js generates exception: null
10:14:08,683 INFO [PortalImpl:3824]
10:14:08,730 INFO [PortalImpl:3812] Current URL /web/guest/js/jquery.jqGrid.min.js generates exception: null
10:14:08,730 INFO [PortalImpl:3824]
10:14:08,792 INFO [PortalImpl:3812] Current URL /web/guest/js/common.js generates exception: null
10:14:08,792 INFO [PortalImpl:3824]
10:14:08,870 INFO [PortalImpl:3812] Current URL /web/guest/js/login.js generates exception: null
10:14:08,870 INFO [PortalImpl:3824]
10:14:08,933 INFO [PortalImpl:3812] Current URL /web/guest/images/introImage.jpg generates exception: null
10:14:08,933 INFO [PortalImpl:3824]
10:14:08,948 INFO [PortalImpl:3812] Current URL /web/guest/images/introImage2.jpg generates exception: null
I am a new user of Life ray .Was trying to do a sample application where i am getting the following stack trace.
I have defined all the js and the css in the liferay-portlet.xml.
But still I am getting the following error. I have also searched a Lot of Blogs but didnt get a proper response to the probelm
10:14:08,198 INFO [PortalImpl:3812] Current URL /web/guest/js/jquery.js generates exception: null
10:14:08,402 INFO [PortalImpl:3824]
10:14:08,480 INFO [PortalImpl:3812] Current URL /web/guest/js/jquery-ui.min.js generates exception: null
10:14:08,480 INFO [PortalImpl:3824]
10:14:08,542 INFO [PortalImpl:3812] Current URL /web/guest/js/highcharts.js generates exception: null
10:14:08,542 INFO [PortalImpl:3824]
10:14:08,589 INFO [PortalImpl:3812] Current URL /web/guest/js/waypoints.min.js generates exception: null
10:14:08,589 INFO [PortalImpl:3824]
10:14:08,683 INFO [PortalImpl:3812] Current URL /web/guest/js/i18n/grid.locale-en.js generates exception: null
10:14:08,683 INFO [PortalImpl:3824]
10:14:08,730 INFO [PortalImpl:3812] Current URL /web/guest/js/jquery.jqGrid.min.js generates exception: null
10:14:08,730 INFO [PortalImpl:3824]
10:14:08,792 INFO [PortalImpl:3812] Current URL /web/guest/js/common.js generates exception: null
10:14:08,792 INFO [PortalImpl:3824]
10:14:08,870 INFO [PortalImpl:3812] Current URL /web/guest/js/login.js generates exception: null
10:14:08,870 INFO [PortalImpl:3824]
10:14:08,933 INFO [PortalImpl:3812] Current URL /web/guest/images/introImage.jpg generates exception: null
10:14:08,933 INFO [PortalImpl:3824]
10:14:08,948 INFO [PortalImpl:3812] Current URL /web/guest/images/introImage2.jpg generates exception: null
Samir Gami, geändert vor 12 Jahren.
RE: Current URL generates Exception
Regular Member Beiträge: 162 Beitrittsdatum: 04.02.11 Neueste Beiträge
It seems, There is some mistake to specify the path in liferay-portlet.xml,
Can you give more detail on liferay-portlet.xml configuration, you did ,
It may help to specify the root cause.
Can you give more detail on liferay-portlet.xml configuration, you did ,
It may help to specify the root cause.
Safdar Khan, geändert vor 12 Jahren.
RE: Current URL generates Exception
New Member Beiträge: 4 Beitrittsdatum: 08.08.11 Neueste BeiträgeSamir Gami:
It seems, There is some mistake to specify the path in liferay-portlet.xml,
Can you give more detail on liferay-portlet.xml configuration, you did ,
It may help to specify the root cause.
Please find attached the liferay-portlet.xml file.
Anhänge:
Samir Gami, geändert vor 12 Jahren.
RE: Current URL generates Exception
Regular Member Beiträge: 162 Beitrittsdatum: 04.02.11 Neueste Beiträge
Thanks,
liferay-portlet.xml seems valid, Please make sure your CSS ans JS folder reside into the DOCROOT.
liferay-portlet.xml seems valid, Please make sure your CSS ans JS folder reside into the DOCROOT.
Anhänge:
Jitendra Rajput, geändert vor 12 Jahren.
RE: Current URL generates Exception
Liferay Master Beiträge: 875 Beitrittsdatum: 07.01.11 Neueste BeiträgeCurrent URL /web/guest/js/highcharts.js generates exception: null
Error indicates that its not able to find particular file at particular path....
If you are specifying path like this
"/js/main.js"
then your folder structure should be
docroot/js/main.js
Hope this helps...