1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved Client.viewportWidth

Discussion in 'Developer Support' started by Gosthunter02, May 23, 2016.

  1. Gosthunter02

    Joined:
    Jan 18, 2016
    Messages:
    12
    Likes Received:
    1
    Runemate version 2.1.8

    Code (Text):
    1. [SDK Debug] Unable to resolve the class component of Client.viewportWidth
    2. [SDK Debug] Unable to resolve the field component of Client.viewportWidth
    3. java.rmi.RemoteException: Unable to reflect Client.viewportWidth; nested exception is:
    4.     java.lang.ClassNotFoundException: Client
    5.     at aux.IiIiIIIiIi.long(mc:758)
    6.     at aux.IiIiIIIiIi.long(mc:428)
    7.     at aux.IiIiIIIiIi.int32(mc:907)
    8.     at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
    9.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    10.     at java.lang.reflect.Method.invoke(Method.java:601)
    11.     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    12.     at sun.rmi.transport.Transport$1.run(Transport.java:177)
    13.     at sun.rmi.transport.Transport$1.run(Transport.java:174)
    14.     at java.security.AccessController.doPrivileged(Native Method)
    15.     at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    16.     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
    17.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    18.     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    19.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    20.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    21.     at java.lang.Thread.run(Thread.java:722)
    22. Caused by: java.lang.ClassNotFoundException: Client
    23.     at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    24.     at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    25.     at java.security.AccessController.doPrivileged(Native Method)
    26.     at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    27.     at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    28.     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    29.     at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    30.     at app.u.loadClass(u.java:79)
    31.     at java.lang.ClassLoader.findSystemClass(ClassLoader.java:1050)
    32.     at b.a(b.java:20)
    33.     at h.a(h.java:31)
    34.     at b.findClass(b.java:31)
    35.     at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    36.     at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    37.     at java.lang.Class.forName0(Native Method)
    38.     at java.lang.Class.forName(Class.java:264)
    39.     at aux.IiIiIIIiIi.long(mc:897)
    40.     at aux.IiIiIIIiIi.long(mc:704)
    41.     ... 16 more
    Not quite sure what is the cause of this, any help would be appreciated.

     
  2. Best Answer:
    Post #3 by awesome123man, Aug 3, 2016
  3. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
  4. awesome123man

    awesome123man Go check out new bots and give helpful feedback.

    Joined:
    Jan 31, 2016
    Messages:
    5,413
    Likes Received:
    1,662
    The reason this happens is you are doing something that is only for osrs in rs3 or vice versa. Thanks Cloud
     
    #3 awesome123man, Aug 3, 2016
    Last edited: Aug 3, 2016
  5. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    It would be helpful to know which method this occurred on though since typically we throw a custom exception for this situation, but occasionally the check is forgotten.
     
  6. awesome123man

    awesome123man Go check out new bots and give helpful feedback.

    Joined:
    Jan 31, 2016
    Messages:
    5,413
    Likes Received:
    1,662
    It was OSRSTab that caused this exception when run on rs3 for me.
     

Share This Page

Loading...