JDev9.0.3.1038: Two problems...

Hi.
I resentlly upgraded JDev9.0.3 preview with JDev9.0.3 Production Release. Well, this is not quite true. I resentlly installed Oracle Developer Suite 9.0.2, replaced JDev9.0.2 with JDev9.0.3Preview and replaced again with JDev9.0.3 Production Release. Right off I discovered two problems:
Firstly (Minor problem): Deployment of projects to simple jars. The deployer does it's job nicelly, but gets this exception:
java.io.IOException: invalid header field
void java.util.jar.Attributes.read(java.util.jar.Manifest$FastInputStream, byte[])
Attributes.java:354
void java.util.jar.Manifest.read(java.io.InputStream)
Manifest.java:161
void oracle.jdevimpl.deploy.JarUtil.mergeManifest(java.net.URL)
JarUtil.java:282
void oracle.jdeveloper.deploy.jar.ArchiveOptions.applyOptionsTo(oracle.jdevimpl.deploy.JarUtil)
ArchiveOptions.java:146
oracle.jdevimpl.deploy.JarUtil oracle.jdevimpl.deploy.ProfileDeployer.createJarUtil(oracle.jdevimpl.deploy.DeployShell, oracle.jdeveloper.deploy.jar.JarPackaging)
ProfileDeployer.java:227
void oracle.jdevimpl.deploy.jar.ArchivePreviewer.deploy(oracle.jdevimpl.deploy.DeployShell)
ArchivePreviewer.java:50
oracle.jdevimpl.deploy.ArchivePreviewPacket oracle.jdevimpl.deploy.jar.ArchivePreviewer.getPreviewPacket(oracle.jdevimpl.deploy.DeployShell)
ArchivePreviewer.java:142
oracle.jdevimpl.deploy.JarUtil oracle.jdevimpl.deploy.jar.ArchiveDeployer.getJarUtil(oracle.jdevimpl.deploy.DeployShell)
ArchiveDeployer.java:88
void oracle.jdevimpl.deploy.jar.ArchiveDeployer.deploy(oracle.jdevimpl.deploy.DeployShell)
ArchiveDeployer.java:48
void oracle.jdevimpl.deploy.ModulePackager.deploy(oracle.jdevimpl.deploy.DeployShell)
ModulePackager.java:144
void oracle.jdevimpl.deploy.DynamicDeployer.deploy(oracle.jdevimpl.deploy.DeployShell)
DynamicDeployer.java:53
void oracle.jdevimpl.deploy.DynamicDeployer.deploy(oracle.jdevimpl.deploy.DeployShell)
DynamicDeployer.java:53
void oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(oracle.jdevimpl.deploy.DeployShell)
J2eeProfileDt.java:122
void oracle.jdevimpl.deploy.FinalDeployer.deploy(oracle.jdevimpl.deploy.DeployShell)
FinalDeployer.java:44
void oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl()
AsyncDeployer.java:63
void oracle.jdevimpl.deploy.AsyncDeployer$1.run()
AsyncDeployer.java:49
Second: My SCM Client jar (which worked somewhat nicelly +/-) will no longer run. It's a self developet scm client using your oracle.ide.scm API. And it's not just the client which will not run, JDev as a whole freezes during initialization. The red progress bar goes all the way up to the second to last dot, and then takes a vacation. The thread dump from JDevs console looks like this:
Full thread dump OJVM Client VM (9.0.3.738 o):
"AWT-EventQueue-0" prio: 6 state: waiting
void oracle.jbo.dt.ui.wizards.wiztemplate.dt.WizardDefNodeRecognizer.registerWithEditor()
WizardDefNodeRecognizer.java:68
void oracle.jbo.dt.ui.wizards.wiztemplate.dt.WizardDefNodeRecognizer.register()
WizardDefNodeRecognizer.java:60
void oracle.jbo.dt.ui.wizards.wiztemplate.dt.WizardDefNodeInitializer.run()
WizardDefNodeRecognizer.java:133
void java.awt.event.InvocationEvent.dispatch()
InvocationEvent.java:154
void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
EventQueue.java:337
boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
EventDispatchThread.java:131
void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
EventDispatchThread.java:98
void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
EventDispatchThread.java:93
void java.awt.EventDispatchThread.run()
EventDispatchThread.java:85
"AWT-Windows" prio: 6 state: runnable
void sun.awt.windows.WToolkit.eventLoop()
native code
void sun.awt.windows.WToolkit.run()
WToolkit.java:188
void java.lang.Thread.run()
Thread.java:484
"Screen Updater" prio: 5 state: waiting
void java.lang.Object.wait(long)
native code
void java.lang.Object.wait()
Object.java:420
sun.awt.ScreenUpdaterEntry sun.awt.ScreenUpdater.nextEntry()
ScreenUpdater.java:76
void sun.awt.ScreenUpdater.run()
ScreenUpdater.java:95
"Thread-1" prio: 5 state: waiting
void java.lang.Object.wait(long)
native code
void java.lang.Object.wait()
Object.java:420
void java.util.TimerThread.mainLoop()
Timer.java:406
void java.util.TimerThread.run()
Timer.java:385
"Thread-7" prio: 5 state: waiting
void java.lang.Thread.sleep(long)
native code
void oracle.ide.util.MonitorThread$1.run()
MonitorThread.java:118
"Version Operation Thread" prio: 5 state: waiting
void java.lang.Object.wait(long)
native code
void oracle.ideimpl.scm.impl.OperationThread.run()
OperationThread.java:171
"SunToolkit.PostEventQueue-0" prio: 6 state: waiting
void java.lang.Object.wait(long)
native code
void java.lang.Object.wait()
Object.java:420
void sun.awt.PostEventQueue.run()
SunToolkit.java:491
"Finalizer" prio: 8 state: waiting
void java.lang.Object.wait(long)
native code
java.lang.ref.Reference java.lang.ref.ReferenceQueue.remove(long)
ReferenceQueue.java:108
java.lang.ref.Reference java.lang.ref.ReferenceQueue.remove()
ReferenceQueue.java:123
void java.lang.ref.Finalizer$FinalizerThread.run()
Finalizer.java:162
"main" prio: 5 state: waiting
void java.lang.Object.wait(long)
native code
void java.lang.Object.wait()
Object.java:420
void java.awt.EventQueue.invokeAndWait(java.lang.Runnable)
EventQueue.java:547
void javax.swing.SwingUtilities.invokeAndWait(java.lang.Runnable)
SwingUtilities.java:1146
void oracle.ide.log.AbstractLogPage._addPage(oracle.ide.log.AbstractLogPage)
AbstractLogPage.java:241
void oracle.ide.log.AbstractLogPage.<init>(oracle.ide.layout.ViewId, javax.swing.Icon, boolean)
AbstractLogPage.java:64
void oracle.ide.log.MessagePage.<init>(oracle.ide.layout.ViewId, javax.swing.Icon, boolean)
MessagePage.java:121
void oracle.ide.log.MessagePage.<init>(oracle.ide.layout.ViewId, javax.swing.Icon)
MessagePage.java:102
void oracle.ide.log.MessagePage.<init>(oracle.ide.layout.ViewId)
MessagePage.java:93
void oracle.ide.log.MessagePage.<init>()
MessagePage.java:85
void novus.scm.vss.util.VSSSystem$1.<init>()
VSSSystem.java:27
void novus.scm.vss.util.VSSSystem.<clinit>()
VSSSystem.java:23
novus.scm.vss.VSSProperties novus.scm.vss.util.VSSRunner._$7760()
VSSRunner.java:74
void novus.scm.vss.util.VSSRunner.<init>()
VSSRunner.java:34
void novus.scm.vss.util.VSSManager.<init>()
VSSManager.java:99
void novus.scm.vss.VSSMultiFileOperation.<clinit>()
VSSMultiFileOperation.java:43
void novus.scm.vss.VSSClient.initialize()
VSSClient.java:70
boolean oracle.ide.AddinManager.initializeAddin(oracle.ide.AddinManager$AddinDep, boolean)
AddinManager.java:1064
void oracle.ide.AddinManager.initializeAddins(java.lang.String, boolean)
AddinManager.java:974
void oracle.ide.AddinManager.initProductAndUserAddins()
AddinManager.java:490
void oracle.ide.Ide.initProductAndUserAddins()
Ide.java:1014
void oracle.ide.Ide.startupImpl(oracle.ide.IdeArgs)
Ide.java:1657
void oracle.ide.Ide.startup(oracle.ide.IdeArgs)
Ide.java:1349
void oracle.ideimpl.IdeMain.main(java.lang.String[])
IdeMain.java:36
"Reference Handler" prio: 10 state: waiting
void java.lang.Object.wait(long)
native code
void java.lang.Object.wait()
Object.java:420
void java.lang.ref.Reference$ReferenceHandler.run()
Reference.java:110
"Signal Dispatcher" prio: 5 state: idle
Am I doing something wrong?
Please reply to : mailto:[email protected]

Hi,
For the first problem: can you post the manifest file you're including in your JAR file? It looks like something isn't groking it properly.I have two manifest files inside the jar since you switched from a properties file type in 9.0.2 to an xml style manifest file in 9.0.3. I've included them both below:
AddinCount: 1
Addin0: novus.scm.vss.VSSClient
and
<?xml version = '1.0' encoding = 'windows-1252'?>
<extensions>
<feature>
<group name="Visual SourceSafe">
<extension>
<addin>novus.scm.vss.VSSClient</addin>
<dependency_addin>oracle.ideimpl.scm.VersionManager</dependency_addin>
</extension>
</group>
</feature>
</extensions>
For the second problem: there's no obvious reason in the WizardDefNodeRecognizer.java code why it's waiting on the AWT event thread as indicated in the stack dump you provided: this is kind of weird. If you disable BC4J (via the tools->preferences->extension manager), does the problem go away, or does it freeze at another point during startup? I'm not sure how else to investigate this without the .jar file to test.This actually solves the problem. The plugin loads and runs like a charm.
Another suggestion, which might work around the problem at least, is to defer initializing your SCM client's log page to the prepareClient() method. In fact, we (the SCM team) recommend doing this anyway (this is what we do in CVS, Clearcase and Oracle SCM), since this will prevent your client doing unnecessary initialization until the user actually activates your SCM system.I will try this. You should add this information into the javadoc, so that other developers can follow the standard you've set.
Thanks,
Brian Duff ([email protected])
JDev Team (SCM) Thanx

Similar Messages

  • Two problems in BSBM benchmark of Oracle 10g with Jena Adaptor 2.0

    Hi, all.
    I'm proceeding BSBM benchmark for Oracle 10g with Jena Adaptor 2.0.
    I'm using the codes that were introduced in Jena Adaptor 2.0 guide document, and I've applied Jena patches to Oracle 10g (10.2.0).
    But, two problems are occured in benchmark process.
    The first problem is
         that 250k dataset(consisted of 250030 triples) loading time elapses over several hours, (See below code snippet.)
    and the other is
         that exceptions are occured in some sparql query execution.
    I used below queries which have no error in query syntax.
    I confirmed that through other benchmark tests.
    In case of oracle benchmark test, quey1 is ok. but, query2 makes exception.
    Please, look about the Exception message below.
    What should I do for getting much better benchmark result?
    I appreciate any help or any hint.
    Best regards ~
    ### Query 1 ###
    PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/>
    PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    SELECT DISTINCT ?product ?label
    WHERE {
    ?product rdfs:label ?label .
    ?product a <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/ProductType18> .
    ?product bsbm:productFeature <http://www4.wiwiss.fu-
    berlin.de/bizer/bsbm/v01/instances/ProductFeature833> .
    ?product bsbm:productFeature <http://www4.wiwiss.fu-
    berlin.de/bizer/bsbm/v01/instances/ProductFeature61> .
    ?product bsbm:productPropertyNumeric1 ?value1 .
         FILTER (?value1 > 136)
    ORDER BY ?label
    LIMIT 10
    ### Query 2 ###
    PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/>
    PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX dc: <http://purl.org/dc/elements/1.1/>
    SELECT ?label ?comment ?producer ?productFeature ?propertyTextual1 ?propertyTextual2 ?
    propertyTextual3
    ?propertyNumeric1 ?propertyNumeric2 ?propertyTextual4 ?propertyTextual5 ?propertyNumeric4
    WHERE {
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    rdfs:label ?label .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    rdfs:comment ?comment .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:producer ?p .
    ?p rdfs:label ?producer .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    dc:publisher ?p .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:productFeature ?f .
    ?f rdfs:label ?productFeature .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:productPropertyTextual1 ?propertyTextual1 .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:productPropertyTextual2 ?propertyTextual2 .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:productPropertyTextual3 ?propertyTextual3 .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:productPropertyNumeric1 ?propertyNumeric1 .
    <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
    bsbm:productPropertyNumeric2 ?propertyNumeric2 .
    OPTIONAL { <http://www4.wiwiss.fu-
    berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyTextual4 ?
    propertyTextual4 }
    OPTIONAL { <http://www4.wiwiss.fu-
    berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyTextual5 ?
    propertyTextual5 }
    OPTIONAL { <http://www4.wiwiss.fu-
    berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyNumeric4 ?
    propertyNumeric4 }
    ### Exception Message (in query 2 execution) ###
    Exception in thread "main" java.sql.SQLException: ORA-00936: missing expression
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe
    (T4CPreparedStatement.java:799)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1038)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe
    (T4CPreparedStatement.java:839)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1133)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal
    (OraclePreparedStatement.java:3285)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery
    (OraclePreparedStatement.java:3329)
    at oracle.spatial.rdf.client.jena.Oracle.executeQuery(Oracle.java:255)
    at oracle.spatial.rdf.client.jena.OracleSemQueryPlan.executeBindings
    (OracleSemQueryPlan.java:302)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH$StagePattern.<init>
    (QueryIterBlockTriplesQH.java:89)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH.nextStage
    (QueryIterBlockTriplesQH.java:55)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
    (QueryIterRepeatApply.java:92)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
    (QueryIterRepeatApply.java:54)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
    (QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
    (QueryIterRepeatApply.java:85)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
    (QueryIterRepeatApply.java:54)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
    (QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
    (QueryIterRepeatApply.java:85)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
    (QueryIterRepeatApply.java:54)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
    (QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
    (QueryIterRepeatApply.java:85)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
    (QueryIterRepeatApply.java:54)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
    (QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIterConvert.hasNextBinding
    (QueryIterConvert.java:47)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
    (QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding
    (QueryIteratorWrapper.java:29)
    at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
    (QueryIteratorBase.java:69)
    at com.hp.hpl.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:62)
    at benchmark.repository.oracle.OracleQuerying.getSelectQueryResult
    (OracleQuerying.java:148)
    at benchmark.repository.oracle.OracleQuerying.doSparqlQuery(OracleQuerying.java:101)
    at benchmark.repository.oracle.OracleQuerying.queryingData(OracleQuerying.java:90)
    at benchmark.repository.oracle.OracleQuerying.querying(OracleQuerying.java:49)
    at benchmark.repository.oracle.OracleQuerying.<init>(OracleQuerying.java:44)
    at benchmark.Benchmark.runTest(Benchmark.java:113)
    at benchmark.Benchmark.main(Benchmark.java:56)
    ### Loading Code Snippet ###
              String jdbcURL = "jdbc:oracle:thin:@" + Constants.HOST + ":1521:orcl";
              OracleDataSource ds = new OracleDataSource();
              ds.setURL(jdbcURL);
              ds.setUser(Constants.ORACLE_USER);
              ds.setPassword(Constants.ORACLE_PASSWORD);
              OracleConnection conn = (OracleConnection) ds.getConnection();
              oracle = new Oracle(conn);
              modelOracleSem = ModelOracleSem.createOracleSemModel(oracle, modelName);
              graphOracleSem = modelOracleSem.getGraph();
              graphOracleSem.createTables();
              graphOracleSem.clearRepository();
              for (int i = 0; i < fileList.length; i++) {
                   file = fileList;
                   if (file.isDirectory())
    continue;
                   inputFilePath = file.getAbsolutePath();
                   InputStream in = null;
                   try {
                        in = FileManager.get().open(inputFilePath);
                        if (in == null) {
                             throw new IllegalArgumentException("File: " + inputFilePath + " not found");
                        modelOracleSem.read(in, "", "N-TRIPLE");
                        modelOracleSem.commit();
                   } finally {
                        if (in != null)
                             in.close();

    Hi,
    The data loading was slow because incremental loading API was used. Please take a look at OracleBulkUpdateHandler. There is an addInBatch API that you can use.
    Now regarding queries, Jena Adaptor v2.0 was primarily designed for Oracle Database 11g Release 1.
    Recently, a new version of Jena Adaptor has been released and it's optimized for Oracle Database 11g
    Release 2.
    Is it possible to run your BSBM benchmark tests against Oracle Database 11g Release 2 using the latest
    Jena Adaptor (http://forums.oracle.com/forums/ann.jspa?annID=1179) ?
    Thanks,
    Zhe Wu

  • I am experiencing two problems with iTunes on my iPhone 5s.

    I am experiencing two problems with iTunes on my iPhone 5s.
    Issue 1: iTunes Match
    Some song playback is merging songs. I select “Song A” to be played and midway through the song it begins playing “Song B” however when I look at my phone it indicates that “Song A” is still playing even though the actual music is not “Song A”. I searched the Apple Support Community as well as the internet and this seems to be an ongoing issue back to 2012 that has not been resolved. All of the “fixes” that are provided do not work. For example, update/sync iTunes Match, delete the song from your iPhone and re-download from the cloud or delete the song from your iTunes including the iCloud and re-download. None of which worked. I even tried to complete erase the song from my computer hard drive and restarted my computer and then re-downloaded the song and it was still not working.
    Issue 2: iTunes Preview Track
    I am unable to preview any music on iTunes through the iTunes app on my phone. I have signed out of my user ID and restarted my phone and then logged back in and it did not fix the problem. My iTunes Match and iTunes radio are allowing me to play music. My software is up-to-date.

    Same problem here, Im running the latest version of iOS 7 on my iphone 5S (ipod 5S) bricked lol. It was working fine and then a mates baby grabbed my phone and dropped it (not very high) then it went off so i turned it on and BAM i got the grey backround with the apple logo on it so, I waited, Then it went to BSOD and got stuck in that loop, I then done a manual reset I was able to turn it off thats all. I tried restore in recovery mode with the latest itunes it come up with Unknown Error, error code (14) (something to do with unreconizable USB) tried many diffrent USB ports but sadly nothing, I then tried DFU mode with itunes still not working. Im really stuck on this one I need some assitance PLEASE! HELP!
    No aftermarket apps on iphone 5s
    Latest iOS 7 on iphone 5s
    Latest itunes 11.1.5.5
    Running Windows 7 (good comp)

  • Having TWO problems with my iPod mini.

    I've had my ipod mini for a year and a half. I only ever use it 2-3 times a week for 30 mins at a time at the gym, and sometimes in the car. Already I'm having two problems.
    Problem #1- Battery. I've noticed alot of other people on here seem to be having this problem aswell. I'll charge it fully and leave it in the charger over night. I disconnect it, Start playing it, and 1 or 2 songs later I get the message saying "battery low, please connect to power source" It just came OFF a power source. I have 2 different ways that I charge my ipod. I use the computer. And I have a clock radio that it sits in to play the ipod and charges it at the same time. It dosen't matter which I use.. I have the problem either way.
    Problem #2- When the battery actually is working(which is rare) sometimes the music sounds like it's under water. Basically, The music plays, but with very low bass. I usually either listen to it through my car adapter, or through my headphones and I get the same problem either way. This isn't all the time though.
    I've never dropped it, gotten it wet or left it in the sun. It's had no physical damage at all.
    Does anyone know what may me going on? I've followed the steps and tips from other posts on the battery issue but nothing has worked for me. The only thing I can think of (and probably the only thing anyone can recommend) is that I send it in to get it repaired. However, I refuse to do that. I don't think I should have to pay to repair apple's 1.5 year old products especially since I paid close to $300 for it in the first place. I also don't want to receive a refurbished one, I want MINE fixed or a brand new one(which I know won't happen).
    Any suggestions would be appreciated.

    1. Place 1 drop of rubbing alcohol on the home button.
    2. Press the button repeatedly with pencil eraser making sure to get liquid into area surrounding button.
    3. Dry off area with paper towel.
    4. Press home button until it works again.

  • Two problems with Snow Leopard

    I have two problems since I upgraded to Snow Leopard that I can't figure out how to fix. I have a Mac Mini hooked up to my TV and I from time to time remote into it and since upgrading I am getting an additional icon in my shares. If I click on it there are multiple copies of the drives on the mini. My time capsule does the same thing.
    A screen shot is here.... http://farm3.static.flickr.com/2705/4143158869180c412585o.jpg
    The second issue is when using spaces with keyboard short cuts the spaces icon that appears to show you which space you are moving into does not disappear after you have moved into the space. The only way I have been able to make it disappear is to select the space with the menu icon. When I do this it does disappear.
    Anyone have any ideas about these problems??
    d

    You need Lion and iCloud unfortunately; iCloud is not supported by Snow leopard.

  • Hello! I bought a minidisplay PORT to VGA adaptor and I had two problems.

    Today before my presentation I had two problems with the adaptor: first one, part of the mac`s screen was cropped and the second one, after restarting my mac, the initial screen (with the apple logo) was also cropped. And it is still this way.
    Could anyone help me ? I would be really appreciated.
    Regards, Guilherme.
    OBS: MacBook Pro Retina Mids 2012 15"

    Hi guilhermefg120,
    Welcome to the Support Communities!
    The articles below may be able to help you with this issue.
    Click on the links below to see more details and screenshots.
    OS X Mountain Lion: About the Display pane of System Preferences
    http://support.apple.com/kb/ht5369
    Apple Mini DisplayPort adapters: Frequently asked questions (FAQ)
    http://support.apple.com/kb/ht3382
    Cheers,
    Judy

  • Two problems with two different classes.

    im having two problems: i get nothing with the printConferences() method inside ReferenceBook class, the arraylist size is equal to zero. and my printSchoolsAndCopies() and schoolsAndCopiesToArray() methods which are inside TextBook class, give exceptions:
    Exception in thread "main" java.lang.ArrayStoreException at java.lang.System.arraycopy(Native Method) at java.util.ArrayList.toArray(ArrayList.java:304) at project3.TextBook.schoolsAndCopiesToArray(TextBook.java:64) at project3.TextBook.printSchoolsAndCopies(TextBook.java:74) at project3.BookTester.main(BookTester.java:27) Java Result: 1 BUILD SUCCESSFUL (total time: 0 seconds)
    all you need to read is TextBook and ReferenceBook class, but i added the tester and BookCatalog, which is an arraylist of books.
    here are my TextBook and ReferenceBook classes and the tester, there are two abstract classes Book and TechnicalBook, but i wont post them unless anybody needs them, i presume not.
    * TextBook.java
    * Created on April 19, 2007, 8:02 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package project3;
    import java.util.*;
    * @author Kevin
    public class TextBook extends TechnicalBook{
        private ArrayList <String> schools;
        private ArrayList <Integer> numberCopiesForSchool;
        private String [][] schoolsAndCopies;
        public static final String TEXTBOOK = "Textbook";
        /** Creates a new instance of TextBook */
        public TextBook(String author, String title, int numberPages, int copiesSold,
                double price) {
            super(author, title, numberPages, copiesSold, price);
            schools = new ArrayList();
            numberCopiesForSchool = new ArrayList();
        public int getNumberCopiesForSchool(String school){
            Integer temp = null;
            for(int i = 0; i < schools.size();i++){
                if(schools.get(i).equals(school))
                   temp = numberCopiesForSchool.get(i);
            return temp;
        public void addSchool(String school){
            Integer one = new Integer(1);
            schools.add(school);
            // number of copies for the school is initially 1
            numberCopiesForSchool.add(one);  
        public int getNumberSchools(){
            int count = 0;
            for(int i = 0; i < schools.size(); i++){
                if(schools.get(i) != null)
                    count++;
            return count;
        public void addCopiesForSchool(String school, int copies) {
              for (int i = 0; i < schools.size(); i++) {
                        if (schools.get(i).equals(school))
                   numberCopiesForSchool.set(i, numberCopiesForSchool.get(i)
                                + (Integer) copies);
        private void schoolsAndCopiesToArray(ArrayList <String> a, ArrayList <Integer> b){
            String [] c = null;
            String [] d = null;
            c = (String[]) a.toArray(new String[a.size()]);
            d = (String[]) b.toArray(new String[b.size()]);
            String [] [] schoolsAndCopies = null;
            for(int i = 0; i < c.length;i++){
                for(int j = 0; j < d.length;j++){
                    schoolsAndCopies[i] = c;
                    schoolsAndCopies[j] = d;
        public void printSchoolsAndCopies(String title){
            schoolsAndCopiesToArray(schools, numberCopiesForSchool);
            System.out.println("---------------");
            System.out.println("Schools and copies sold to each school for " + this.title+ ".");
            System.out.println("Schools:\tCopies:");
            for(int i = 0; i < schoolsAndCopies.length;i++)
                for(int j = 0; j < schoolsAndCopies.length;j++)
    System.out.println(schoolsAndCopies [i] + "\t" +
    schoolsAndCopies[j]);
    public String getClassName(){
    return TEXTBOOK;
    // overrides TechnicalBook toString
    public String toString(){
    return "Author = " + author + ". Title = " + title + ". Number of Pages = " +
    numberPages + ". Copies Sold = " + copiesSold + ". Schools using " + title +
    ". Price = " + this.getPrice() + " = " + this.getNumberSchools() + ". ";
    * ReferenceBook.java
    * Created on April 19, 2007, 8:02 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package project3;
    import java.util.*;
    * @author Kevin
    public class ReferenceBook extends TechnicalBook{
    private ArrayList <String> conferences;
    public static final String REFERENCE_BOOK = "Reference Book";
    //private int numberConferences;
    /** Creates a new instance of ReferenceBook */
    public ReferenceBook(String author, String title, int numberPages, int copiesSold,
    double price) {
    super(author, title, numberPages, copiesSold, price);
    conferences = new ArrayList();
    public String getConference(int a){
    for(int i = 0; i < conferences.size();i++)
    if(i == a)
    return conferences.get(i);
    return null;
    public void addConference(String conference){
    for(int i = 0; i < conferences.size();i++){
    conferences.add(conference);
    break;
    public void printConferences(){
    System.out.println("-------------");
    System.out.println("Conferences made for " + this.title + ".");
    for(int i = 0; i < conferences.size(); i++){
    System.out.println("["+(i + 1) +"]: "+ conferences.get(i));
    System.out.println(conferences.size());
    public String getClassName(){
    return REFERENCE_BOOK;
    public String toString(){
    return super.toString();
    * BookTester.java
    * Created on April 19, 2007, 8:02 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package project3;
    * @author Kevin
    public class BookTester{
    /** Creates a new instance of BookTester */
    public static void main(String [] args){
    BookCatalog catalog = new BookCatalog("Library");
    TextBook java = new TextBook("John", "Java", 5, 20, 5.00);
    TextBook beans = new TextBook("Mike", "JavaBeans", 6, 21, 5.00);
    ReferenceBook ref = new ReferenceBook("Jones", "Standard Class Library", 6, 23, 5.00);
    ref.addConference("Meeting");
    ref.printConferences();
    beans.addSchool("UTSA");
    beans.printSchoolsAndCopies("c++");
    catalog.addBook(java);
    catalog.addBook(beans);
    catalog.printCatalog();
    my BookCatalog class is fine, and everything prints out with out using the listed methods that give trouble.
    * BookCatalog.java
    * Created on April 20, 2007, 4:42 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package project3;
    import java.util.*;
    * @author Kevin
    public class BookCatalog {
        private String name;
        private ArrayList <Book> bookList;
        /** Creates a new instance of BookCatalog */
        public BookCatalog(String name) {
            this.name = name;
            bookList = new ArrayList <Book>();
        public String getCatalogName(){
            return name;
        public void addBook(Book b){
            bookList.add(b);
        public void printCatalog(){
            for(int i = 0; i < bookList.size(); i ++){
                System.out.println("[" + i + "]: " + bookList.get(i).getClassName() +
                       ": " + bookList.get(i).toString());
    }thanks in advance

    everything runs now, but it doesnt sort them. it prints them in the original order: here is the revised BookCatalog and Tester, also when making sortByTitle static it gives non static variable errors so i have no idea. Thanks for helping me fix the errors, i have no idea why it doesnt sort.
    * BookCatalog.java
    * Created on April 20, 2007, 4:42 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package project3;
    import java.util.*;
    * @author Kevin
    public class BookCatalog {
        private String name;
        private ArrayList <Book> bookList;
        //private Book [] bookList2;
        /** Creates a new instance of BookCatalog */
        public BookCatalog(String name) {
            this.name = name;
            bookList = new ArrayList <Book>();
        public String getCatalogName(){
            return name;
        public void addBook(Book b){
            bookList.add(b);
            public void sortByTitle(ArrayList<Book> list){
          if (bookList.size() > 1)
            for (int index = 1; index < bookList.size(); index++)
               insertItemByTitle(bookList, index);
         private void insertItemByTitle(ArrayList <Book> bookList, int index) {
                Book key = bookList.get(index);
                int position = index;
                while (position > 0 && key.getTitle().compareTo(bookList.get(index).getTitle()) < 0)   {
                    bookList.set(position, bookList.get(position-1));// = bookList.set(position-1, key);
                   position--;
                bookList.set(position, key);
        public void printCatalog(){
            sortByTitle(bookList);
            Book [] bookList2 = (Book[])bookList.toArray(new Book[bookList.size()]);
            for(int i = 0; i < bookList2.length; i ++){
                System.out.println("[" + (i+1) + "]: " + bookList2.getClassName() +
    ": " + bookList2[i].toString());
    * BookTester.java
    * Created on April 19, 2007, 8:02 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package project3;
    * @author Kevin
    public class BookTester{
    /** Creates a new instance of BookTester */
    public static void main(String [] args){
    BookCatalog catalog = new BookCatalog("Library");
    TextBook java = new TextBook("John", "Java", 5, 20, 5.00);
    TextBook beans = new TextBook("Mike", "JavaBeans", 6, 21, 5.00);
    ReferenceBook ref = new ReferenceBook("Jones", "Standard Class Library", 6, 23, 5.00);
    ref.addConference("Meeting");
    ref.printConferences();
    beans.addSchool("UTSA");
    //beans.printSchoolsAndCopies("c++");
    catalog.addBook(ref);
    catalog.addBook(java);
    catalog.addBook(beans);
    catalog.printCatalog();

  • N80 v4.0707.0.7 two problems

    Hi,
    I have updated the firmware and afterwards I encountered two problems.
    1. I used the back-up to memory function and after install I restored it. The problem is every time I switch my phone on it says it cannot complete install, go to Tools>App.Mgr and reinstall the programs yourself. In there I can't find anything that I can install, everything is installed.
    2. After the firmware upgrade, I had another Menu Button called Internet. It contains the Internet Phone. After restarting the phone because of the memory restore, it dissappeared. So now I am back to my original menu system.
    Can somebody please explain...
    Thanks
    Ailean

    1. Could be you have uninstalled apps on the memory card.
    2. Look in the My Own folder for the Internet stuff

  • Two problems with PSE8 (trial version)

    I have two problems I'm experiencing in PSE8. I'm working in Windows PSE8.
    1. I keep going to the drop down menu under "Edit" to the Preset Manager--Brushes. I would like Large Thumbnails. I tell it "OK" but it never changes anything. Am I doing something wrong? It always worked in regular PS.
    2. I am totally confused. I am trying to install third-party actions in PSE 8. I found directions for installing in PSE 7, that mentions a folder called "Photo Creations" or "Photo Effects." I can't find any folders with those names. Is it because I have a trial version? Do I put the actions in Plug-Ins?
    Help! Thank you.

    HI,
    Can you please check if you are doing the same:
    Go to Edit > Preset manager... > Brushes. There is a small arrow along with More written on the top right corner above the preset bin.
    Click on it and select Large thumbnails.
    You dont need to press Ok for changing it to Large thumbnails but only select the option from that pop out menu.
    For the actions file, the location of those folders changes according to the OS you are using.  Please tell the OS to give you the correct path.
    Cheers
    Swarnima

  • Two Problems with IDE 3.6

    hi
    First, I cannot access images I do not include the absolute path, and I want to create an application that will be used on many machine that have different paths, isn't there any solution?
    Second, I installed the Morena library, compiling it with Net Beans indicates javatwain error.
    the previous two problems can be solved if I compile using the standard javac command.

    all the files are mounted inside a main folder, I'll
    try to mount the images folder alone, and the Morena
    SK folder alone and my application alone. I hope this
    will solve my problemIt should. To place files in the classpath, the containing directory must be mounted. (However, you mount a jar to place it in the classpath.)

  • Two problems!! with nano

    okay...so...i hav two problems w/ my nano and i need help fixing...
    i've searched through the topics to find similar problems...but i'm just lost...and i'm a stupid person
    1-->nano wont update the songs, like other topics say...it says that the ipod updated on the itunes, but none of the updated songs show up on the nano...and i don't hav any warning signals or wutever
    2-->wen i play my songs on the ipod, it skims through every song on the list literally...and none of the songs play...it literally goes through every song and i dunno...it's really weird to explain....i cudn't search any topics w/ this happening on the ipod so ya
    restarting (wutever u call it) my nano dusn't do anythin
    hope you guys can help me...thanks
      Windows XP  

    Thank you for helping me with my problems, but I still don't know why my iPod gives me this message, altough it is fully charged. And the flashing warning symbol drives me nuts
    Mhh I didn't find an image for that symbol... It's a red circle which is crossed. The manual says that there should now be a green symbol, or just the menu...??

  • Two Problems with Purchased Songs

    I've run into two problems recently. The first is that today my iPod stopped playing purchased music, the second is that my computer died so the only place I have my purchased music is on my computer.
    Will iPod's stop playing purchased music after a certain period of time, if they are not reconnected to the appropriate authorized computer?
    Also, in the case of a computer crashing, is there another way to recovered purchased music?

    I was able to get my music back from help from someone on the forum. THANK YOU
    I just need help with syncing phone to itunes.

  • Two problems with a grep solution?

    Hello!
    I have two problems that I need some help with. I've been searching around for solutions, but are unsure what approach that is the best:
    A: I need a new (or next) paragraph style after TWO hard line breaks. How do I do this? Do i search for two line breaks in GREP and replace it with a "end of paragraph"? Or do I need scripting for it?
    See the attached file for the actual layout solution. "1" is the current situation, and I want it to automaticly be "2".
    B: We have just implemented a new text editor/system and it lacks a feature: In the body text there is no styling/labeling for "paragraph title". In other words, the paragraph titles show up in Indesign as plain body text.
    This is a big source of error. So: Is there any way to search for sentences that lacks period (.) and change their styling? The paragraph titles are the onlye sentences without periods in the whole text.
    I'll be VERY happy it someone can point me in the right direction, or provide a solution.
    Regards,
    Magnus

    You are getting familiar with the lingo, Peter! You are correct: you can use a class in a negative lookbehind. This GREP
    (?<![.,!])$
    will find an end-of-paragraph where there is no period, comma, or exclamation before. But it has a few problems, though -- it doesn't "mark" anything as found, and InDesign does not like it. A solution is to find any character-which-is-not-punctuation:
    [^.,!]$
    If you are sure you want to skip all punctuation, you could try the built-in class name "punctuation":
    [^[:punct:]]$
    .. but I just saw a bit of an unexpected side effect: a hard return (which is "any code followed by the end of a paragraph", if one is applying the formula to the letter) also is "not punctuation" (again playing strictly by the rules). And you Can't Argue with the rules. So, alternative #1 would be to work around it with
    [^[:punct:]\r]$
    which is 'everything except punctuation OR a hard return'. Or let's forget all about that pesky punctuation-not-punctuation and search for a word character at the end of a paragraph:
    \w$

  • Two problems with the GSS's

    Here are two problems I am currently experiencing:
    - IP failover with no apparent outage at primary site
    - Unreliable GSS proximity
    Has anyone experienced any of these issues with a GSS?
    Please advise what you did to resolve the issue. Thank you so much.

    network proximity uses either a TCP SYN-ACK or an ICMP Echo to determine round-trip times. This is often a problem because most firewalls are stateful and will drop a TCP SYN/ACK as an out-fo-state packet. Often times, ICMP Echo requests are also dropped. The other problem is that any congestion within the network can lead to unpredictable RTTs.
    You can use the following commands to see the actual RTTs recorded in the PDB.
    show proximity database all
    assigned
    group
    inactive
    ip netmask
    no-rtt
    probed

  • Two problems with N95.

    Hi, Ive got two problems I need help with.
    Ive been using an N95 for almost a year until I recently lost it. So I called up my network provider and they sent me a new one (covered by my insurance) but for some reason the signal strength is very weak and even when Im in my own home, the phone struggles to make a call and disconnects when I do get through. My last N95 signal was perfect and never had this problem even in the same location.
    Also, my second problem is that when I turn the phone off or let the battery run out, when I turn it back on I have to re-enter the date & time.
    Is there a solution to these problems as I cant be doing with sending it away again as I need the phone for work.
    The only thing I did after opening the box was upgrade the firmware. Ive re-installed the firmware and it doesnt solve anything.

    It sounds like they have sent you a reconditioned model that hasn't been correctly repaired.
    You should take the issue up with the insurer.
    If for some reason they refuse to help then you should take it to a nokia care point for repair.
    Care points/service centres and repair info:
    UK • Europe • Asia-Pacific • USA •
    Canada • Middle East and Africa
    Elsewhere: Click here, select your country, go to the support section, then select repair.

Maybe you are looking for

  • Short Dump while checking Data in RSA7

    Hi My delta loads are failing with a dump in source system. I tried to check the delta Queue in source system ui got the same dump as i clicked on show data Dump Details Runtime Error          MESSAGE_TYPE_X Date and Time          18.01.2009 08:24:19

  • How do I change the default language for spell-checker please?

    I have seen the instructions below but cannot find the Personalization section? I currently have a US English spell-checker, I need a UK English one. Changing The Default Language Make sure you are on your homescreen. Tap on the Settings app to open

  • JSP dealing with run time error

    I tried a small program. When I launch http://server/ExceptionTest.jsp, it should hava exception occurs in test() method, but it still cannot go to error.jsp. any ideas? thanks!! ExceptionTest.jsp =================== <%@ page errorPage="error.jsp" %>

  • Language change in Finder

    Hello, I'm using a 13" MacBook Air Mid 2011 with an English OS X Yosemite. A few months ago the language of Finder randomly started to change. As you can see, it's not a full change, only partly. Relaunching Finder solves the problem, but about a few

  • I don't like ios 7 and i'd like to get ios6 again, what can i do?

    I have sound problem , when i 'Ve got iso 7, i'd like to get iso6 again. What can i do?