cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NullPointerException - Portal Runtime Error / in URL iView

Former Member
0 Kudos

Hello,

I`m using NW 7.0 Portal with SP21 on Windows with MSSQL.

Now there is a runtime error in the portal when I trying to open an URL-iView

Original Message

##################################################################

Portal-Laufzeitfehler

Ausnahme bei der Verarbeitung des Requests; senden Sie die ID der Ausnahme an Ihren Portaladministrator

Ausnahme-ID 04:37_30/11/11_0009_13719150

Weitere Details zu dieser Ausnahme finden Sie in der entsprechenden Protokolldatei

##################################################################

Translatet

##################################################################

Portal Runtimeerror

An exception occurred while processing a request for ; send the ID to your Admin.

Exception ID 04:37_30/11/11_0009_13719150

etc.

##################################################################

the devtrace shows:

1.5 #001E0BC32840041B00000002000021B40004B2F55F5BF86C#1322666843343#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Administrator#2097##n/a##98d4b8701b6711e1819e001e0bc32840#Thread[PRT-Async 6,5,PRT-Async]##0#0#Error#1#/System/Server#Java###Exception ID:04:27_30/11/11_0008_13719150

[EXCEPTION]

#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component Component : pcd:com.sap.portal.system/temporaryobjects3/6000e998b99a4ebb2ee66733f5165a20/com.realtech.IT_Blog Component class : com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView User : Administrator at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388) at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.NullPointerException at com.sap.portal.httpconnectivity.urlfetcherservice.URLFetcherProperties.initUserCredentials(URLFetcherProperties.java:1186) at com.sap.portal.httpconnectivity.urlfetcherservice.URLFetcherProperties.initFromDataHandler(URLFetcherProperties.java:180) at com.sap.portal.httpconnectivity.urlfetcherservice.URLFetcherProperties.<init>(URLFetcherProperties.java:157) at com.sap.portal.httpconnectivity.urlfetcherservice.URLFetcherService.initURLFetcherProperties(URLFetcherService.java:131) at com.sap.portal.httpconnectivity.transformationservice.xmlsource.HTTPStreamSource.<init>(HTTPStreamSource.java:241) at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.getXmlSource(XMLTransformationIView.java:202) at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.doContent(XMLTransformationIView.java:83) at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) ... 7 more # #1.5 #001E0BC32840041B00000004000021B40004B2F55F5C109D#1322666843343#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#Administrator#2097##n/a##98d4b8701b6711e1819e001e0bc32840#Thread[PRT-Async 6,5,PRT-Async]##0#0#Error##Java###04:27_30/11/11_0008_13719150 [EXCEPTION] #1#java.lang.NullPointerException

at com.sap.portal.httpconnectivity.urlfetcherservice.URLFetcherProperties.initUserCredentials(URLFetcherProperties.java:1186)

at com.sap.portal.httpconnectivity.urlfetcherservice.URLFetcherProperties.initFromDataHandler(URLFetcherProperties.java:180)

at com.sap.portal.httpconnectivity.urlfetcherservice.URLFetcherProperties.<init>(URLFetcherProperties.java:157)

at com.sap.portal.httpconnectivity.urlfetcherservice.URLFetcherService.initURLFetcherProperties(URLFetcherService.java:131)

at com.sap.portal.httpconnectivity.transformationservice.xmlsource.HTTPStreamSource.<init>(HTTPStreamSource.java:241)

at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.getXmlSource(XMLTransformationIView.java:202)

at com.sap.portal.httpconnectivity.xmltransformationiview.runtime.XMLTransformationIView.doContent(XMLTransformationIView.java:83)

at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)

at java.security.AccessController.doPrivileged(Native Method)

at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)

at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)

at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)

at java.lang.Thread.run(Thread.java:534)

#

####################################################################################################

Does anybody has any tips or a solution to solve the error ?

Best regards

Alex

Accepted Solutions (1)

Accepted Solutions (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Alexander,

On the one hand, you have configured the iView in a way that it tries to refer to a system (for example by referring to Mapped User / Mapped Password). On the other hand, you have not entered a system in the URL iView config. Therefore, when trying to determine the user credentials for the system - where system is not set and therefore "null", you run into this NPE.

Also see http://help.sap.com/saphelp_nw70/helpdata/en/4a/0158d3cc8045d9814946316e8a8a31/frameset.htm and around.

Hope it helps

Detlev

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

problem solved.

by resave the URL-iView, it works.

I guess by a corrupt database entry and than refreshing by saving the config, the corrput entry was overwritten and than

it works.

Best regards

Alex