java.lang.NullPointerException

Sonatype JIRA | Rich Seddon | 6 years ago
  1. 0

    Enabled codehaus snapshots index in latest pro snapshot (nexus-professional-webapp-1.9.2-20110509.172521-10-bundle.zip). Searched for "plugin". This fails with error 500. {code} 2011-05-10 09:28:49 INFO [pool-1-thread-1] - org.sonatype.nexus.feeds.DefaultFeedRecorder - Repairing repository index "Codehaus Snapshots" from path null and below. : Process started on Tue May 10 09:28:45 CDT 2011, finished successfully on Tue May 10 09:28:49 CDT 2011 2011-05-10 09:29:07 WARN [qtp-988725015-6] - org.sonatype.nexus.rest.artifact.ArtifactResolvePlexusResource - java.lang.NullPointerException at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1235) at java.text.DateFormat.parse(DateFormat.java:335) at org.sonatype.nexus.proxy.maven.DefaultMetadataManager.getTimestampForMdTsString(DefaultMetadataManager.java:307) at org.sonatype.nexus.proxy.maven.DefaultMetadataManager.resolveSnapshot(DefaultMetadataManager.java:277) at org.sonatype.nexus.proxy.maven.DefaultMetadataManager.resolveArtifact(DefaultMetadataManager.java:114) at org.sonatype.nexus.proxy.maven.ArtifactStoreHelper.resolveArtifact(ArtifactStoreHelper.java:326) at org.sonatype.nexus.rest.artifact.ArtifactResolvePlexusResource.get(ArtifactResolvePlexusResource.java:141) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:246) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:52) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) 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:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) 2011-05-10 09:29:07 ERROR [qtp-988725015-6] - org.sonatype.nexus.error.reporting.DefaultErrorReportingManager - Detected Error in Nexus org.restlet.resource.ResourceException: The server encountered an unexpected condition which prevented it from fulfilling the request at org.sonatype.nexus.rest.artifact.AbstractArtifactPlexusResource.handleException(AbstractArtifactPlexusResource.java:578) at org.sonatype.nexus.rest.artifact.ArtifactResolvePlexusResource.get(ArtifactResolvePlexusResource.java:203) at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:246) at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:52) at org.restlet.resource.Resource.getRepresentation(Resource.java:302) at org.restlet.resource.Resource.handleGet(Resource.java:464) at org.restlet.Finder.handle(Finder.java:353) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:341) at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:504) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:673) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) 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:539) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) {code}

    Sonatype JIRA | 6 years ago | Rich Seddon
    java.lang.NullPointerException
  2. 0

    How do I prevent a NullPointerException in this code?

    Stack Overflow | 4 years ago | AceFire6
    java.lang.NullPointerException
  3. 0

    [Twitter4J] new "created_at" issue?

    Google Groups | 7 years ago | BenoitX
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RE: Deploying Contexts on Liferay 6.0 EE - Forums

    liferay.com | 4 months ago
    com.liferay.portal.kernel.deploy.auto.AutoDeployException: java.lang.NullPointerException
  6. 0

    Conversion of string to date

    Coderanch | 6 years ago | Deepti Gupta
    java.lang.NullPointerException
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at java.text.SimpleDateFormat.parse()
  2. Java RT
    DateFormat.parse
    1. java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1235)
    2. java.text.DateFormat.parse(DateFormat.java:335)
    2 frames
  3. ${project.groupId}:${project.artifactId}
    ArtifactStoreHelper.resolveArtifact
    1. org.sonatype.nexus.proxy.maven.DefaultMetadataManager.getTimestampForMdTsString(DefaultMetadataManager.java:307)
    2. org.sonatype.nexus.proxy.maven.DefaultMetadataManager.resolveSnapshot(DefaultMetadataManager.java:277)
    3. org.sonatype.nexus.proxy.maven.DefaultMetadataManager.resolveArtifact(DefaultMetadataManager.java:114)
    4. org.sonatype.nexus.proxy.maven.ArtifactStoreHelper.resolveArtifact(ArtifactStoreHelper.java:326)
    4 frames
  4. Nexus Core
    ArtifactResolvePlexusResource.get
    1. org.sonatype.nexus.rest.artifact.ArtifactResolvePlexusResource.get(ArtifactResolvePlexusResource.java:141)
    1 frame
  5. ${project.groupId}:${project.artifactId}
    RestletResource.represent
    1. org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:246)
    1 frame
  6. Nexus Core
    NexusRestletResource.represent
    1. org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:52)
    1 frame
  7. org.restlet.resource
    Resource.handleGet
    1. org.restlet.resource.Resource.getRepresentation(Resource.java:302)
    2. org.restlet.resource.Resource.handleGet(Resource.java:464)
    2 frames
  8. org.restlet
    Filter.doHandle
    1. org.restlet.Finder.handle(Finder.java:353)
    2. org.restlet.Filter.doHandle(Filter.java:150)
    3. org.restlet.Filter.handle(Filter.java:195)
    4. org.restlet.Router.handle(Router.java:504)
    5. org.restlet.Filter.doHandle(Filter.java:150)
    6. org.restlet.Filter.handle(Filter.java:195)
    7. org.restlet.Router.handle(Router.java:504)
    8. org.restlet.Filter.doHandle(Filter.java:150)
    9. org.restlet.Filter.handle(Filter.java:195)
    10. org.restlet.Filter.doHandle(Filter.java:150)
    10 frames
  9. ${project.groupId}:${project.artifactId}
    RetargetableRestlet.doHandle
    1. org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)
    1 frame
  10. org.restlet
    Filter.doHandle
    1. org.restlet.Filter.handle(Filter.java:195)
    2. org.restlet.Filter.doHandle(Filter.java:150)
    3. org.restlet.Filter.handle(Filter.java:195)
    4. org.restlet.Filter.doHandle(Filter.java:150)
    5. org.restlet.Filter.handle(Filter.java:195)
    6. org.restlet.Filter.doHandle(Filter.java:150)
    6 frames
  11. com.noelios.restlet
    StatusFilter.doHandle
    1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
    1 frame
  12. org.restlet
    Filter.handle
    1. org.restlet.Filter.handle(Filter.java:195)
    2. org.restlet.Filter.doHandle(Filter.java:150)
    3. org.restlet.Filter.handle(Filter.java:195)
    3 frames
  13. com.noelios.restlet
    ApplicationHelper.handle
    1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
    2. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
    2 frames
  14. org.restlet
    Application.handle
    1. org.restlet.Application.handle(Application.java:341)
    1 frame
  15. org.restlet.ext
    WadlApplication.handle
    1. org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705)
    1 frame
  16. org.restlet
    Filter.handle
    1. org.restlet.Filter.doHandle(Filter.java:150)
    2. org.restlet.Filter.handle(Filter.java:195)
    3. org.restlet.Router.handle(Router.java:504)
    4. org.restlet.Filter.doHandle(Filter.java:150)
    5. org.restlet.Filter.handle(Filter.java:195)
    6. org.restlet.Router.handle(Router.java:504)
    7. org.restlet.Filter.doHandle(Filter.java:150)
    8. org.restlet.Filter.handle(Filter.java:195)
    8 frames
  17. com.noelios.restlet
    ChainHelper.handle
    1. com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
    1 frame
  18. org.restlet
    Server.handle
    1. org.restlet.Component.handle(Component.java:673)
    2. org.restlet.Server.handle(Server.java:331)
    2 frames
  19. com.noelios.restlet
    ServerServlet.service
    1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
    2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
    3. com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)
    3 frames
  20. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    1 frame
  21. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
    2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    2 frames
  22. Shiro
    OncePerRequestFilter.doFilter
    1. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
    2. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
    3. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
    4. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
    5. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
    6. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
    7. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
    8. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
    9. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
    10. org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359)
    11. org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275)
    12. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
    13. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
    14. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344)
    15. org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272)
    16. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
    16 frames
  23. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
    7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    8. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    9. org.mortbay.jetty.Server.handle(Server.java:326)
    10. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    11. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
    12. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
    13. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    14. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    15. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    15 frames
  24. Jetty Util
    QueuedThreadPool$PoolThread.run
    1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
    1 frame