It's all about the answers!

Ask a question

License Management Option throwing errors


Abhinav Ajmera (22113020) | asked Apr 28 '11, 6:51 a.m.
All sudden I have started getting below error when I click @ License management (7.2.0.2). My licenses are valid.

javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: Error getting property 'floatingLicenses' from bean of type pagecode.admin.repository.LicenseManagement: java.lang.NullPointerException
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:170)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:123)
at javax.faces.component.UIData.getValue(UIData.java:527)
at javax.faces.component.UIData.getDataModel(UIData.java:861)
at javax.faces.component.UIData.setRowIndex(UIData.java:379)
at com.ibm.faces.renderkit.html_extended.DataTableRenderer.encodeChildren(DataTableRenderer.java:961)
at com.ibm.faces.renderkit.DefaultAjaxRenderer.encodeChildren(DefaultAjaxRenderer.java:73)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:735)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:484)
at com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:143)
at com.ibm.faces.renderkit.DefaultAjaxRenderer.encodeChildren(DefaultAjaxRenderer.java:73)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:735)
at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:614)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:551)
at com.sun.faces.taglib.html_basic.PanelGroupTag.doEndTag(PanelGroupTag.java:128)
at com.ibm._jsp._licenseManagement._jspx_meth_h_panelGroup_25(_licenseManagement.java:5283)
at com.ibm._jsp._licenseManagement._jspService(_licenseManagement.java:480)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1152)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:525)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:325)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:257)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1152)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at com.ibm.ram.repository.web.security.RAMServletFilter.doFilter(RAMServletFilter.java:418)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ram.repository.web.filters.GZipFilter.doFilter(GZipFilter.java:42)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:525)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3548)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:818)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:126)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
Caused by: javax.faces.el.EvaluationException: Error getting property 'floatingLicenses' from bean of type pagecode.admin.repository.LicenseManagement: java.lang.NullPointerException
at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:90)
at com.ibm.faces.databind.SelectItemsPropResolver.getValue(SelectItemsPropResolver.java:41)
at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:249)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:140)
... 65 more
Caused by: java.lang.NullPointerException
at com.ibm.ram.license.LicenseManager.getFeatureUsages(LicenseManager.java:1101)
at com.ibm.ram.license.LicenseManager.getAvailableLicenses(LicenseManager.java:1077)
at pagecode.admin.repository.LicenseManagement$LicenseTableEntry.<init>(LicenseManagement.java:67)
at pagecode.admin.repository.LicenseManagement.getFloatingLicenses(LicenseManagement.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:80)
... 70 more

5 answers



permanent link
Rich Kulp (3.6k38) | answered Apr 28 '11, 12:06 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi,

There is a bug in 7.2.0.2 that if you did not have at least one of all
possible license kinds then it would throw an error. This has been fixed
in a testfix. The latest testfix for 7.2.0.2 is testfix9f. The defect
for this license bug is:

https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/32161

Rich

permanent link
Abhinav Ajmera (22113020) | answered Apr 28 '11, 9:44 p.m.
Thanks Rich.

Can you please tell me where I can find testfix9f? As the link you have mentioned just have issue description..

Also I have all the licenses in there:
Enterprise edition, EE Publisher (600), EE Collaboration (70). Also it was working perfectly fine (for over 4-6 months), all sudden one day it started throwing this error..


Hi,

There is a bug in 7.2.0.2 that if you did not have at least one of all
possible license kinds then it would throw an error. This has been fixed
in a testfix. The latest testfix for 7.2.0.2 is testfix9f. The defect
for this license bug is:

https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/32161

Rich

permanent link
Abhinav Ajmera (22113020) | answered Apr 28 '11, 9:45 p.m.
Thanks Rich.

Can you please tell me where I can find testfix9f? As the link you have mentioned just have issue description..

Also I have all the licenses in there:
Enterprise edition, EE Publisher (600), EE Collaboration (70),Rational License Server. Also it was working perfectly fine (for over 4-6 months), all sudden one day it started throwing this error..


Hi,

There is a bug in 7.2.0.2 that if you did not have at least one of all
possible license kinds then it would throw an error. This has been fixed
in a testfix. The latest testfix for 7.2.0.2 is testfix9f. The defect
for this license bug is:

https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/32161

Rich

permanent link
Abhinav Ajmera (22113020) | answered Apr 28 '11, 9:46 p.m.
Thanks Rich.

Can you please tell me where I can find testfix9f? As the link you have mentioned just have issue description..

Also I have all the licenses in there:
Enterprise edition, EE Publisher (600), EE Collaboration (70),Rational License Server. Also it was working perfectly fine (for over 4-6 months), all sudden one day it started throwing this error..


Hi,

There is a bug in 7.2.0.2 that if you did not have at least one of all
possible license kinds then it would throw an error. This has been fixed
in a testfix. The latest testfix for 7.2.0.2 is testfix9f. The defect
for this license bug is:

https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/32161

Rich

permanent link
Gili Mendel (1.8k56) | answered May 02 '11, 6:46 p.m.
JAZZ DEVELOPER
You can get it from IBM/Rational Service/Support Fix Portal.

You will need to contact Service.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.