package install rank and NumberFormatException

8 views
Skip to first unread message

Charles Scott

unread,
Mar 18, 2010, 1:22:05 PM3/18/10
to contr...@googlegroups.com

I think I have a potential issue with install ranking for packages.   

I have some legacy objects that are being transformed from alphanumeric values to numeric values.  However, there are packages still with a rank like:

150RT20.3SSOA

That is causing such error it appears.....  I had a Get-Process-View (separate e-mail thread) issue today that I nave not confirmed being related....

Are there limitations in what we should be putting in -vs- what we are allowed (by the workbench "goalie")?


        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
java.lang.NumberFormatException: For input string: "150RT20.3SSOA"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:456)
        at java.lang.Integer.valueOf(Integer.java:553)
        at com.controltier.model.gen.ModelGeneratorImpl$sortingComparator.compare(ModelGeneratorImpl.java:785)
        at java.util.TreeMap.compare(TreeMap.java:1093)
        at java.util.TreeMap.put(TreeMap.java:465)
        at java.util.TreeSet.add(TreeSet.java:210)
        at com.controltier.model.gen.ModelGeneratorImpl.filterMatchingInstances(ModelGeneratorImpl.java:657)
        at com.controltier.model.gen.ModelGeneratorImpl.visitDispatchTask(ModelGeneratorImpl.java:248)
        at com.controltier.model.gen.ModelGeneratorImpl.visitCommand(ModelGeneratorImpl.java:150)
        at com.controltier.model.gen.ModelGeneratorImpl.visitWorkflowTask(ModelGeneratorImpl.java:689)
        at com.controltier.model.gen.ModelGeneratorImpl.visitCommand(ModelGeneratorImpl.java:146)
        at com.controltier.model.gen.ModelGeneratorImpl.visit(ModelGeneratorImpl.java:117)
        at com.controltier.model.gen.ModelGeneratorImpl.generate(ModelGeneratorImpl.java:80)
        at com.networkgps.itnav.instances.Access.generateProcessModelSet(Access.java:2588)
        at com.networkgps.itnav.instances.GenerateProcessModel.go(GenerateProcessModel.java:69)


Install Rank:150RT20.3SSOA

Greg Schueler

unread,
Mar 18, 2010, 1:27:31 PM3/18/10
to contr...@googlegroups.com
AFAIK install-rank/startup-rank has always been expected to be an integer value

--
You received this message because you are subscribed to the Google Groups "ControlTier" group.
To post to this group, send email to contr...@googlegroups.com
To unsubscribe from this group, send email to controltier...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/controltier?hl=en
http://wiki.controltier.org

Charles Scott

unread,
Mar 18, 2010, 1:32:03 PM3/18/10
to contr...@googlegroups.com
I have correlated the following:

packages with installrank causing a NumberFormatException lead to a Get-Process-View error

cmd : ctl-depot -p dnbgpTrunk -a install
"Install" command running for object: ssoSmiseApache[DnbgpReleaseTrain]
"Install" command running for object: na2SmiseApache[DnbgpReleaseTrain]
"Install" command running for object: eu1Smise[DnbgpV3ApacheServer]
"Install" command running for object: gpdevweb01.dnbgp.dnb.com[Node]
"Install" command running for object: na2Smise[DnbgpV3ApacheServer]
"Install" command running for object: eu1SmiseApache[DnbgpReleaseTrain]
"Install" command running for object: ssoSmise[DnbgpV3ApacheServer]
com.controltier.ctl.cli.ctldeploy.DeployException: failed executing command: The following error occurred while executing this line:
/dnbusr1/dnbiadm/ctier/ctl/depots/dnbgpTrunk/modules/Deployment/commands/Get-Process-View.xml:21: Error retrieving file: unexpected content type: text/html;ISO-8859-1 charset=ISO-8859-1
error: Remote command failed with exit status 1


This error from a NumberFormatException


        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
java.lang.NumberFormatException: For input string: "150RT20.3SSOA"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:456)
        at java.lang.Integer.valueOf(Integer.java:553)
        at com.controltier.model.gen.ModelGeneratorImpl$sortingComparator.compare(ModelGeneratorImpl.java:785)
        at java.util.TreeMap.compare(TreeMap.java:1093)
        at java.util.TreeMap.put(TreeMap.java:465)
        at java.util.TreeSet.add(TreeSet.java:210)
        at com.controltier.model.gen.ModelGeneratorImpl.filterMatchingInstances(ModelGeneratorImpl.java:657)
        at com.controltier.model.gen.ModelGeneratorImpl.visitDispatchTask(ModelGeneratorImpl.java:248)
        at com.controltier.model.gen.ModelGeneratorImpl.visitCommand(ModelGeneratorImpl.java:150)
        at com.controltier.model.gen.ModelGeneratorImpl.visitWorkflowTask(ModelGeneratorImpl.java:689)
        at com.controltier.model.gen.ModelGeneratorImpl.visitCommand(ModelGeneratorImpl.java:146)



That value is an installrank which I have tried to purge offending objects from the model....



Reply all
Reply to author
Forward
0 new messages